views:

960

answers:

5

I am upgrading an OpenSolaris development workstation and recently purchased two 500GB SATA hard drives expecting to use the features of the motherboard to mirror the drives. OpenSolaris doesn't recognize the drives when configured to be mirrored through the BIOS but it sees them just fine otherwise. Can ZFS mirror an entire drive and will the mirror be bootable if the primary fails?

+1  A: 

The ZFS Boot Project FAQ seems to indicate that this is possible.

Michael Borgwardt
+3  A: 

I got lucky with a blog post that came through an RSS feed refering to a tutorial that lead to the right manual. The answer is "yes" but the setup isn't automatic. If I am interpreting this part of the documentation correctly you can create a mirror and add the ability to boot from the second drive. Then in grub each drive will show as a boot choice.

Ed.T
+1  A: 

You will need a fairly recent Solaris version (any from late 2007 - 2008 should do) for zfs booting from a mirror. I'm not sure about booting off raidz though. Check the documentation here.

Keltia
A: 

zfs boot is in Sol10u5 or so and since nv9x in opensolaris. Simply use the console install and select ZFS when asked. ;)

Lester Cheung
A: 

Have a look at

http://www.castro.aus.net/~maurice/opensolaris/zfsbootmirror.html