In the server, mirroring was wrong and one disk was missing. It as supposed to have 4 disks c1t0d0, c1t0d0, c2t0d0 and c2t1d0. But there were three disks with a different controller.
D60 raid information was the following:
d60: Concat/Stripe
Size: 453503616 blocks
Stripe 0:
Device Start Block Dbase
c1t0d0s6 0 No
Stripe 1:
Device Start Block Dbase
c1t1d0s6 0 No
Stripe 2:
Device Start Block Dbase
c2t0d0s6 10176 No
Stripe 3:
Device Start Block Dbase
c2t1d0s6 10176 No
st1mcp1> metadb
flags first blk block count
a m p luo 16 1034 /dev/dsk/c1t0d0s7
a p luo 1050 1034 /dev/dsk/c1t0d0s7
a p luo 2084 1034 /dev/dsk/c1t0d0s7
a p luo 16 1034 /dev/dsk/c1t1d0s7
a p luo 1050 1034 /dev/dsk/c1t1d0s7
a p luo 2084 1034 /dev/dsk/c1t1d0s7
M p unknown unknown /dev/dsk/c2t0d0s7
M p unknown unknown /dev/dsk/c2t0d0s7
M p unknown unknown /dev/dsk/c2t0d0s7
M p unknown unknown /dev/dsk/c2t1d0s7
M p unknown unknown /dev/dsk/c2t1d0s7
M p unknown unknown /dev/dsk/c2t1d0s7
To fix the problem, one disk was added.
Then the disks naming was c1t0d0,c1t1d0, c1t2d0,c1t3d0.
First c1t2do and c1t3d0 was partitioned and formatted.
selecting c1t2d0 (s6 and s7 will be used)
Part Tag Flag Cylinders Size Blocks
0 unassigned wu 0 0 (0/0/0) 0
1 unassigned wu 0 0 (0/0/0) 0
2 backup wm 0 - 14086 68.35GB (14087/0/0) 143349312
3 unassigned wu 0 0 (0/0/0) 0
4 unassigned wu 0 0 (0/0/0) 0
5 unassigned wu 0 0 (0/0/0) 0
6 unassigned wm 0 - 14079 68.32GB (14080/0/0) 143278080
7 unassigned wm 14080 - 14086 34.78MB (7/0/0) 71232
newfs -m1 /dev/dsk/c1t2d0s6
newfs -m1 /dev/dsk/c1t2d0s7
newfs -m1 /dev/dsk/c1t3d0s6
newfs -m1 /dev/dsk/c1t3d0s7
Then metadb information is corrected.
metadb -d /dev/dsk/c2t0d0s7
metadb -d /dev/dsk/c2t1d0s7
metadb -a -c 3 /dev/dsk/c1t2d0s7
metadb -a -c 3 /dev/dsk/c1t3d0s7
D60 was deleted:
metaclear -f d60
and recreated to have RAID 0 concatenation:
metainit d60 4 1 c1t0d0s6 1 c1t1d0s6 1 c1t2d0s6 1 c1t3d0s6
After adding the correct mount line in /etc/vfstab, the disk can be mounted. And used as a 220 GB one logical disk.
Subscribe to:
Post Comments (Atom)

0 comments:
Post a Comment