I have a PureNAS Core (12.2) system that was running a ZFS pool with a single 4TB vdev. The vdev is an iSCSI LUN served by a PureStorage SAN.
Usage was starting to creep up towards 70%, so I created an additional 4TB LUN in the SAN and then exposed it to the PureNAS box. I then added the LUN to the pool. The result:
# zpool list -v
NAME SIZE ALLOC FREE CKPOINT EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT
TANK 7.97T 2.85T 5.12T - - 34% 35% 1.00x ONLINE /mnt
gptid/811314ce-7324-11ec-857e-00505687c9e9 3.98T 2.75T 1.23T - - 61% 69.0% - ONLINE
gptid/4e66d155-385b-11ee-a94f-00505687c9e9 3.98T 102G 3.88T - - 7% 2.49% - ONLINE
(new vdev in bold)
This ended up looking as it should. However, the new PureStorage LUN has rapidly increased from 0GB to 800GB in the matter of 5 days, even though the ZFS usage listed above shows only 102G. The original LUN in the SAN (811314ce-7324-11ec-857e-00505687c9e9) shows no increase OR decrease in usage.
Can anyone explain what ZFS is doing here? Why am I suddenly using 800GB *more* data on my SAN by adding the disk to the pool? I would have thought if 800GB is now used on the new LUN that I would see an equal drop in the other LUN, but that hasn't happened.
In hindsight I probably should have just expanded the 4TB LUN to 8TB, but for now I'm just trying to wrap my head around what is going on here.
Thank you!
Usage was starting to creep up towards 70%, so I created an additional 4TB LUN in the SAN and then exposed it to the PureNAS box. I then added the LUN to the pool. The result:
# zpool list -v
NAME SIZE ALLOC FREE CKPOINT EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT
TANK 7.97T 2.85T 5.12T - - 34% 35% 1.00x ONLINE /mnt
gptid/811314ce-7324-11ec-857e-00505687c9e9 3.98T 2.75T 1.23T - - 61% 69.0% - ONLINE
gptid/4e66d155-385b-11ee-a94f-00505687c9e9 3.98T 102G 3.88T - - 7% 2.49% - ONLINE
(new vdev in bold)
This ended up looking as it should. However, the new PureStorage LUN has rapidly increased from 0GB to 800GB in the matter of 5 days, even though the ZFS usage listed above shows only 102G. The original LUN in the SAN (811314ce-7324-11ec-857e-00505687c9e9) shows no increase OR decrease in usage.
Can anyone explain what ZFS is doing here? Why am I suddenly using 800GB *more* data on my SAN by adding the disk to the pool? I would have thought if 800GB is now used on the new LUN that I would see an equal drop in the other LUN, but that hasn't happened.
In hindsight I probably should have just expanded the 4TB LUN to 8TB, but for now I'm just trying to wrap my head around what is going on here.
Thank you!