Used manual to grow a pool and BIG question on storage

dcdah

Dabbler
Joined
Apr 5, 2012
Messages
11
Running FreeNAS 9.10.2-U6 with 2 volumes of 3 x 2TB discs each in a raidz1 for each stack. The only thing that I use them for is media storage and both were filling up.
I followed the FreeNAS documentation under section 8.1.11 "Replacing Drives to Grow a Pool". Replaced each 2TB drive in zpool1 (pool with the jails and most of my movies) with a new WD Red 4TB disk one at a time and I expected to see a corresponding doubling in size of space remaining after resilvering. Before upgrade 3.7 TB used, 1.7 TB available. After 3.7 used, 1.7 available. I have no clue where the extra space went or how to access it.

After we get this figured out I will look into Volume and Dataset storage...

Thanks for the help!!
 

dcdah

Dabbler
Joined
Apr 5, 2012
Messages
11
For zpool status:

state: ONLINE
scan: scrub repaired 0 in 2h56m with 0 errors on Mon Dec 31 15:41:10 2018
config:

NAME STATE READ WRITE CKSUM
ZPool1 ONLINE 0 0 0
raidz1-0 ONLINE 0 0 0
gptid/1ff388d6-09b9-11e9-a78c-408d5cbb3cef ONLINE 0 0 0
gptid/25e3cb35-0949-11e9-8ed5-408d5cbb3cef ONLINE 0 0 0
gptid/23e56e88-0a1b-11e9-9d30-408d5cbb3cef ONLINE 0 0 0

errors: No known data errors

and for zpool get autoexpand zpool1:

NAME PROPERTY VALUE SOURCE
ZPool1 autoexpand off default
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
ZPool1 autoexpand off default
There's your problem. zpool set autoexpand=on ZPool1, then zpool online -e each of the member disks. Very odd that your pool would have been created with autoexpand off, though.

Also strange that this isn't in the manual, as I'm certain it used to be there.
 

dcdah

Dabbler
Joined
Apr 5, 2012
Messages
11
Thanks so much for the very quick help. That has me up where I expected to be. I went back and looked in my manual for 9.10 and can find nothing about auto expand or expand. I am not up on this enough to change any existing settings so I doubt if I turned it off. Thanks again for the quick help, it is very much appreciated.
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
I went back and looked in my manual for 9.10 and can find nothing about auto expand or expand.
I remember distinctly that it was with the directions on expanding a pool by replacing disks--but it isn't there now. Not sure when it was removed.
 

dcdah

Dabbler
Joined
Apr 5, 2012
Messages
11
Went ahead and did the "zpool set autoexpand=on ZPool2" so that if/when I replace the disks in ZPool2 it should work automatically. Thanks again.
 
Top