|
How to replace a rootdisk failing disk but NOT failed
in VERITAS vol manager in a Sun T2000?
If you setup your RAID properly on that T2000, you should have at least a mirror of your disk. The T2000 has a SAS backplane that supports hot swapping drives. Hopefully you took advantage of the hardware RAID capabilities of the server and didn't go with software RAID. From the manual for your server. To Perform a Mirrored Disk Hot-Plug Operation 1. Verify which hard drive corresponds with which logical device name and physical device name. See Disk Slot Numbers, Logical Device Names, and Physical Device Names. 2. To confirm a failed disk, type the following command: # raidctl If the Disk Status is FAILED, then the drive can be removed and a new drive inserted. Upon insertion, the new disk should be OK and the volume should be RESYNCING. For example: # raidctl RAID Volume RAID RAID Disk Volume Type Status Disk Status ---- c0t1d0 IM DEGRADED c0t1d0 OK c0t2d0 FAILED This example indicates that the disk mirror has degraded due to a failure in disk c0t2d0. Note - The logical device names might appear differently on your system, depending on the number and type of add-on disk controllers installed. 3. Remove the hard drive, as described in the Sun Fire T2000 Server Service Manual. There is no need to issue a software command to bring the drive offline when the drive has failed. 4. Install a new hard drive, as described in the Sun Fire T2000 Server Service Manual. The RAID utility automatically restores the data to the disk. 5. To check the status of a RAID rebuild, type the following command: # raidctl For example: # raidctl RAID Volume RAID RAID Disk Volume Type Status Disk Status - c0t1d0 IM RESYNCING c0t1d0 OK c0t2d0 OK This example indicates that RAID volume c0t1d0 is resynchronizing. If you issue the command again once synchronization has completed, it indicates that the RAID mirror is finished resynchronizing and is back online: # raidctl RAID Volume RAID RAID Disk Volume Type Status Disk Status -- c0t1d0 IM OK c0t1d0 OK c0t2d0 OK Note: For more information, see the raidctl(1M) man page. |
|
See Also
Have a Unix Problem
Unix Books :-
Return to : - Unix System Administration Hints and Tips (c) www.gotothings.com All material on this site is Copyright.
|