The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > SUN Solaris
.
google unix.com



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

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 05-06-2008
Actuator Actuator is offline
Registered User
  
 

Join Date: Jan 2007
Posts: 10
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.
  #2 (permalink)  
Old 05-06-2008
reborg's Avatar
reborg reborg is online now Forum Staff  
Administrator
  
 

Join Date: Mar 2005
Location: Ireland
Posts: 4,190
Even if you use metareplace you will have to partition the disk first.

From your list you would have to do

1,4,5,6 then metareplace -e.
  #3 (permalink)  
Old 05-17-2008
Actuator Actuator is offline
Registered User
  
 

Join Date: Jan 2007
Posts: 10
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.
  #4 (permalink)  
Old 05-19-2008
Create Create is offline
Registered User
  
 

Join Date: Jan 2007
Posts: 22
Quote:
Originally Posted by Actuator View Post
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.

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.
  #5 (permalink)  
Old 05-21-2008
hercu hercu is offline
Registered User
  
 

Join Date: May 2007
Posts: 26
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
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 08:05 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language translation by Google.
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0