Mirroring boot devices with Solaris jumpstart


A few years back I developed a script to mirror the primary boot device as part of the jumpstart process. I was amazed that jumpstart didn’t support automated mirroring, and was hopeful that Sun would eventually provide a solution to address this. Someone at Sun was obviously paying attention to the numerous RFEs that were filed, and as of Solaris 9 you can mirror your boot device by adding “mirror” and “metadb” statements to a client profile:

$ egrep '(filesys|metadb)' profile

filesys mirror:d0 c0t0d0s0 c0t1d0s0 free / logging
filesys mirror:d10 c0t0d0s1 c0t1d0s1 1024 swap
metadb c0t0d0s7 size 8192 count 3
metadb c0t1d0s7 size 8192 count 3

I haven’t found a way to use references to disk0 and disk1, but will report back when I do. This is cool!

This article was posted by Matty on 2006-03-21 23:18:00 -0400 -0400