DiskSuite: Mirror your root filesystem.

Step 4:

Figure out where your root submirror slices are. Hopefully they are s0
on both drives.

Edit the file /etc/opt/SUNWmd/md.tab and put in the following …

# root mirror
d10 1 1 /dev/dsk/c0t3d0s0
d0 -m d10
d20 1 1 /dev/dsk/c0t1d0s0

And then save this file. Don’t worry that the manual says you need to
type in /dev/md/dsk/d10 in the place of d10, you don’t need it.
Solstice DiskSuite is a really smart product and it generally knows that
d10 is a metadevice. So keep is short and sweet in the md.tab file.

[ This section is specific to x86 architecture – verify with the manual ]

Make sure that the second submirror slice is a bootable filesystem.

# installboot /usr/lib/fs/ufs/pboot /usr/lib/fs/ufs/bootblk /dev/rdsk/c0t1d0s0

Now initialize the mirror d0

# metainit d20
concat/stripe setup

# metainit -f d10
concat/stripe setup

# metainit d0
mirror setup

………..and finally

# metaroot d0

If you check your /etc/vfstab file you will see a few changes …
Reboot with your newly mirror root filesystem.

Leave a Comment

Your email address will not be published. Required fields are marked *

CAPTCHA * Time limit is exhausted. Please reload the CAPTCHA.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Scroll to Top