Root disk mirroring in SVM | Unix Linux Forums | Solaris

  Go Back    


Solaris The Solaris Operating System, usually known simply as Solaris, is a Unix-based operating system introduced by Sun Microsystems. The Solaris OS is now owned by Oracle.

Root disk mirroring in SVM

Solaris


Tags
solaris, solaris 10

Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 01-23-2013
Laxxi Laxxi is offline
Registered User
 
Join Date: Jan 2012
Last Activity: 29 April 2013, 9:17 AM EDT
Posts: 22
Thanks: 12
Thanked 0 Times in 0 Posts
Root disk mirroring in SVM

I tried doing rootdisk mirroring in my local host , i added a new Ide disk in my system
and copied the prtvtoc from root disk to the newly added disk, and then when i tried to add database replicas on both the disks, it was added for boot disk but for the newly added disk i gave the error, which is like this:

Code:
 #metadb -afc 3 c0d0s7 c1d1s7
metadb: server : /dev/rdsk/c1d1s7: No such file or address

Whereas the c1d1s7 is visible in format o/p.
Please help me how to proceed on this.

Thanks
Laxxi

Last edited by Scrutinizer; 01-23-2013 at 07:01 AM.. Reason: code tags
Sponsored Links
    #2  
Old 01-23-2013
DukeNuke2's Avatar
DukeNuke2 DukeNuke2 is offline Forum Staff  
Soulman
 
Join Date: Jul 2006
Last Activity: 29 August 2014, 11:11 AM EDT
Location: Berlin, Germany
Posts: 5,392
Thanks: 54
Thanked 229 Times in 222 Posts
try this:


Code:
# metadb -afc 3 c0d0s7 c1d0s7

The Following User Says Thank You to DukeNuke2 For This Useful Post:
Laxxi (01-24-2013)
Sponsored Links
    #3  
Old 01-23-2013
hicksd8 hicksd8 is offline Forum Advisor  
Registered User
 
Join Date: Feb 2012
Last Activity: 28 August 2014, 4:53 PM EDT
Location: Cornwall, UK
Posts: 794
Thanks: 39
Thanked 148 Times in 133 Posts
You say the disk is visible in format. Please post the output of format.

@DukeNuke2......Do you recognise these device names? I'm very familiar with c0t0d0s0 and c0d0p1 but not c0d0s7. (on Solaris)

What hardware is this?

Last edited by hicksd8; 01-23-2013 at 10:06 AM..
The Following User Says Thank You to hicksd8 For This Useful Post:
Laxxi (01-24-2013)
    #4  
Old 01-23-2013
DukeNuke2's Avatar
DukeNuke2 DukeNuke2 is offline Forum Staff  
Soulman
 
Join Date: Jul 2006
Last Activity: 29 August 2014, 11:11 AM EDT
Location: Berlin, Germany
Posts: 5,392
Thanks: 54
Thanked 229 Times in 222 Posts
a format output would be helpfull to clarify most of the open questions... also uname -a is maybe nice.
Sponsored Links
    #5  
Old 01-24-2013
Laxxi Laxxi is offline
Registered User
 
Join Date: Jan 2012
Last Activity: 29 April 2013, 9:17 AM EDT
Posts: 22
Thanks: 12
Thanked 0 Times in 0 Posts
Thanks every one!!
Here are the outputs of format and uname -a

Code:
echo|format
0. c0d0 <DEFAULT cyl 3260 alt hd 255 sec 63>
/pci@0,0/pci-ide@7,1/ide@0/cmdk@0,0
1. c0d1 <DEFAULT cyl 1302 alt hd 255 sec 63>
/pci@0,0/pci-ide@7,1/ide@0/cmdk@1,0
2. c1d1 <DEFAULT cyl 1302 alt hd 255 sec 63>
/pci@0,0/pci-ide@7,1/ide@0/cmdk@1,0
3.c2t0d0 <DEFAULT cyl 1302 alt hd 255 sec 63>
/pci@0,0/pci1000,30@10/sd@0,0
4..c2t3d0 <DEFAULT cyl 1302 alt hd 255 sec 63>
/pci@0,0/pci1000,30@10/sd@3,0

uname -a
sun0S server 5.10 Generic_137138-09 i86pc i386 i86pc


Last edited by Scott; 01-24-2013 at 06:29 AM.. Reason: Code tags
Sponsored Links
    #6  
Old 01-24-2013
GP81 GP81 is offline
Registered User
 
Join Date: Nov 2012
Last Activity: 13 January 2014, 7:20 AM EST
Location: Warsaw, Poland
Posts: 65
Thanks: 0
Thanked 14 Times in 13 Posts
On x86 devices names are c0d0p0 if they use fdisk partitions.
If they use slice, then it can be c0d0s0.
Drive c0d0 and c1d1 are different size? They have different amount of cylinders.
Post the output of:

Code:
# prtvtoc /dev/rdsk/c0d0
# prtvtoc /dev/rdsk/c1d1


Last edited by GP81; 01-24-2013 at 06:45 AM..
The Following User Says Thank You to GP81 For This Useful Post:
hicksd8 (01-24-2013)
Sponsored Links
    #7  
Old 01-24-2013
hicksd8 hicksd8 is offline Forum Advisor  
Registered User
 
Join Date: Feb 2012
Last Activity: 28 August 2014, 4:53 PM EDT
Location: Cornwall, UK
Posts: 794
Thanks: 39
Thanked 148 Times in 133 Posts
With the 4 disks that are showing the same geometry I just wonder whether format is seeing the same 2 drives twice; or are there really four separate physical drives? (ie, 5 in all)?

Post the output of:


Code:
 
mount

so we can see what the mounted devices are.
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Root Disk mirroring in SVM lbreddy Solaris 3 12-07-2009 11:17 AM
mirroring root disk using svm - but no free slices for metadb's badoshi Solaris 8 04-14-2009 04:17 AM
Veritas root disk mirroring Jartan Solaris 10 12-12-2006 05:46 PM
Solaris mirroring / non-root disk BG_JrAdmin Solaris 3 08-11-2005 05:37 PM



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