Difference between revisions of "Zpool create"

From wikieduonline
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
* Create a new pool: <code>sudo [[zpool create]] DATA /dev/sdbbbbbbb11</code>
+
* Create a new pool:
 +
:<code>sudo [[zpool create]] DATA /dev/sdbbbbbbb11</code>
 +
:<code>zpool create TEST /dev/loop7</code>
 
* Create a new stripped pool: <code>sudo zpool create MY-NEW-STRIPPED-POOL /dev/sdb /dev/sdc</code>
 
* Create a new stripped pool: <code>sudo zpool create MY-NEW-STRIPPED-POOL /dev/sdb /dev/sdc</code>
 
* Create a new mirrored pool: <code>sudo zpool create MY-NEW-MIRROR-POOL mirror /dev/sdb /dev/sdc</code>
 
* Create a new mirrored pool: <code>sudo zpool create MY-NEW-MIRROR-POOL mirror /dev/sdb /dev/sdc</code>
  
  
<pre>
 
zpool create INT_RAID /dev/sdtt
 
invalid vdev specification
 
use '-f' to override the following errors:
 
/dev/sdtt contains a filesystem of type 'LVM2_member'
 
</pre>
 
  
  
<pre>
+
zpool create INT_RAID /dev/sdtt
zpool create INT_RAID /dev/sdtt
+
invalid vdev specification
</pre>
+
use '-f' to override the following errors:
  No output, execute <code>[[zpool list]]</code> to show your new pool
+
/dev/sdtt contains a filesystem of type 'LVM2_member'
 +
 +
 
 +
zpool create INT_RAID /dev/sdtt
 +
  (No output). Execute <code>[[zpool list]]</code> to show your new pool
 +
 
 +
== Related commands ==
 +
* <code>[[zfs create]]</code>
  
  

Latest revision as of 10:16, 21 September 2020

  • Create a new pool:
sudo zpool create DATA /dev/sdbbbbbbb11
zpool create TEST /dev/loop7
  • Create a new stripped pool: sudo zpool create MY-NEW-STRIPPED-POOL /dev/sdb /dev/sdc
  • Create a new mirrored pool: sudo zpool create MY-NEW-MIRROR-POOL mirror /dev/sdb /dev/sdc



zpool create INT_RAID /dev/sdtt
invalid vdev specification
use '-f' to override the following errors:
/dev/sdtt contains a filesystem of type 'LVM2_member'

zpool create INT_RAID /dev/sdtt
(No output). Execute zpool list to show your new pool

Related commands[edit]


See also[edit]

Advertising: