Search code examples
filesystemsopensolariszfs

Can ZFS mirror an entire hard drive in OpenSolaris?


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?


Solution

  • I got lucky with a blog post that came through an RSS feed referring 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.