Dick Davies wrote:
Need a bit of help salvaging a perfectly working ZFS
mirror that I've managed to render unbootable.

I've had a ZFS root (x86, mirored zpool, SXCR b46 ) working fine for months.

I very foolishly decided to mirror /grub using SVM
(so I could boot easily if a disk died). Shrank swap partitions
to make somewhere to keep the SVM database (2 copies on each
disk).

D'oh!
N.B. this isn't needed, per se, just make a copy of /grub and
the boot loader.

Rebooted and everything seemed ok. I booted with the
second disk unplugged and SVM didn't seem to come up.
ZFS showed the pool as degraded, as expected.

Unplugged the first disk, tried another boot.
Got as far as detecting the disks, then hangs.

So the question -
How do I get rid of SVM from a zfs root system?

The key change is in /etc/system where the rootfs is
specified as the metadevice rather than the real device.

N.B. if you only have 2 disks, then the test you performed
will not work for SVM.
 -- richard
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to