Maintaining Mirrored Systems | CentreVu CMS Release 3 Version 8 |
Replacing a faulty disk | 70 |
|
|
Step 2: Identify the submirrors
1.Add the Solstice DiskSuite directories to your path:
#export PATH=$PATH:/usr/opt/SUNWmd/sbin:/olds
2.Enter a metastat command:
#metastat
3.Scan the output of the metastat command to find the name of the faulty disk. The following lines, for example, indicate that the faulty c0t2d0 disk is in d20:
#metastat
. |
|
|
|
|
|
. |
|
|
|
|
|
d20: Submirror of d21 |
|
|
|
| |
Size: 14960160 blocks |
|
|
|
| |
Stripe 0: |
|
|
|
|
|
Device | Start Block |
| Dbase | State | Hot Spare |
c0t2d0s1 | 0 |
| No | Okay |
|
Stripe 1: |
|
|
|
|
|
Device | Start Block |
| Dbase | State | Hot Spare |
c0t4d0s3 | 0 |
| No | Okay | |
. |
|
|
|
|
|
. |
|
|
|
|
|
|
|
|
|
|
|
Be sure to check all the submirrors. If the disk is also listed under d11 or d12, it is a boot disk belonging to two different submirrors. Replacing a boot disk involves some special considerations; those considerations are noted in this procedure where they apply.
4.Record below the metadevices to which the disk belongs (for example, d11 and d19):
d____ d____