Summary: submirror too small to attach

From: <UAdmnSUN_at_netscape.net>
Date: Mon Mar 24 2003 - 18:16:25 EST
Hi Managers,

I asked:
I have two disks 4gb and 31gb disks on my Ultra10 and I am trying to mirror the / and swap partion. My root, swap partion on both disks are identical also the metadb(s7) as follows (primary disk):
Part      Tag    Flag     Cylinders        Size            Blocks
 0       root    wm       0 - 4772        2.15GB    (4773/0/0) 4510485
 1       swap    wu    4773 - 5882      512.18MB    (1110/0/0) 1048950
 2     backup    wm       0 - 8891        4.01GB    (8892/0/0) 8402940
 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    5883 - 8878        1.35GB    (2996/0/0) 2831220
 7 unassigned    wm    8879 - 8891        6.00MB    (13/0/0)     12285

When I attach I get the "submirror too small to attach" message on both / and swap partion. I am using Sol 8 and SDS 4.2.1. Steps folllowed:

My disks are c0t0d0 and c0t3d0.

Steps performed:

1. metadb -a -f c2 /dev/dsk/c0t0d0s7 /dev/dsk/c0t3d0s7
2. metainit -f d10 1 1 c0t0d0s0
3. metainit -f d20 1 1 c0t3d0s0
4. metainit d30 -m d10
5  metaroot d30

Same steps followed for swap

rebooted and ran 
metattach d30 d20
"submirror too small to attach" message displayed. What am I doing wrong here?

Solution:
I didn't get any solution from the list in the first 24 hours. So I played with the format and match the block size on the two disks and bingo it worked. Then today I got the follwing tip from Shirley Palma
" are you sure the partitions on both disks are identical? although the
'size' column can be the listed as the same on 2 disks, the 2nd submirror
partitions have to be at least the same amount of blocks as the first, or
bigger. just as long as the number of blocks is not less on the 2nd
submirror than on the 1st

increasing the size of my submirror partitions in this way has solved the
problem for me in the past."

So thank to Shirley for suggesting the same. Also thanks to David Harrington.

Have a good day
UnixAdmin



__________________________________________________________________
Try AOL and get 1045 hours FREE for 45 days!
http://free.aol.com/tryaolfree/index.adp?375380

Get AOL Instant Messenger 5.1 for FREE! Download Now!
http://aim.aol.com/aimnew/Aim/register.adp?promos=380455
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Mon Mar 24 18:20:06 2003

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:07 EST