Disksuite mirror expansion


 
Thread Tools Search this Thread
Operating Systems Solaris Disksuite mirror expansion
# 1  
Old 04-09-2009
Disksuite mirror expansion

Hi
I had a disksuite mirror with two sub-mirrors which I wanted to expand.
To expand this I had the bright idea of detaching one of the sub-mirrors and doing a metaclear on that submirror - then re-sized the underlying partition ( doubling it in size ) then I did a metainit on this partition as re-attached it to the mirror.
Once it was synced I did the same procedure with the other submirror.
However what I now have is a mirror of 4 Gb capacity but both the sub-mirrors showing at 8 Gb capacity.
How can I get the mirror to be the same size as the submirrors ( without destroying the data that is on there )
I have tried the obvious reboot and can find anything obvious in the meta..... commands.
Current output of metastat is
ukblx261:root# metastat d2
d2: Mirror
Submirror 0: d12
State: Okay
Submirror 1: d22
State: Resyncing
Resync in progress: 1 % done
Pass: 1
Read option: roundrobin (default)
Write option: parallel (default)
Size: 8395200 blocks (4.0 GB)

d12: Submirror of d2
State: Okay
Size: 16780224 blocks (8.0 GB)
Stripe 0:
Device Start Block Dbase State Reloc Hot Spare
c1t0d0s4 0 No Okay Yes


d22: Submirror of d2
State: Resyncing
Size: 16780224 blocks (8.0 GB)
Stripe 0:
Device Start Block Dbase State Reloc Hot Spare
c1t1d0s4 0 No Okay Yes


Device Relocation Information:
Device Reloc Device ID
c1t0d0 Yes id1,sd@n5000c50007e26153
c1t1d0 Yes id1,sd@n5000c50007e1d513


Thanks in advance
Cheers
Ian
# 2  
Old 04-09-2009
try growfs
# 3  
Old 04-15-2009
growfs will not work as the mirror d2 is still showing as 4 Gb not 8Gb like the submirrors.

Has anybody got any other ideas ?
# 4  
Old 04-15-2009
Can you break the mirror, metaclear, then do a reinitialisation?
# 5  
Old 04-15-2009
will that not destroy the data in the sub mirrors ?

What are the exact steps for that ?
# 6  
Old 04-15-2009
Nope, it will not destro your data, you're merely detaching and clearing the mirrors that you created.
# 7  
Old 04-15-2009
Resolved

Thanks for that this worked fine.

Boot to single user.

metasync -r
metadetach d2 d22
metaclear d2 d12
metainit d2 -m d12
metattach d2 d22

Cheers
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Use parameter expansion over a parameter expansion in bash.

Hello All, Could you please do help me here as I would like to perform parameter expansion in shell over a parameter expansion. Let's say I have following variable. path="/var/talend/nat/cdc" Now to get only nat I could do following. path1="${path%/*}" path1="${path1##*/}" Here... (8 Replies)
Discussion started by: RavinderSingh13
8 Replies

2. HP-UX

What is the difference between DRD and Root Mirror Disk using LVM mirror ?

what is the difference between DRD and Root Mirror Disk using LVM mirror ? (3 Replies)
Discussion started by: maxim42
3 Replies

3. Solaris

Solstice disksuite - mirror sync direction

Hi I have an existing mirror configured (d10) with submirrors (d11 and d12). I recently detached the d12 mirror for an upgrade. I know want to re-attach the d12 mirror to sync with the active mirror (d11). When I run the command metattach d10 d12 - which way will the sync occur? Will the... (1 Reply)
Discussion started by: samruthroy
1 Replies

4. Shell Programming and Scripting

Need to print the expansion of the found string (the expansion is beween two delimiters '-' , '||'

Hi , could anyone help me out with this problem. sample.txt has this content : u001- this is used for project1 || u002- this is used for p2|| not to be printed u003- this is used for project3 || u004- this is used for p4 || u005- this is used for project5 || u006- this is used for p6... (9 Replies)
Discussion started by: Balaji PK
9 Replies

5. Solaris

What is mirror and sub mirror in RAID -1 SVM

Hi , I am new to SVM .when i try to learn RAID 1 , first they are creating two RAID 0 strips through metainit d51 1 1 c0t0d0s2 metainit d52 1 1 c1t0d0s2 In the next step metainit d50 -m d51 d50: Mirror is setup next step is metaattach d50 d52 d50 : submirror d52 is... (7 Replies)
Discussion started by: vr_mari
7 Replies

6. Solaris

ZFS Mirror versus Hardware Mirror

I've looked a little but haven't found a solid answer, assuming there is one. What's better, hardware mirroring or ZFS mirroring? Common practice for us was to use the raid controllers on the Sun x86 servers. Now we've been using ZFS mirroring since U6. Any performance difference? Any other... (3 Replies)
Discussion started by: Lespaul20
3 Replies

7. Solaris

Looking for Solstice DiskSuite 4.2

Hi all, Do you know where I can download Soltice Disksuite 4.2 for Solaris 2.6 ? I haven't the CD labeled “Solaris Server Intranet Extensions 1.0” . Thanks in advance for your precious help. Bests Regards Hosni (2 Replies)
Discussion started by: hosni
2 Replies

8. Solaris

mirroring with disksuite

hi all, i want to mirror two disks with disksuite under solaris 9 , doses smeone can explain me Briefly the essential steps to do that plz ? (3 Replies)
Discussion started by: lid-j-one
3 Replies

9. Solaris

Solstice DiskSuite

Has anybody every used Solstice DiskSuite? I am having trouble setting it up. I installed it without a problem, but do I really have to blow away the drives on the D1000 just to create a metastate database? (8 Replies)
Discussion started by: hshapiro
8 Replies
Login or Register to Ask a Question