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. >> But what do I do with that swap slice? Should I ditch it and create >> an rpool/swap area? Do I still need a boot slice? Depending on where it is in the VTOC you maybe able to consolidate it into the pool. Only do this if it as at the END of the area used for the pool and DON't add it as a new vdev let format(1M) grow the slice. As for the boot slice you can't actually do anything about that and it is unique to x86 (SPARC doesn't have s8 and s9). -- Darren J Moffat _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss