Added "last" large HDD to zfs2 but size is unchanged.

Status
Not open for further replies.

Tanss

Cadet
Joined
Mar 18, 2017
Messages
7
Hello,

I am new to the forum and my knowledge of FreeNAS is limited. I had help with setting up my server from the start and did not have to understand a lot about the system at the time. I have used FreeNAS for about 1 year and my current setup is the first instance of me running a NAS.

When my machine was setup I had a few 2TB drives and a few 3TB drives. 8 drives in total which were setup in raidz2. Since I had 2TB drives in the pool my total size was 12TB of usable space at the start. I recently swapped out the last 2TB drive for a 3TB drive. So now I have 8 x 3TB drives running HEALTHY with resilver status completed.

However, I am not seeing any increased storage space. As far as I can tell from reading up on the subject the change should have been automatic at this point.

Any help to achieve 18TB of storage space from my current setup is greatly appreciated.
 

darkwarrior

Patron
Joined
Mar 29, 2015
Messages
336
Hello there,

please post your hardware specs (as per the forum rules) and the output of zpool status to see what is going on.
 

Arwen

MVP
Joined
May 17, 2014
Messages
3,600
Plus, please post the output of the following command in CODE tags;

zpool get autoexpand
 

Tanss

Cadet
Joined
Mar 18, 2017
Messages
7
Hardware:
INTEL CORE I3 550 3.20GHZ 4MB S-1156

GIGABYTE GA-H55M-D2H H55 S-1156 M-ATX

TRANSCEND JETFLASH 700 USB 3.0 16GB

CORSAIR 8GB DDR3 1333MHZ (2X4GB) SO-DIMM

8 x mixed drives:
WD Caviar Green 3TB 5400RPM /
WD Red WD30EFRX 64MB 3TB 5400RPM

Edit: A 240GB SSD as cache. Couldn't find more information on this disk right now.



[root@freenas] ~# zpool get autoexpand
NAME PROPERTY VALUE SOURCE
freenas-boot autoexpand off default
tank autoexpand off default
[root@freenas] ~#




[root@freenas] ~# zpool status
pool: freenas-boot
state: ONLINE
scan: scrub repaired 0 in 0h6m with 0 errors on Fri Mar 10 03:51:05 2017
config:

NAME STATE READ WRITE CKSUM
freenas-boot ONLINE 0 0 0
gptid/4f53ba43-e934-11e5-b8fc-1c6f658127e5 ONLINE 0 0 0

errors: No known data errors

pool: tank
state: ONLINE
scan: resilvered 1.44T in 30h42m with 0 errors on Sat Mar 18 17:57:18 2017
config:

NAME STATE READ WRITE CKSUM
tank ONLINE 0 0 0
raidz2-0 ONLINE 0 0 0
gptid/96ac57ca-6218-11e6-aec3-1c6f658127e5.eli ONLINE 0 0 0
gptid/cfbb1efb-e939-11e5-9d57-1c6f658127e5.eli ONLINE 0 0 0
gptid/d013220e-e939-11e5-9d57-1c6f658127e5.eli ONLINE 0 0 0
gptid/d0711af1-e939-11e5-9d57-1c6f658127e5.eli ONLINE 0 0 0
gptid/b1edd83e-8a08-11e6-9c98-1c6f658127e5.eli ONLINE 0 0 0
gptid/d10e0da0-e939-11e5-9d57-1c6f658127e5.eli ONLINE 0 0 0
gptid/97051efb-0afa-11e7-a9fb-1c6f658127e5.eli ONLINE 0 0 0
gptid/55038e64-ec0d-11e5-ba7b-1c6f658127e5.eli ONLINE 0 0 0
cache
gptid/0f862b84-eded-11e5-9db0-1c6f658127e5.eli ONLINE 0 0 0

errors: No known data errors



I guess having autoexpand as off is the issue...

Thanks for the help so far, looking forward to your replies.
 
Last edited:

darkwarrior

Patron
Joined
Mar 29, 2015
Messages
336
I guess having autoexpand as off is the issue...

Thanks for the help so far, looking forward to your replies.

Yep, indeed. Good guess :p

On the link here you will find what additionally steps you will need to perform.
Basically you need to "online" the drives again, after having enabled the auto-expand feature (of course). ;)
 

Tanss

Cadet
Joined
Mar 18, 2017
Messages
7
TYVM!

From your link I think I need to do the following (please correct me if I'm wrong):


zpool get autoexpand tank


zpool set autoexpand=on tank


zpool online -e tank /dev/gptid/96ac57ca-6218-11e6-aec3-1c6f658127e5.eli


zpool online -e tank /dev/gptid/cfbb1efb-e939-11e5-9d57-1c6f658127e5.eli


zpool online -e tank /dev/gptid/d013220e-e939-11e5-9d57-1c6f658127e5.eli


zpool online -e tank /dev/gptid/d0711af1-e939-11e5-9d57-1c6f658127e5.eli


zpool online -e tank /dev/gptid/b1edd83e-8a08-11e6-9c98-1c6f658127e5.eli


zpool online -e tank /dev/gptid/d10e0da0-e939-11e5-9d57-1c6f658127e5.eli


zpool online -e tank /dev/gptid/97051efb-0afa-11e7-a9fb-1c6f658127e5.eli


zpool online -e tank /dev/gptid/55038e64-ec0d-11e5-ba7b-1c6f658127e5.eli


Then I could also read the following quotes from the link provided:

Online one drive at a time and check the status using the following example. If a drive starts to resilver, you need to
wait for the resilver to complete before proceeding to online the next drive.

After onlining all of the disks, type zpool status to see if the drives start to resilver. If this happens, wait for the
resilvering process to complete.

Which instruction should I follow? Should I online all disks at once or should I check
Code:
zpool status
between each
Code:
zpool online...
?
 
Last edited:

darkwarrior

Patron
Joined
Mar 29, 2015
Messages
336
Yes, you got it. :D
will need to perform these steps, but be sure to use the GPTID you see in the zpool status output (without the .eli suffix; example below)
Code:
zpool status -v
Keep that output to perform your copy/pastes
Code:
zpool get autoexpand tank
zpool set autoexpand=on tank

Followed by:
Code:
zpool online -e tank /dev/gptid/96ac57ca-6218-11e6-aec3-1c6f658127e5
zpool status -v

And yes, be sure to run a zpool status -v after every online command, to be sure that the pool is ready for the next step
 

Tanss

Cadet
Joined
Mar 18, 2017
Messages
7
Thank you very much for clarifying this for me. I will give it a go tomorrow. Time to sleep..
 

darkwarrior

Patron
Joined
Mar 29, 2015
Messages
336

Tanss

Cadet
Joined
Mar 18, 2017
Messages
7
[root@freenas] /# zpool get autoexpand tank

NAME PROPERTY VALUE SOURCE

tank autoexpand on local


[root@freenas] /# zpool online -e tank /dev/gptid/96ac57ca-6218-11e6-aec3-1c6f658127e5

cannot expand /dev/gptid/96ac57ca-6218-11e6-aec3-1c6f658127e5: no such device in pool


[root@freenas] /# zpool status -v

pool: freenas-boot

state: ONLINE

scan: scrub repaired 0 in 0h6m with 0 errors on Fri Mar 10 03:51:05 2017

config:


NAME STATE READ WRITE CKSUM

freenas-boot ONLINE 0 0 0

gptid/4f53ba43-e934-11e5-b8fc-1c6f658127e5 ONLINE 0 0 0


errors: No known data errors


pool: tank

state: ONLINE

scan: resilvered 1.44T in 30h42m with 0 errors on Sat Mar 18 17:57:18 2017

config:


NAME STATE READ WRITE CKSUM

tank ONLINE 0 0 0

raidz2-0 ONLINE 0 0 0

gptid/96ac57ca-6218-11e6-aec3-1c6f658127e5.eli ONLINE 0 0 0

gptid/cfbb1efb-e939-11e5-9d57-1c6f658127e5.eli ONLINE 0 0 0

gptid/d013220e-e939-11e5-9d57-1c6f658127e5.eli ONLINE 0 0 0

gptid/d0711af1-e939-11e5-9d57-1c6f658127e5.eli ONLINE 0 0 0

gptid/b1edd83e-8a08-11e6-9c98-1c6f658127e5.eli ONLINE 0 0 0

gptid/d10e0da0-e939-11e5-9d57-1c6f658127e5.eli ONLINE 0 0 0

gptid/97051efb-0afa-11e7-a9fb-1c6f658127e5.eli ONLINE 0 0 0

gptid/55038e64-ec0d-11e5-ba7b-1c6f658127e5.eli ONLINE 0 0 0

cache

gptid/0f862b84-eded-11e5-9db0-1c6f658127e5.eli ONLINE 0 0 0


errors: No known data errors


[root@freenas] /# zpool online -e tank /dev/gptid/96ac57ca-6218-11e6-aec3-1c6f658127e5

96ac57ca-6218-11e6-aec3-1c6f658127e5% 96ac57ca-6218-11e6-aec3-1c6f658127e5.eli%


I didn't quite make it. Can you tell what is wrong?

Just at the end I checked for suggestions with tab.
 

rs225

Guru
Joined
Jun 28, 2014
Messages
878
edit: Since this is encrypted, the instruction not to include the .eli is wrong. The version with .eli on the end would be correct. You can try issuing the 'online -e' commands with .eli and see if it works. The worst it will do is nothing.
 
Last edited:

darkwarrior

Patron
Joined
Mar 29, 2015
Messages
336
edit: Since this is encrypted, the instruction not to include the .eli is wrong. The version with .eli on the end would be correct. You can try issuing the 'online -e' commands with .eli and see if it works. The worst it will do is nothing.
Oh that is something that I missed in the initial post ...
 

Tanss

Cadet
Joined
Mar 18, 2017
Messages
7
Screen_Shot_2017-03-21_at_13.28.56.png


This seems to have done the trick. I had 81% used space before running the commands and a warning about that. The warning is gone and as you can see the used space is a lot less now. Thank you very much for all the help. I think this issue is resolved.
 
Last edited:
Status
Not open for further replies.
Top