Cisco Model D-PCG1000 PowerKEY CAS Gateway Installation Guide

Page of 84
 
Chapter 2    Replace a Disk Drive on a Sun Fire V445 Server 
 
 
 
62 
4005697 Rev B 
Prepare to Replace the Hard Drive 
Note:  All the commands in this section should be executed as root user. 
Identify the Device That Needs to be Replaced 
1  If necessary, open an xterm window on the DNCS. 
2  Type the following command and press Enter
metastat | grep Maintenance
 
Result:  Using the example established in 
Verify Disk Drive Status (on page 51)
output should look similar to the following: 
c1t4d0s5          0     No     Maintenance   Yes
 
c1t4d0s7          0     No     Maintenance   Yes
 
c1t4d0s3          0     No     Maintenance   Yes
 
c1t4d0s1          0     No     Maintenance   Yes
 
c1t4d0s0          0     No     Maintenance   Yes
 
 
Observations:  Though multiple component devices have failed, they are all on 
the same physical drive. The defective drive is c1t4
Unconfigure the Defective Drive 
1  From an xterm window on the DNCS, type the following command and press 
Enter
metadb
 
Result:  Output should look similar to the following: 
  
flags        first blk    block count
 
a m  p  luo     16           8192         /dev/dsk/c1t0d0s4
 
a    p  luo     16           8192         /dev/dsk/c1t1d0s4
 
a    p  luo     16           8192         /dev/dsk/c1t2d0s4
 
a    p  luo     16           8192         /dev/dsk/c1t3d0s4
 
W    p  l       16           8192         /dev/dsk/c1t4d0s4
 
a    p  luo     16           8192         /dev/dsk/c1t5d0s4
 
a    p  luo     16           8192         /dev/dsk/c1t6d0s4
 
a    p  luo     16           8192         /dev/dsk/c1t7d0s4
 
Notes:   
 
Any metadb that has a flag consisting of a capital letter (like "W" in this 
example) needs to be removed and then re-added when the condition has 
been corrected.