Hi,
I replaced a faulty disk from a gmirror some time ago. The array had two
1TB disks and I got one 2TB disk there. Now I replaced the second one and
tried to growfs it. No good for me.
I tried when there was only one disk, got not permitted message. I did the
sysctl geomflags. No good also.
So I inserted the new disk and tried again. Nothing. I tried both the /dev
device and the mounting point.
I have this now:
Geom name: root
State: COMPLETE
Components: 2
Balance: load
Slice: 4096
Flags: NONE
GenID: 1
SyncID: 4
ID: 838844102
Type: AUTOMATIC
Providers:
1. Name: mirror/root
Mediasize: 998057295360 (930G)
Sectorsize: 512
Stripesize: 4096
Stripeoffset: 0
Mode: r1w1e1
Consumers:
1. Name: ada1p3
Mediasize: 1998233534464 (1.8T)
Sectorsize: 512
Stripesize: 4096
Stripeoffset: 0
Mode: r1w1e1
State: ACTIVE
Priority: 0
Flags: NONE
GenID: 1
SyncID: 4
ID: 3941328331
2. Name: ada0p3
Mediasize: 1998251343872 (1.8T)
Sectorsize: 512
Stripesize: 4096
Stripeoffset: 0
Mode: r1w1e1
State: ACTIVE
Priority: 0
Flags: NONE
GenID: 1
SyncID: 4
ID: 3401957346
Is there a way I can growfs it? Or other way to use all slice?
gpart show ada0
=> 40 3907029088 ada0 GPT (1.8T)
40 128 1 freebsd-boot (64K)
168 4194304 2 freebsd-swap (2.0G)
4194472 3902834656 3 freebsd-ufs (1.8T)
gpart show ada1
=> 40 3907029088 ada1 GPT (1.8T)
40 128 1 freebsd-boot (64K)
168 4194304 2 freebsd-swap (2.0G)
4194472 3902799872 3 freebsd-ufs (1.8T)
3906994344 34784 - free - (17M)
thanks,
matheus