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
Error after installing 2nd hard disk on Solaris 10? Joncamp SUN Solaris 5 02-23-2009 09:27 AM
Disk Mirror in Solaris 9 via Solaris Volume Manager deal732 SUN Solaris 3 05-02-2007 11:43 AM
Breaking mirror for patches, sun/os 5.9 BG_JrAdmin SUN Solaris 1 11-14-2005 10:18 AM
Fomatting Solaris Hard Disk. mrgubbala UNIX for Dummies Questions & Answers 1 02-08-2005 03:42 PM
Breaking Mirror egress1 HP-UX 4 08-25-2004 09:09 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 09-02-2007
chongkls77 chongkls77 is offline
Registered User
  
 

Join Date: Mar 2007
Posts: 10
Solaris 10 - breaking of mirror and change new hard disk

Hi,

am a newbie at solaris. Need advice and help on this.

1) How do I break the mirror between 2 hard disks. (wish to keep 1 good hard disk as backup)

2) After remove 1 hard disk and put in new hard disk, how do I initialise or fomat the new hard disk?

3) How do I put back the backup hard disk and configure mirror again if needed?

Best regards
Solo
  #2 (permalink)  
Old 09-03-2007
DukeNuke2's Avatar
DukeNuke2 DukeNuke2 is online now Forum Staff  
Soulman
  
 

Join Date: Jul 2006
Location: Germany, Berlin
Posts: 2,947
which tool do you use to build the mirror?
  #3 (permalink)  
Old 09-03-2007
blowtorch's Avatar
blowtorch blowtorch is offline Forum Advisor  
Supporter
  
 

Join Date: Dec 2004
Location: Singapore
Posts: 2,350
Assuming you use meta, use metastat -p or metastat -c to see the mirror/submirror information. Then use metadetach to break the mirrors. The format of the command goes like: metadetach mirror_name submirror_to_break

Make sure that you break all mirrors from the same harddisk!!!

Regarding the new hdd, is it going to be the same as an existing hdd? If it is, you can use a simple method to initialize the disk. Just run

prtvtoc /dev/rdsk/cXtXdXs2 | fmthard -s - /dev/rdsk/cYtYdYs2

X is the source disk and Y is the newly installed disk. You can then recreate the mirrors with metattach.
  #4 (permalink)  
Old 09-03-2007
chongkls77 chongkls77 is offline
Registered User
  
 

Join Date: Mar 2007
Posts: 10
not too sure what tool they previously used.
Will have to check.
Thanks a lot for your help. Cheers
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 12:37 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
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