Hi All, I see from the zfs Best practices guide http://www.solarisinternals.com/wiki/index.php/ZFS_Best_Practices_Guide ZFS Root Pool Considerations * A root pool must be created with disk slices rather than whole disks. Allocate the entire disk capacity for the root pool to slice 0, for example, rather than partition the disk that is used for booting for many different uses. What issues are there if one would like to uses other slices on the same disk for data. Is this even supported in Solaris 10/08? -- This message posted from opensolaris.org
Ian Collins
2008-Dec-18 19:57 UTC
[zfs-discuss] zfs boot Solaris 10/08 whole disk or slice
Shawn joy wrote:> Hi All, > > I see from the zfs Best practices guide > > http://www.solarisinternals.com/wiki/index.php/ZFS_Best_Practices_Guide > > ZFS Root Pool Considerations > > * A root pool must be created with disk slices rather than whole disks. Allocate the entire disk capacity for the root pool to slice 0, for example, rather than partition the disk that is used for booting for many different uses. > > What issues are there if one would like to uses other slices on the same disk for data. Is this even supported in Solaris 10/08? >There shouldn''t be any issues. -- Ian.
Phillip Wagstrom -- Area SSE
2008-Dec-18 20:05 UTC
[zfs-discuss] zfs boot Solaris 10/08 whole disk or slice
Shawn joy wrote:> Hi All, > > I see from the zfs Best practices guide > > http://www.solarisinternals.com/wiki/index.php/ZFS_Best_Practices_Guide > > > ZFS Root Pool Considerations > > * A root pool must be created with disk slices rather than whole > disks. Allocate the entire disk capacity for the root pool to slice > 0, for example, rather than partition the disk that is used for > booting for many different uses.Yuck. That''s confusing. Basically, it boils down to this. You must have a SMI label on the disk and tell zfs to use a slice (aka. c0t0d0s0) as opposed to the whole disk (aka c0t0d0) to install too. You would typically want to have slice 0 span the whole drive if you wanted to use its entire capacity.> What issues are there if one would like to uses other slices on the > same disk for data. Is this even supported in Solaris 10/08?You could use the other slices for UFS, swap, or other ZFS pools without a problem. Been there, done that, and it is supported as far as I know even though it is typically not done since its easier and more manageable to create additional zfs volumes and datasets within the existing pool rather than deal with slices. -Phil
On 12/18/08 12:57, Ian Collins wrote:> Shawn joy wrote: > >> Hi All, >> >> I see from the zfs Best practices guide >> >> http://www.solarisinternals.com/wiki/index.php/ZFS_Best_Practices_Guide >> >> ZFS Root Pool Considerations >> >> * A root pool must be created with disk slices rather than whole disks. Allocate the entire disk capacity for the root pool to slice 0, for example, rather than partition the disk that is used for booting for many different uses. >> >> What issues are there if one would like to uses other slices on the same disk for data. Is this even supported in Solaris 10/08? >> >> > There shouldn''t be any issues. > >Correct. You can use other slices on the disk for other pools or file systems of other types. Lori -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20081218/f14d60d0/attachment.html>
If one chooses to do this what happens if you have a disk failure.>From the ZFS Best practices guide.The recovery process of replacing a failed disk is more complex when disks contain both ZFS and UFS file systems on slices. Shawn -- This message posted from opensolaris.org