FreeBSD SW raid-1

Hello folks,

Got in a situation where both raid1 consumers are now bigger in size than provider is:

Code:
Providers:
1. Name: mirror/gm0
   Mediasize: 80026361344 (75G)
   Sectorsize: 512
   Mode: r2w2e5
Consumers:
1. Name: ad2
   Mediasize: 160041885696 (149G)
   Sectorsize: 512
   Mode: r1w1e1
   State: ACTIVE
   Priority: 0
   Flags: DIRTY
   GenID: 0
   SyncID: 2
   ID: 1089895960
2. Name: ad3
   Mediasize: 160041885696 (149G)
   Sectorsize: 512
   Mode: r1w1e1
   State: ACTIVE
   Priority: 0
   Flags: DIRTY
   GenID: 0
   SyncID: 2
   ID: 996281232

i've got in such situation when first drive was failed to start, i changed it with bigger one, and then same story with second drive.

So is there any way to use this free space on these consumers or not?
 
I think first destroy and recreate gmirror. Then either create another partition in additional space, or cross fingers, modify existing and use growfs.
 
@mav:My idea was that since he already has a mirror, he can play quite safe on 1 hdd. Worst case scenario, he erases it and inserts it in the gmirror thus leading to a sync.
 
Could you guys give me more detailed hints, how can I do that? It's a production server, so I'm quite unsure about this :)
 
Back
Top