Visit Our UNIX and Linux User Community


Disk Mirroring on solaris 5.8


 
Thread Tools Search this Thread
Operating Systems Solaris Disk Mirroring on solaris 5.8
# 1  
Old 07-29-2008
Question Disk Mirroring on solaris 5.8

Hi Friends,

I am having Sun Solaris 5.8 OS installed having 2 different size hard disk, sizes are c0t0d0s0(160 GB) and c0t2d0s0 (40GB). I have installed Sun Solaris 5.8 OS in c0t0d0s0 (160GB) harddisk.

I have configured all the parameters required for disk mirroring. But when executing "dkconfig -wR" command, below error is displayed.

intelserv02 #dkconfig -wR
dkconfig: size of /dev/dsk/c0t2d0s0 is different from other piece
dkconfg: Bad configuration for mirror root.
dkconfig: No change in mirror root configuration


Can anyone please let me know how to resolved this problem.

Appreciate your help.

FYI, below are the complete disk info,
========================================
intelserv02 #format
Searching for disks...done


AVAILABLE DISK SELECTIONS:
0. c0t0d0 <fusi cyl 35000 alt 2 hd 48 sec 159>
/pci@1f,0/pci@1,1/ide@d/dad@0,0
1. c0t2d0 <HDS722540VLAT20 cyl 19708 alt 2 hd 16 sec 255>
/pci@1f,0/pci@1,1/ide@d/dad@2,0
Specify disk (enter its number): 0
selecting c0t0d0
[disk formatted, no defect list found]
Warning: Current Disk has mounted partitions.


FORMAT MENU:
disk - select a disk
type - select (define) a disk type
partition - select (define) a partition table
current - describe the current disk
format - format and analyze the disk
repair - repair a defective sector
show - translate a disk address
label - write label to the disk
analyze - surface analysis
defect - defect list management
backup - search for backup labels
verify - read and display labels
save - save new disk/partition definitions
volname - set 8-character volume name
!<cmd> - execute <cmd>, then return
quit
format> verify

Primary label contents:

Volume name = < >
ascii name = <fusi cyl 35000 alt 2 hd 48 sec 159>
pcyl = 35002
ncyl = 35000
acyl = 2
nhead = 48
nsect = 159
Part Tag Flag Cylinders Size Blocks
0 root wm 0 - 34851 126.83GB (34852/0/0) 265990464
1 swap wu 34852 - 34989 514.27MB (138/0/0) 1053216
2 backup wm 0 - 34999 127.37GB (35000/0/0) 267120000
3 unassigned wm 0 0 (0/0/0) 0
4 unassigned wm 0 0 (0/0/0) 0
5 unassigned wm 0 0 (0/0/0) 0
6 unassigned wm 34990 - 34994 18.63MB (5/0/0) 38160
7 unassigned wm 34995 - 34999 18.63MB (5/0/0) 38160

format> quit
intelserv02 #format
Searching for disks...done


AVAILABLE DISK SELECTIONS:
0. c0t0d0 <fusi cyl 35000 alt 2 hd 48 sec 159>
/pci@1f,0/pci@1,1/ide@d/dad@0,0
1. c0t2d0 <HDS722540VLAT20 cyl 19708 alt 2 hd 16 sec 255>
/pci@1f,0/pci@1,1/ide@d/dad@2,0
Specify disk (enter its number): 1
selecting c0t2d0
[disk formatted, no defect list found]


FORMAT MENU:
disk - select a disk
type - select (define) a disk type
partition - select (define) a partition table
current - describe the current disk
format - format and analyze the disk
repair - repair a defective sector
show - translate a disk address
label - write label to the disk
analyze - surface analysis
defect - defect list management
backup - search for backup labels
verify - read and display labels
save - save new disk/partition definitions
volname - set 8-character volume name
!<cmd> - execute <cmd>, then return
quit
format> verify

Primary label contents:

Volume name = < >
ascii name = <HDS722540VLAT20 cyl 19708 alt 2 hd 16 sec 255>
pcyl = 19710
ncyl = 19708
acyl = 2
nhead = 16
nsect = 255
Part Tag Flag Cylinders Size Blocks
0 unassigned wm 0 - 17632 34.30GB (17633/0/0) 71942640
1 unassigned wm 17633 - 19689 4.00GB (2057/0/0) 8392560
2 backup wm 0 - 19707 38.34GB (19708/0/0) 80408640
3 unassigned wm 0 0 (0/0/0) 0
4 unassigned wm 0 0 (0/0/0) 0
5 unassigned wm 0 0 (0/0/0) 0
6 unassigned wm 19690 - 19698 17.93MB (9/0/0) 36720
7 unassigned wm 19699 - 19707 17.93MB (9/0/0) 36720

format> quit
========================================

I came to know that Cylinders range should be same in order to do disk mirroring. But at this point, In disk0 OS has been installed. Are there any way to resize the Cylinders ranges without reinstalling the OS?

or any other ideas?...

Thanks in advance,
Regards,
Vijay.
# 2  
Old 07-29-2008
I don't think you'd be able to perform the mirroring. It's obvious that your c0t2d0s0 is smaller than c0t0d0s0. It's still possible if your c0t2d0s0 is bigger than your c0t0d0s0..
CMIIW
# 3  
Old 07-29-2008
Disk Mirroring

Thanks Frankoko..

I too thought the same & continuing installing of OS by interchanging the disk physically.

Hope this will solve my problem...
# 4  
Old 07-29-2008
Thanks Frankoko..

I too thought the same & continuing installing of OS by interchanging the disk physically.

Hope this will solve my problem...
# 5  
Old 07-29-2008
Its best for you to use disks of the same size for mirroring purpose. Whatever it is, you may not want to see another sort of problem arising a few weeks later I guess...

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. 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

2. Red Hat

Disk Mirroring

Hi, How to identify whether the disk is being mirrored or not in RHEL (2 Replies)
Discussion started by: gsiva
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

Solaris 10 Disk Mirroring

Has anyone managed to set up disk mirroring in Solaris 10 yet? If so can you point me in the direction of some useful documentation please. Cheers (25 Replies)
Discussion started by: korfnz
25 Replies

5. Solaris

Disk Mirroring for Solaris 10 x86

I am having an issue with setting up disk mirroring for Solaris 10 on an x86 server. My main problem is that the volumes and slices have already been setup and our proprietary software has already been installed and configured. The entire drive has been allocated in this configuration and the... (2 Replies)
Discussion started by: chuck43
2 Replies

6. Solaris

Help !! disk Mirroring

Hi I have a Sunfire X4100 box with a 4 disk Chassis (although I only have 2 disks in it). I have been asked to add two more disks into the chassis so that I can mirror the original two using SVM .....Ive read through a couple of SVM docs but am finding it a little confusing, and if any of you... (1 Reply)
Discussion started by: hcclnoodles
1 Replies

7. Solaris

[HELP] mirroring disk at solaris 8 sparc v890

hi expert, sorry i'm new in solaris system, need more advice and help :) i'm confusing with mirroring disk at my sparc v890 solaris 8, i have 6 harddisk which the structure shown below : format : AVAILABLE DISK SELECTIONS: 0. c1t0d0 <SUN146G cyl 14087 alt 2 hd 24 sec 848> ... (4 Replies)
Discussion started by: bucci
4 Replies

8. Solaris

Disk mirroring

Hi I have two raw disk that I want to mirror and then create soft partition on that. Could someone please help in the steps required c0t1d0 c0t0d0 Thanks Ajwat (2 Replies)
Discussion started by: Ajwat
2 Replies

9. UNIX for Advanced & Expert Users

Solaris 8 disk/mirroring issue

Hello! I recently inherited system administration duties for a SUN v880 box. The system has 6 physical hard disks.. In doing some basic maintenance, I found they're configured for mirroring. I ran the metastat and metadb commands, and many of the mirrors are showing they are in need of... (5 Replies)
Discussion started by: ghuber
5 Replies

10. 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

Featured Tech Videos