Root disk mirroring in SVM


 
Thread Tools Search this Thread
Operating Systems Solaris Root disk mirroring in SVM
# 1  
Old 01-23-2013
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 08:01 AM.. Reason: code tags
# 2  
Old 01-23-2013
try this:

Code:
# metadb -afc 3 c0d0s7 c1d0s7

This User Gave Thanks to DukeNuke2 For This Post:
# 3  
Old 01-23-2013
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 11:06 AM..
This User Gave Thanks to hicksd8 For This Post:
# 4  
Old 01-23-2013
a format output would be helpfull to clarify most of the open questions... also uname -a is maybe nice.
# 5  
Old 01-24-2013
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 07:29 AM.. Reason: Code tags
# 6  
Old 01-24-2013
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 07:45 AM..
This User Gave Thanks to GP81 For This Post:
# 7  
Old 01-24-2013
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.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

VCS triggerring panic on 1 node, root disk under SVM

We have two node cluster with OS disk mirrored under SVM. There is slight disk problem on one of the mirror disk causing cluster to panic. Failure of one mirror disk causing VCS to panic the node. Why VCS is not able to write /var filesystem, as one of the disk is healthy. ... (1 Reply)
Discussion started by: amlanroy
1 Replies

2. Solaris

Root disk mirroring in Solaris 10

I would like to perform root disk mirroring task. Can someone please help me out on this. Thanks !! Regards, Rama (2 Replies)
Discussion started by: ramagore85
2 Replies

3. Solaris

root disk mirroring in solaris volume manager for solaris 10

Need a procedure document to do "root disk mirroring in solaris volume manager for solaris 10". I hope some one will help me asap. I need to do it production environment. Let me know if you need any deatils on this. Thanks, Rama (1 Reply)
Discussion started by: ramareddi16
1 Replies

4. Solaris

Disk mismatch while trying to zfs mirroring non-root disks

Hello All, I am trying to mirror two non-root hard drives using zfs. But "fmthard" fails when I try to copy the vtoc due to disk mismatch. Please help me. --- iostat command shows the disk to be similiar --- format command shows disk to be different :confused: --- c1t2d0 is the active... (8 Replies)
Discussion started by: pingmeback
8 Replies

5. Solaris

Root Disk mirroring in SVM

Dear All, Please help me to configure root mirroring using SVM in Solaris 9. Thanks and Regards, Lakkireddy BR (3 Replies)
Discussion started by: lbreddy
3 Replies

6. Solaris

SVM, mirroring

Really sorry for the long posting. But i would really want to clear all the doubts. I have 2 disk c0t0d0 & c0t1d0, i wanted to mirror c0t1d0 (mirror) to c0t0d0 (main). Creating state database replica: metadb -a -c3 -f c0t0d0s7 ... (3 Replies)
Discussion started by: beginningDBA
3 Replies

7. Solaris

mirroring root disk using svm - but no free slices for metadb's

Hi all, we have an existing system that was configured using just one of the (two) internal disks. I want to mirror the disk using SVM, but have realised there is no free slice for creating the metadb's. Is there a workaround I can use for this? In the past we have always kept slice 7 free -... (8 Replies)
Discussion started by: badoshi
8 Replies

8. Solaris

Veritas root disk mirroring

Hi there, My task is to replace the two 73 G disks with two 143 G disks , which has vxvm 4.1 running on it. I would like to know whether the steps iam following are correct. 1. Break the sub-disks, plexes of the root mirror. 2. Remove the sub-disks,plexes of the root mirror. 3. Remove one of... (10 Replies)
Discussion started by: Jartan
10 Replies

9. Solaris

Solaris mirroring / non-root disk

Hi Guys, Need to add 2 disks into a JBOD array (3310). Does anyone see anything wrong with my Procedure / Doco below? 1> Logon to system, check system logs for abnormal entries. 2> Make backups of related system files: A>cp -p /etc/system /etc/system.backup.081505 B>cp -p /etc/vfstab... (3 Replies)
Discussion started by: BG_JrAdmin
3 Replies
Login or Register to Ask a Question