Hi guys,
I have a question regarding pool expansion but I am not sure if it is even a problem or just a misunderstanding on my side.
Two days ago I upgraded my running raidz pool (tank-data0 / 4x 1TB HDDs). I had and still have two datasets in that pool - "david" and "storage0". Pool size was ~3,5TB.
One by one I exchanged all HHDs via
So far so good.
When I check the pool size via
Even the numbers don't add up.
Still, I am not sure if that is even a problem. But it looks to me like the pool expansion did not affect the dataset size, or am I getting it wrong?
Thx 4 Thanks for your help.
Regards
David
I have a question regarding pool expansion but I am not sure if it is even a problem or just a misunderstanding on my side.
Two days ago I upgraded my running raidz pool (tank-data0 / 4x 1TB HDDs). I had and still have two datasets in that pool - "david" and "storage0". Pool size was ~3,5TB.
One by one I exchanged all HHDs via
zpool replace
with 2TB HDDs and waited for resilvering to complete. After that I manually expanded the pool via zpool online -e [...]
(because autoexpand and pool export/import wouldn't work). New size now is 7,25TB.So far so good.
When I check the pool size via
zpool list
the new size is correct. But when I am using the zfs list
command, pool and datasets still have the old size. See for yourself:
Code:
root@z:/usr/home/xyz # zpool list
NAME SIZE ALLOC FREE CAP DEDUP HEALTH ALTROOT
[...]
tank-data0 [B]7.25T[/B] 2.49T 4.76T 34% 1.00x ONLINE -
root@z:/usr/home/xyz # zfs list
NAME USED AVAIL REFER MOUNTPOINT
[...]
tank-data0 [B]1.86T 3.48T[/B] 52.4K /mnt/tank-data0
tank-data0/dataset-david [B]65.4G 3.48T[/B] 65.4G /mnt/tank-data0/dataset-david
tank-data0/dataset-storage0 [B]1.80T 3.48T[/B] 1.80T /mnt/tank-data0/dataset-storage0
Even the numbers don't add up.
zpool list
tells me that ~2.5 TB are in use (ALLOC). But zfs list
says that there are 1.86TB USED. FREE and AVAIL numbers do not match either.Still, I am not sure if that is even a problem. But it looks to me like the pool expansion did not affect the dataset size, or am I getting it wrong?
Regards
David