Chris Ridd wrote: > On 26 Nov 2008, at 13:12, 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,..) >> > > Yep. > > >> I've never seen a ZFS system on seperate slices. Slices are things >> from >> the past ;-) >> > > Maybe this is just a hangover from my original 2008.05 install? > > >>> 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). >> > > Nod, I had to use format -e to force an SMI label. > > >>> 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? >>> >> ALL parts are created within the one rpool. >> > > Hm, so it might be better to do a new install onto the new disk with > whatever slices the installer wants to set up, and then migrate the > filesystems across from the old rpool. > > So where does installgrub put the boot bits? > To clear up some confusion..
This is from a default indiana install format -e verify.. Part Tag Flag Cylinders Size Blocks 0 root wm 262 - 19453 147.02GB (19192/0/0) 308319480 1 swap wu 1 - 261 2.00GB (261/0/0) 4192965 So clearly root is on 0 and swap is on 1.. You *can not* install zfs to a whole disk and expect it to boot.. As for installing grub so it's correct.. Choice 1) Best choice imho /zfsroot/boot/solaris/bin/update_grub -R /zfsroot Choice 2) (risky) installgrub /boot/grub/stage1 /boot/grub/stage2 /dev/rdsk/c4t0d0s0 If you're doing any sort of install by hand I have extensive notes on this I'm willing to share if you pm me. There's a number of bugs you can easily hit/avoid as well. So be careful with have the root slice start at 1 for example. Good luck ./C _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss