Help Mirroring Boot drive

How do I mirror the boot drive, which I believe is /dev/dsk/c1t0d0s0.

Filesystem             size   used  avail capacity  Mounted on
/dev/dsk/c1t0d0s0       16G   457M    15G     3%    /
/devices                 0K     0K     0K     0%    /devices
ctfs                     0K     0K     0K     0%    /system/contract
proc                     0K     0K     0K     0%    /proc
mnttab                   0K     0K     0K     0%    /etc/mnttab
swap                    42G   1.6M    42G     1%    /etc/svc/volatile
objfs                    0K     0K     0K     0%    /system/object
sharefs                  0K     0K     0K     0%    /etc/dfs/sharetab
/dev/dsk/c1t0d0s4       16G   3.7G    12G    24%    /usr
/platform/sun4u-us3/lib/libc_psr/libc_psr_hwcap1.so.1
                        16G   457M    15G     3%    /platform/sun4u-us3/lib/libc_psr.so.1
/platform/sun4u-us3/lib/sparcv9/libc_psr/libc_psr_hwcap1.so.1
                        16G   457M    15G     3%    /platform/sun4u-us3/lib/sparcv9/libc_psr.so.1
fd                       0K     0K     0K     0%    /dev/fd
/dev/dsk/c1t0d0s3       16G   118M    15G     1%    /var
swap                    42G   272K    42G     1%    /tmp
swap                    42G    56K    42G     1%    /var/run
/dev/dsk/c1t0d0s5       16G    17M    16G     1%    /opt
/dev/dsk/c1t0d0s7       32G    32M    31G     1%    /export/home
/export/home/Karl       32G    32M    31G     1%    /home/Karl

I've used DiskSuite to mirror the boot drive. While details can be found in numerous places both here and using St. Google, Mirroring disks with DiskSuite is the recipe I usually follow.

Isn't there a built in to solaris way to do this?

I see this posting but I'm not sure if this is still valid.

Guide to mirroring root / boot disks with solaris volume manager (disksuite) on solaris 10

First off, you need another drive that is EXACTLY like the current boot drive(rpm,sectors,cylinders,heads,etc.). It appears that you have UFS file systems so I would recommend Solaris Volume Manager, which come bundled with Solaris. You could opt to install Veritas (now Semantic) Volume Manager if you want.

A good tutorial that I use can be found here.

Or maybe this is a good time to start experimenting with ZFS. :wink:

HTH

1 Like

I'll look into that, I wish I only had 2 disks in this beast. :slight_smile:

Dumb question but, I went into the openprom to check which drive is set to boot using stop a, how do I exit from that screen?

ummmm, not sure what screen you are talking about. :confused: I usually check/set OBP parms using the eeprom command (as root).

HTH

Use:

go

You might want to keep this link to the OpenBoot 3.x Command Reference Manual -- http://dlc.sun.com/pdf/806-1377-10/806-1377-10.pdf -- handy.

1 Like

yup that was it. thanks.