ZPOOL not growing after replacing all drives in pool with larger drives

Status
Not open for further replies.

Sir.Robin

Guru
Joined
Apr 14, 2012
Messages
554
So i have a FreeNAS 8.3 system running with 5x 500GB drives in Raidz2 "repl01".
Replaced all drives one at a time by first taking it offline in gui. Then replaced the drive and waited for resilver to complete before taking the next one.

Now all drives are 750GB.

My zpool still shows the same old size.

[NAS02] /# zfs list
NAME USED AVAIL REFER MOUNTPOINT
repl01 295G 1.03T 10.7G /mnt/repl01

Have tried to do an zpool export from cli. then auto import from GUI. Gives error. Already have volume with same name.
Tried again and then after exporting it i first "Detached" the volume in GUI before auto import.

I can now see my pool again but with same size as always. Also i cant see the drives or snapshots in gui. Something isnt working correctly.

Heeelp :(
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,526
Rebooting fixes the issue for everyone that has had the problem.a
 

Sir.Robin

Guru
Joined
Apr 14, 2012
Messages
554
Reboot does not fix the issue. Had several reboots.

volume is not getting any bigger.
View disks lists nothing.
Snapshot page lists nothing.

My share is accessible though and i can see the volume and datasets.
 

Sir.Robin

Guru
Joined
Apr 14, 2012
Messages
554
Ok i now see my drives and snapshots. Everything seems ok except the space.

How do i get it to use the extra space available on the drives?
 

Sir.Robin

Guru
Joined
Apr 14, 2012
Messages
554
[NAS02] /# gpart show ada0
=> 34 1465149101 ada0 GPT (698G)
34 94 - free - (47k)
128 4194304 1 freebsd-swap (2.0G)
4194432 1460954703 2 freebsd-zfs (696G)

[NAS02] /# gpart show ada1
=> 34 1465149101 ada1 GPT (698G)
34 94 - free - (47k)
128 4194304 1 freebsd-swap (2.0G)
4194432 1460954703 2 freebsd-zfs (696G)

[NAS02] /# gpart show ada2
=> 34 1465149101 ada2 GPT (698G)
34 94 - free - (47k)
128 4194304 1 freebsd-swap (2.0G)
4194432 1460954703 2 freebsd-zfs (696G)

[NAS02] /# gpart show ada3
=> 34 1465149101 ada3 GPT (698G)
34 94 - free - (47k)
128 4194304 1 freebsd-swap (2.0G)
4194432 1460954703 2 freebsd-zfs (696G)

[NAS02] /# gpart show ada4
=> 34 1465149101 ada4 GPT (698G)
34 94 - free - (47k)
128 4194304 1 freebsd-swap (2.0G)
4194432 1460954703 2 freebsd-zfs (696G)

[NAS02] /# zpool status repl01
pool: repl01
state: ONLINE
scan: resilvered 98.9G in 0h54m with 0 errors on Sat Dec 22 01:11:24 2012
config:

NAME STATE READ WRITE CKSUM
repl01 ONLINE 0 0 0
raidz2-0 ONLINE 0 0 0
gptid/236f396c-4b9d-11e2-b4d5-001b215592be ONLINE 0 0 0
gptid/0df3980d-4ba8-11e2-919b-001b215592be ONLINE 0 0 0
gptid/97b77c03-4bb2-11e2-8dd5-001b215592be ONLINE 0 0 0
gptid/7bdd94dc-4bc4-11e2-8fda-001b215592be ONLINE 0 0 0
gptid/437dba36-4bbb-11e2-8480-001b215592be ONLINE 0 0 0

errors: No known data errors

[NAS02] /# zfs list repl01
NAME USED AVAIL REFER MOUNTPOINT
repl01 295G 1.03T 10.7G /mnt/repl01



Why isn't it picking up the extra space?
 

Sir.Robin

Guru
Joined
Apr 14, 2012
Messages
554
GOT IT!! :cool:

So what i did:

[NAS02] /# zpool status
pool: repl01
state: ONLINE
scan: resilvered 98.9G in 0h54m with 0 errors on Sat Dec 22 01:11:24 2012
config:

NAME STATE READ WRITE CKSUM
repl01 ONLINE 0 0 0
raidz2-0 ONLINE 0 0 0
gptid/236f396c-4b9d-11e2-b4d5-001b215592be ONLINE 0 0 0
gptid/0df3980d-4ba8-11e2-919b-001b215592be ONLINE 0 0 0
gptid/97b77c03-4bb2-11e2-8dd5-001b215592be ONLINE 0 0 0
gptid/7bdd94dc-4bc4-11e2-8fda-001b215592be ONLINE 0 0 0
gptid/437dba36-4bbb-11e2-8480-001b215592be ONLINE 0 0 0

errors: No known data errors
[NAS02] /#
[NAS02] /#zpool online -e repl01 gptid/236f396c-4b9d-11e2-b4d5-001b215592be
[NAS02] /#zpool online -e repl01 gptid/0df3980d-4ba8-11e2-919b-001b215592be
[NAS02] /#zpool online -e repl01 gptid/97b77c03-4bb2-11e2-8dd5-001b215592be
[NAS02] /#zpool online -e repl01 gptid/7bdd94dc-4bc4-11e2-8fda-001b215592be
[NAS02] /#zpool online -e repl01 gptid/437dba36-4bbb-11e2-8480-001b215592be
[NAS02] /#reboot

And voila :)
 
Status
Not open for further replies.
Top