Service manual

4-12 Sun StorEdge D240 Media Tray Installation, Operation, and Service Manual August 2001
f. Delete hot spares.
If any drives are used by hot spare pools, remove them. Record the hot spare
pools containing the slices; then delete them. For example:
g. Terminate all other metadevice activity on the drive.
Check metastat output for other slices of the disk used by metadevices that
cannot be detached (stripes not in mirrors and so on). You must unmount these
metadevices if they contain file systems, or they must otherwise be brought off-
line.
Refer to the prtvtoc(1M) man page for more information.
h. Unmount any file systems on the drive.
Note If the file systems are on a drive that is failing or has failed, the umount
operation may not complete. A large number of error messages might be displayed
in the system console and in the /var directory during the umount operation. If the
umount operation does not complete, you might have to restart the system.
For each file system returned, type:
where
filesystem
is the first field for each line returned in Step 1f.
For example:
2. Remove and replace the drive.
a. Remove the front bezel from the media tray.
b. Attach an antistatic wrist strap to your wrist and to the section of the chassis
exposed at the left of the drive bays.
Note Make sure the power cord to the Sun StorEdge media tray unit remains
connected to an AC power source to ensure a ground.
c. Unlatch the drive bracket handle (on the right) to release it.
# metahs -d all c1t4d0s1
# umount
filesystem
# umount /export/home
# umount /export/home2