How to replace a failing disk

Article:TECH84857  |  Created: 2008-01-01  |  Updated: 2010-01-08  |  Article URL http://www.symantec.com/docs/TECH84857
Article Type
Technical Solution

Product(s)

Environment

Issue



How to replace a failing disk

Solution



If a disk is marked as failing, first check in the /var/adm/messages log and check to see if there are messages about the failing disk. These messages will commonly show up as scsi errors in the message log.
After the failure has been determined to be a permanent failure first remove the disk using the vxdiskadm options list.

#vxdiskadm

Pick option 4 - Remove a disk for replacement.
Once this option has been picked, follow the prompts to remove the disk.

When the disk has been removed, chose option 5  - Replace a failed or removed disk.  Follow the prompts for disk replacement.

Once the disk has been successfully replaced quite out of the vxdiskadm menu.

To bring the new disk under volume manager control do a:
#vxdctl enable

Once volume manager has control of the disk, perform the following commands:
#vxreattach
#vxrecover
(for redundant volumes)
#vxvol -g <diskgroup> -f start <volume>  
(for non-redundant volumes)
#fsck -F vxfs /dev/vx/rdsk/diskgroup/volume
(checks for data consistency)


Legacy ID



303488


Article URL http://www.symantec.com/docs/TECH84857


Terms of use for this information are found in Legal Notices