Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Replacing a disk

Status
Not open for further replies.

vold

Technical User
Sep 26, 2006
3
US
Hi guys,

I have a question,

We have a few 480r's, they have 2 internal disks that are mirrored. On of the disks has failed, and I am wondering what the best procedure is to replacing the failed disk.

We have 3 metadevices created. one for root, one for home one for var. lets say they are d10,d20,d30.

I have extra disks to use to replace the failed drive, I just don't know how to replace it without causing further damage.

As you can tell, I don't know much about Solaris, 'im learning as I go.


thanks
 
Well if they are indeed mirrored then all you would need to do is replace the bad hard drive. When you do a metastat it will even tell you what commands you need to run.
 
hello,

yes it does give me the metareplace command, but what I am wondering is, do I just pull out the bad disk, re-insert the good disk then initiate the metareplace command?

also, in the metastat results it says to do

metareplace <olddisk> <newdisk>

but I see some reference to using : metareplace -e d0 <newdisk>

I believe 'd0' in the above is in reference to the main mirror.

so something like:

metareplace d0 c1t0d0s0
 
metareplace -e d0 c1t0d0s0 is the correct command. You only need to specify olddisk and newdisk (and omit -e) if you are using a disk with a different device path.

Annihilannic.
 
If it's scsi then I normally do a -

cfgadm -c unconfigure xxxxxxxxxx before removing the disk

You can do a cfgadm -al to figure out the disk info (xxxxxxxxx)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top