InfoDoc ID |
|
Synopsis |
|
Date |
28068 |
|
A5x00 Disk That Displays All 0's for WWN or luxadm remove_disk fails |
|
20 Sep 2002 |
STEPS to manually REMOVE an A5x00 disk that displays all 0's for WWN or luxadm remove_disk fails
NOTE: If volume manager is installed, You should follow the rules for removing the disk normally
through volume manager. This procedure assumes that vxdiskadm option 5 then 11
has been run on the disk in question.
1. find and write down the cxtxdx information for the failed disk.
2. Once the cxtxdx is known, determine wwn for the failed disk.
cd /dev/dsk
ls -l cxtxdxs2
where the cxtxdx is the information from the failed disk.
3. From the displayed listing, locate the world wide number for the disk.
The wwn is the 14 digit number following the /ssd@w21 or /ssd@w22 and ending with
the character before the comma. Make note of this number, it is requried later in
the procedure. See the example.
c0t0d0s2 -> ../../devices/sbus@2,0/SUNW,socal@d,10000/sf@0,0/ssd@w2200002037cde373,0:c
^^^^^^^^^^^^^^
4. Determine if an alternate path is present for the failed disk by doing a
long list in the /dev/dsk directory and grep the results for the wwn saved from
the step above. If the same wwn is displayed for two different devices, the disk has
alternate paths. see example
ls -l|grep 00002037cde373
c0t16d0s0 -> ../../devices/sbus@2,0/SUNW,socal@d,10000/sf@0,0/ssd@w2200002037cde373,0:a
c0t16d0s1 -> ../../devices/sbus@2,0/SUNW,socal@d,10000/sf@0,0/ssd@w2200002037cde373,0:b
c0t16d0s2 -> ../../devices/sbus@2,0/SUNW,socal@d,10000/sf@0,0/ssd@w2200002037cde373,0:c
c0t16d0s3 -> ../../devices/sbus@2,0/SUNW,socal@d,10000/sf@0,0/ssd@w2200002037cde373,0:d
c0t16d0s4 -> ../../devices/sbus@2,0/SUNW,socal@d,10000/sf@0,0/ssd@w2200002037cde373,0:e
c0t16d0s5 -> ../../devices/sbus@2,0/SUNW,socal@d,10000/sf@0,0/ssd@w2200002037cde373,0:f
c0t16d0s6 -> ../../devices/sbus@2,0/SUNW,socal@d,10000/sf@0,0/ssd@w2200002037cde373,0:g
c0t16d0s7 -> ../../devices/sbus@2,0/SUNW,socal@d,10000/sf@0,0/ssd@w2200002037cde373,0:h
c5t16d0s0 -> ../../devices/sbus@a,0/SUNW,socal@d,10000/sf@1,0/ssd@w2100002037cde373,0:a
c5t16d0s1 -> ../../devices/sbus@a,0/SUNW,socal@d,10000/sf@1,0/ssd@w2100002037cde373,0:b
c5t16d0s2 -> ../../devices/sbus@a,0/SUNW,socal@d,10000/sf@1,0/ssd@w2100002037cde373,0:c
c5t16d0s3 -> ../../devices/sbus@a,0/SUNW,socal@d,10000/sf@1,0/ssd@w2100002037cde373,0:d
c5t16d0s4 -> ../../devices/sbus@a,0/SUNW,socal@d,10000/sf@1,0/ssd@w2100002037cde373,0:e
c5t16d0s5 -> ../../devices/sbus@a,0/SUNW,socal@d,10000/sf@1,0/ssd@w2100002037cde373,0:f
c5t16d0s6 -> ../../devices/sbus@a,0/SUNW,socal@d,10000/sf@1,0/ssd@w2100002037cde373,0:g
c5t16d0s7 -> ../../devices/sbus@a,0/SUNW,socal@d,10000/sf@1,0/ssd@w2100002037cde373,0:h
5. Make note of the cxtxdx numbers and the physical path for slice 2 of all listed
devices. This will provide both the logical name physical path for the devices which
will be used later.
c0t16d0s2 -> ../../devices/sbus@2,0/SUNW,socal@d,10000/sf@0,0/ssd@w2200002037cde373,0:c
c5t16d0s2 -> ../../devices/sbus@a,0/SUNW,socal@d,10000/sf@1,0/ssd@w2100002037cde373,0:c
6. The physical device entries for the first path to the disk must now be deleted.
Change directory to the appropriate /devices directory for the first disk saved above.
The appropariate /devices direcory is the path beginning with /devices and ending with
the / preceeding the ssd@w from the information pertaining to the first disk that you
saved above.
c0t16d0s2 -> ../../devices/sbus@2,0/SUNW,socal@d,10000/sf@0,0/ssd@w2200002037cde373,0:c
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
cd /devices/sbus@2,0/SUNW,socal@d,10000/sf@0,0/
7. Verify the existance of the devices by doing a long list in this directory
and grep the results for the wwn of the disk. You should see two entries for
the slices a - h showing a total of 16 devices.
ls -l |grep 00002037cde37
ssd@w2200002037cde373,0:a
ssd@w2200002037cde373,0:a,raw
ssd@w2200002037cde373,0:b
ssd@w2200002037cde373,0:b,raw
ssd@w2200002037cde373,0:c
ssd@w2200002037cde373,0:c,raw
ssd@w2200002037cde373,0:d
ssd@w2200002037cde373,0:d,raw
ssd@w2200002037cde373,0:e
ssd@w2200002037cde373,0:e,raw
ssd@w2200002037cde373,0:f
ssd@w2200002037cde373,0:f,raw
ssd@w2200002037cde373,0:g
ssd@w2200002037cde373,0:g,raw
ssd@w2200002037cde373,0:h
ssd@w2200002037cde373,0:h,raw
8. If the listed device entries appear to be correct, you must remove these devices based
on the wwn for the device
rm *00002037cde373*
9. The physical device entries for the second path to the disk must now be deleted.
Change directory to the appropriate /devices directory for the second disk saved above.
The appropariate /devices direcory is the path beginning with /devices and ending with
the / preceeding the ssd@w from the information pertaining to the second disk that you
saved above.
c5t16d0s2 -> ../../devices/sbus@a,0/SUNW,socal@d,10000/sf@1,0/ssd@w2100002037cde373,0:c
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
cd /devices/sbus@2,0/SUNW,socal@d,10000/sf@0,0/
10. Verify the existance of the devices by doing a long list in this directory
and grep the results for the wwn of the disk. You should see two entries for
the slices a - h showing a total of 16 devices.
ls -l |grep 00002037cde37
ssd@w2100002037cde373,0:a
ssd@w2100002037cde373,0:a,raw
ssd@w2100002037cde373,0:b
ssd@w2100002037cde373,0:b,raw
ssd@w2100002037cde373,0:c
ssd@w2100002037cde373,0:c,raw
ssd@w2100002037cde373,0:d
ssd@w2200002037cde373,0:d,raw
ssd@w2100002037cde373,0:e
ssd@w2100002037cde373,0:e,raw
ssd@w2100002037cde373,0:f
ssd@w2100002037cde373,0:f,raw
ssd@w2100002037cde373,0:g
ssd@w2100002037cde373,0:g,raw
ssd@w2100002037cde373,0:h
ssd@w2100002037cde373,0:h,raw
11. If the listed device entries appear to be correct, you must remove these devices based
on the wwn for the device. See example
rm *00002037cde373*
12. Remove the logical block devices for the cxtxdx numbers saved above. See example
cd /dev/dsk
rm c0t16d0*
rm c5t16d0*
13. Remove the logical raw devices for the cxtxdx numbers saved above. See example
cd /dev/rdsk
rm c0t16d0*
rm c5t16d0*
14. Make a copy of the /etc/path_to_inst file, edit the original and remove references to the
path(s) for the disk(s) saved above.
cd /etc
cp path_to_inst path_to_inst.original
vi path_to_inst
Search for the lines containing the world wide number saved from above and delete
them. when done editing save the file.
15. Now that the disk entries have been deleted, replace the disk in the a5x00 array using the
luxadm insert_device command as shown.
luxadm insert_device <enclosure> <disk_position>
When prompted to do so, remove the failed disk, insert the new disk and continue.
INTERNAL SUMMARY:
[email protected]
SUBMITTER: Wayne Taranto
APPLIES TO: Hardware/Disk Storage Subsystem/StorEdge Disk Array/StorEdge A5000, Storage, Storage/Volume Manager
ATTACHMENTS:
Copyright (c) 1997-2003 Sun Microsystems, Inc.