Truenas shows wrong capacity?

Hi there,

I’m new to the TrueNAS, having recently switched from Synology.

Initially, my pool consisted of 3 × 8TB disks. After copying all my data, I added 2 × 8TB disks to the pool.

Now, I’m seeing different capacity values:

In the GUI:

Data Topology: 1 × RAIDZ1 | 5-wide | 7.28 TiB
Usable Capacity: 24.1 TiB

Via SSH:

sudo zpool list
NAME SIZE ALLOC FREE CKPOINT EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT
boot-pool 464G 5.42G 459G - - 0% 1% 1.00x ONLINE -
data 36.4T 5.34T 31.0T - - 0% 14% 1.00x ONLINE /mnt
sudo du -sh /mnt/data
3.6T /mnt/data
Can someone help me understand these differences in reported capacity?

Regards Helle

CLI is correct. GUI is a known issue with expansion and reporting

2 Likes

Thanks for you quick response. Is there anything I can do to fix it?

No fixes. Browse the forums for the posts about it. I don’t have a specific link to share quickly.

It may be fixed in the future of TrueNAS and ZFS, or may not… Expansion and reporting is a bit complicated as you will read

iamwoz, thanks for posting the links

1 Like

Welcome fellow expansionist

3 Likes

BTW there’s a veritable goldmine of ZFS RAIDZ expansion content here:

3 Likes

Thanks for your replies.
As i a love everything clean, I have to think about to rebuild the system from the scratch…

Have you come across this yet? If not its definitely worth doing:

Yes, I saw Lawrence Systems Youtube Video about this, but red different experiences with this Script…

1 Like

Interested in any issues / negatives (apart from it taking forever on big pools :slight_smile: ) as I’m doing lots of this - can you point me at anything?

No, sorry, as I have been using TrueNAS for only 1-2 weeks.

Right now, I’ m testing it, but only the free space is changing, not the overall space.

So I’m thinking about starting over again.

After reinstalling, would it be enough to simply import the settings and recover all data via Cloud Sync?

From reading this appears to be a very straightforward process (certainly the backup and restore of configuration) although have never done it myself.

Ok, first error, if you create a new pool after new installation, you will NOT get the Datasets back, if you import the Config File…

If you think a bit about it, the “rebalance” script is really a “rewrite every file on your pool and remove the originals” script, which means that if you do it on a system that has:

  1. snapshots
  2. already low available space

You can get yourself into some trouble.

1 Like

The datasets are on the pool. If you erase the pool, you erase the datasets.

1 Like

Had to learn it the hard way :wink: