Installing Mirrored Systems | CentreVu CMS Release 3 Version 8 | |
How to upgrade an Enterprise platform to disk mirroring | 24 | |
|
|
|
Step 9: Set up the /cms mirror
1.Edit /etc/vfstab. Copy the d19 entry to the succeeding line. Then comment out the original and change “d19” to “d21”. For example:
. . .
#/dev/md/dsk/d19 /dev/md/rdsk/d19 /cms ufs 2 yes -
/dev/md/dsk/d21 /dev/md/rdsk/d21 /cms ufs 2 yes
2.Save the /etc/vfstab file and exit the editor.
3.Alter your path:
#export PATH=$PATH:/usr/opt/SUNWmd/sbin:/olds
4.Activate the new metadevice (d20):
#metainit d20
d20: Concat/stripe is set up
#
5.Verify that d20 is active:
# metastat d20 d20: Concat/Stripe
Size: 14398560 blocks |
|
| |
Stripe 0: |
|
|
|
Device | Start Block | Dbase State Hot Spare | |
c0t1d0s3 | 0 | No | Okay |
Stripe 1: |
|
|
|
Device | Start Block | Dbase State Hot Spare | |
c0t3d0s1 | 0 | No | Okay |
#
6. Initialize the newly created mirror (d21):
#metainit
d21: Concat/stripe is set up
#
7. Attach the new metadevice (d20) to the newly created mirror (d21):
#metattach d21 d20
d21: submirror d20 is attached
#
8.Reboot the system by entering the following command:
# /usr/sbin/shutdown