Hi, I have been using truenas for a while now, and I noticed this strange issue. Every time I put a file on my SMB share to one of my disks, the disk size goes down. Not like how much is being used, but the actual size of the disk is going down. Here is what I mean: My network share being completely empty
Copying a 2TB file to it over SMB
The disks size itself decreasing, not showing disk usage like windows usually does
For reference, this is what SMB shares usually look like, or any other windows drive when they have files on them, they have a blue bar:
How come truenas is modifying the actual size of the disk instead of just showing that blue bar? This isn’t too much of an issue to me, just a little bit of an inconvience and a bit odd. Is there a way to change this?
My disk setup is 2X 20TB hard drives in mirror mode, my truenas is running in a VM on proxmox, and my disks and pool are set to encryption.
It’s just a cosmetic issue because of how windows interprets ZFS space information, which is more complex than can be simply represented. The available space is always correct. This is what actually matters to clients. If you want to track ZFS space usage, you should user proper zfs-aware tools and not file explorer.
Hey, I know its been 12 days, and I understand that I should be looking at the truenas GUI for storage usage, but is there a reason that one SMB volume (media) works as I wanted it to the other day, while the other one (tank) still doesn’t?
It’s just accidentally showing something you think is right. The algorithm is simple. It’s simply summing up the dataset used with the dataset available and calling it the total size of the volume. There is no concept of multiple filesystems (datasets) with a combined storage pool.