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.

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

Thanks Frankoko..

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

Hope this will solve my problem...

Thanks Frankoko..

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

Hope this will solve my problem...

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