Nik Masloff
2010-Mar-01 11:13 UTC
[zfs-discuss] zpool creation question - should i add slice number?
Hi, I`m creating zpool mirror with 2 hdd`s. Question - should I mention the slice number while creating the mirror? I`ve done it that way: bash-3.00# zpool create -f zones mirror c1t2d0 c1t3d0 Is that OK? AFAIK - according to solaris disk mapping, s0 - is a slice, s2 - is a whole disk slice... -- This message posted from opensolaris.org
Robert Milkowski
2010-Mar-01 12:15 UTC
[zfs-discuss] zpool creation question - should i add slice number?
On 01/03/2010 11:13, Nik Masloff wrote:> Hi, > > I`m creating zpool mirror with 2 hdd`s. Question - should I mention the slice number while creating the mirror? > > I`ve done it that way: > > bash-3.00# zpool create -f zones mirror c1t2d0 c1t3d0 > > Is that OK? >Yes, that''s ok. If you don''t specify a slice then zfs will put an EFI label with a S0 partition representing entire disk (but reserved area) and will also automatically enable write cache on disks. -- Robert Milkowski http://milek.blogspot.com
Richard Elling
2010-Mar-01 17:34 UTC
[zfs-discuss] zpool creation question - should i add slice number?
On Mar 1, 2010, at 3:13 AM, Nik Masloff wrote:> Hi, > > I`m creating zpool mirror with 2 hdd`s. Question - should I mention the slice number while creating the mirror?Absolutely, positively yes. Otherwise you won''t be able to boot from the mirror because booting is not currently working from EFI labeled disks. For more details, see the section on mirroring boot drives in the ZFS Admin Guide. -- richard ZFS storage and performance consulting at http://www.RichardElling.com ZFS training on deduplication, NexentaStor, and NAS performance http://nexenta-atlanta.eventbrite.com (March 16-18, 2010)