On Mon, Feb 02, 2009 at 08:41:13PM -0800, Frank Cusack wrote: > On January 30, 2009 2:26:36 PM -0800 Marcus Reid <mar...@blazingdot.com> > wrote: > >I am investigating using ZFS as a possible replacement for SVM for > >root disk mirroring. > > I am doing the exact same thing. I just updated to U6 (138889-03) and > am using zfs root mirror to replace SVM. After learning the joys of > zfs root imagine my horror upon reading your message.
I thought I'd add a couple more observations while we're on the topic: - if a zpool has not been imported yet, such as while a system is booting, and you have replaced a disk with a different one, zfs gets confused and thinks that the mirror is corrupted and will refuse to import it at all. So, make sure that you have a running machine with an imported root zpool before you install your replacement. This appears to only be a problem for a replacement disk that has a valid label on it. If you dd zeroes over the label and reboot, you can import the pool with the mirror in it (degraded of course). I was able to do something insane and not recommended last night, upgrading an old remote machine over the network by breaking its old mirror, writing over a disk with a dd image of c0t0d0s2, rebooting on the new disk, and using failsafe mode to fix the disk (by doing the above mentioned zeroing the label of the other old disk before rebooting again and then importing.) So far I haven't run into any badness that I couldn't fix with ZFS root, so I'm pretty enthused about it. This is all SPARC here. Marcus _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss