Darren J Moffat wrote: > dick hoogendijk wrote: > >> On Wed, 26 Nov 2008 12:51:04 +0000 >> Chris Ridd <[EMAIL PROTECTED]> wrote: >> >> >>> I'm replacing the disk with my rpool with a mirrored pool, and >>> wondering how best to do that. >>> >>> The disk I'm replacing is partitioned with root on s0, swap on s1 >>> and boot on s8, which is what the original 2008.05 installer created >>> for me. >>> >> Are you sure about this? OS2008-05 uses the whole disk as a ZFS and >> within that rpool creates the seperate filesystems (swap/dump,..) >> >> > The original builds of OpenSolaris 2008.05 did NOT use the whole disk. > They created a separate swap slice in the Solaris VTOC in side the > SOLARIS2 fdisk partition and put the pool on the rest. That swap slice > was configured as swap and dump. > > >> I've never seen a ZFS system on seperate slices. Slices are things from >> the past ;-) >> > > Unfortunately not the case for ZFS pools that are to be booted from. > This is because we can't boot from an EFI labelled disk. Well maybe > MacOS X hardware could but general x86 systems are still legacy BIOS and > not EFI loaders. > > Even the current 2008.11 development builds still use a Solaris VTOC it > is just that they make the slice the full size of the SOLARIS2 fdisk > partition so it looks like it is using the whole disk. > > >>> to mirror the root. The -f is to stop zpool whining about s0 >>> overlapping s2. >>> >> If I use a disk for a root pool I create just one slice on it (s0). >> Nothing else. This is needed because booting of EFI labeled disks is >> not spuurted (yet). >> > > That is what the current 2008.11 dev builds do. > Ok. here's a trick question.. So to the best of my understanding zfs turns off write caching if it doesn't own the whole disk.. So what if s0 *is* the whole disk? Is write cache supposed to be turned on or off? (Haven't check this locally) Also is it more efficient/better performing to give swap a 2nd slice on the inner part of the disk or not care and just toss it on top of zfs?
./C _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss