![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems . |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Hard disk replacement | adelgadom | Red Hat | 3 | 03-13-2008 12:56 PM |
| Disk replacement with svm | BG_JrAdmin | SUN Solaris | 3 | 05-31-2007 09:58 PM |
| Regarding Replacement | rajx | UNIX for Dummies Questions & Answers | 2 | 05-22-2007 09:19 AM |
| Newbie: Sun Ultra 5 Disk Replacement | kalm | UNIX for Dummies Questions & Answers | 2 | 06-30-2005 11:04 AM |
| Replacement using sed | handak9 | UNIX for Dummies Questions & Answers | 5 | 07-13-2004 11:28 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Disk Replacement SVM
Hello,
Can someone advise the proper procedure for replacing a mirrored disk in SVM. I have checked the docs and various websites but the procedure seems to vary. This is what I would do... 1. Remove the db replicas from the bad disk. 2. Detach it from the mirror 3. Clear it with metaclear. 4. Replace the Disk 5. Copy the label from the good disk using prtvtoc and ftmhard 6. Create new db replicas 7. Create all the metadevices again then attach them which should start the resync? Is this all necessary or can I just do a metareplace -e ? I hope this is roughly right, What im not sure about is the need to use cfgadm to deconfig the failed disk then configure the new on back in, is this dependant on what hardware you are running? Also, is a reboot required for any of this? Many Thanks. |
|
||||
|
Thanks for the reply, however when I keep getting errors from metadevadm relating to invalid device information on the replaced disk. This has led me to believe that I need to configure the new disk to get a new DevID generated.
|
|
||||
|
Quote:
I would use the method you have listed in the original post. I never use metareplace. It seems tedious however, it is a lot cleaner in the end. |
|
||||
|
I have sued both! The trick is to use 'metareplace' in case the entire disk goes bad!! That is faster and works okay
If only some slices are bad, then you need to follow the 'tedious' procedure that you mentioned in the very first post. Extra: Concerning usuing the cfgadm command, I have seen most sun engineers not using them while many sys admins use that - may be for security / satisfaction sake. Remember, cfgadm will eb used if you have scsi disks on your machine. ** 'luxadm' command is used instead of cfgadm incase your machine has fiber channel disks. (To find out if your system has FCAL disks, run format command and see if there is a long series of numbers after t (target) of the disks). Hope that helps ![]() |
| Sponsored Links | ||
|
|