zpool expanded but not dataset

Status
Not open for further replies.

aufalien

Patron
Joined
Jul 25, 2013
Messages
374
Hi there,

It's been a while.

At any rate happy as a clam with FreeNAS, been a user since 9.0?

Have a low bandwidth server with 16x4TB SAS @RaidZ2, 1x vdev. Would have preferred 2x vdevs but it is what it is.

I recently did a live swap of disks to 8TB SAS but before hand set autoexpand to on for the zpool.

While my zpool named library is showing more size, the dataset named LIB is not.

What am I missing?

Some output;
~# zpool get autoexpand
NAME PROPERTY VALUE SOURCE
library autoexpand on local

~# zfs list library/LIB
NAME USED AVAIL REFER MOUNTPOINT
library/LIB 38.7T 7.56T 38.7T /mnt/library/LIB

~# zpool list
NAME SIZE ALLOC FREE EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT
library 116T 47.2T 68.8T - 5% 40% 1.00x ONLINE /mnt

The dataset was ~42TB in total size before and I'm expecting ~84TB.

The ~42TB was based on reality in terms of it's size prior to the expansion and 84 is based on 14x8x.75 were I have 16 drives but 2 were removed for RaidZ2.

So were did I go wrong? I've read the manual and forums before embarking on this.

Thanks in advance.
 

aufalien

Patron
Joined
Jul 25, 2013
Messages
374
Hi and thank for responding, especially on a Sunday.

No quota that I know of but here is my output;

~# zfs get quota library
NAME PROPERTY VALUE SOURCE
library quota none default

~# zfs get refquota library
NAME PROPERTY VALUE SOURCE
library refquota none default

~# zfs get quota library/LIB
NAME PROPERTY VALUE SOURCE
library/LIB quota none local

zfs get refquota library/LIB
NAME PROPERTY VALUE SOURCE
library/LIB refquota 46.3T local

That last value being 46.3T is interesting. Should I concern myself with it?
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
That last value being 46.3T is interesting. Should I concern myself with it?
Indeed it is--it exactly matches the sum of the Used and Available that you posted. Seems very coincidental to me.
 

aufalien

Patron
Joined
Jul 25, 2013
Messages
374
Badabing, badaboom!
SOLVED!!!

Output;
~# zfs set refquota=none library/LIB

~# zfs list library/LIB
NAME USED AVAIL REFER MOUNTPOINT
library/LIB 38.7T 53.4T 38.7T /mnt/library/LIB

And df -h in my mixed Lunix/OSX clients shows the new size being 92TB which is odd and 10TB too much.

Perhaps I'll reset refquota to what I think it should be.

Thank you very much!

This solved my issue.

BTW I never set refquota and will be aware of it now.

Thanks again.
 

aufalien

Patron
Joined
Jul 25, 2013
Messages
374
PS I reset it to 82TB as my original value was actually 41TB and some change.

I prefer to error on the conservative side.
 

aufalien

Patron
Joined
Jul 25, 2013
Messages
374
PSS I'm dumb, unsure but I simply left all quotas to none. Very happy with FreeNAS.
 
Status
Not open for further replies.
Top