2010年4月21日

Replacing a failed drive in a Sun Server

Per our friend George Pagan we should be using the following procedure to replace failed/failing disks in Sun Servers:

Replacing failed sun disk

sudo vxdiskadm

Option 4 to remove the disk

Then from the OS

sudo cfgadm -f -y -c unconfigure controller::dsk/target

For example if c1t0d0 is the disk to be removed:

sudo cfgadm -f -y -c unconfigure c1::dsk/c1t0d0

This will turn on either an amber light on older machines or a blue light

on newer machines. Then it is safe to remove the drive.

After you insert the drive you run, for example:

sudo cfgadm -c configure c1::dsk/c1t0d0

Then do

devfsadm

vxdctl enable

And then option 5 in vxdiskadm to replace the disk.

没有评论: