On 12/17/2010 2:12 AM, Lanky Doodle wrote:
Thanks for all the replies.

The bit about combining zpools came from this command on the southbrain 
tutorial;

zpool create mail \
  mirror c6t600D0230006C1C4C0C50BE5BC9D49100d0 
c6t600D0230006B66680C50AB7821F0E900d0 \
  mirror c6t600D0230006B66680C50AB0187D75000d0 
c6t600D0230006C1C4C0C50BE27386C4900d0

I admit I was getting confused between zpools and vdevs, thinking in the above 
command that each mirror was a zpool and not a vdev.

Just so i'm correct, a normal command would like like

zpool create mypool raidz disk1 disk2 disk3 disk4 disk5

which would result in a zpool called my pool, which is made up of a 5 disk 
raidz vdev? This means that zpools don't actually 'contain' physical devices, 
which is what I originally thought.
You are correct that the above will have a single vdev of 5 disks.

Here's a shorthand note:

A zpool is made of 1 or more vdevs.

Each vdev can be a raidz, mirror, or single device (either a file or disk). So, you *can* have a zpool which has solely physical drives:

e.g.

zpool create tank disk1 disk2 disk3

will create a pool with 3 disks, with data being striped across the devices as desired.

--
Erik Trimble
Java System Support
Mailstop:  usca22-123
Phone:  x17195
Santa Clara, CA

_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to