Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 763
Ed.T Avatar asked Jan 26 '26 02:01

Ed.T


2 Answers

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.

like image 186
Ed.T Avatar answered Jan 28 '26 00:01

Ed.T


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

like image 36
Michael Borgwardt Avatar answered Jan 28 '26 02:01

Michael Borgwardt