Difference between revisions of "Zfs create"

From wikieduonline
Jump to navigation Jump to search
 
(8 intermediate revisions by the same user not shown)
Line 2: Line 2:
  
 
Create a new filesystem:
 
Create a new filesystem:
* <code>[[zfs create]] DATA/datafs</code><ref>http://manpages.ubuntu.com/manpages/bionic/man8/zfs.8.html#subcommands</ref>
+
<code>[[zfs create]] YOUR_ZPOOL_NAME/your_datafs</code><ref>http://manpages.ubuntu.com/manpages/bionic/man8/zfs.8.html#subcommands</ref>
  
 +
<code>[[zfs create]] /YOUR_ZPOOL_NAME/datafs</code>
 +
<code>cannot create '/YOUR_ZPOOL_NAME/datafs': leading slash in name</code>
 +
 +
<code>[[zfs create]] YOUR_ZPOOL_NAME/your_datafs/your_fs2</code>
 +
cannot create 'INT_RAID/your_datafs/your_fs2': parent does not exist
  
 
== Related commands ==
 
== Related commands ==
* <code>[[zfs set]]</code>
+
* <code>[[zfs set]]</code>: <code>[[zfs set quota]]=50G pool/home/bob</code>
 
* <code>[[zfs list]]</code>
 
* <code>[[zfs list]]</code>
 +
* <code>[[zpool create]]</code>
 +
* <code>[[zfs mount]], [[zfs umount]]</code>
  
 
== See also ==
 
== See also ==

Latest revision as of 14:48, 22 September 2020


Create a new filesystem:

zfs create YOUR_ZPOOL_NAME/your_datafs[1]
zfs create /YOUR_ZPOOL_NAME/datafs
cannot create '/YOUR_ZPOOL_NAME/datafs': leading slash in name
zfs create YOUR_ZPOOL_NAME/your_datafs/your_fs2
cannot create 'INT_RAID/your_datafs/your_fs2': parent does not exist

Related commands[edit]

See also[edit]

  • http://manpages.ubuntu.com/manpages/bionic/man8/zfs.8.html#subcommands
  • Advertising: