Page 1 of 1

ZFS Pool values disarray.

Posted: 09 Jan 2017 12:11
by Victek
Hi all,

I have 5x4TB HDD in Raidz1 configuration.
pool: datos
state: ONLINE
scan:
config:

NAME STATE READ WRITE CKSUM
datos ONLINE 0 0 0
raidz1-0 ONLINE 0 0 0
ada1 ONLINE 0 0 0
ada2 ONLINE 0 0 0
ada3 ONLINE 0 0 0
ada4 ONLINE 0 0 0
ada5 ONLINE 0 0 0

errors: No known data errors

In Status GUI I see the following information:

Disk Space Usage
datos
33% of 18.1TB
Total: 18.1T | Alloc: 6.05T | Free: 12.1T | State: ONLINE

But in Diagnostics>Information>Space Used I see:
Space Usage
Information
Filesystem Type Size Used Avail Capacity Mounted on
.....
datos zfs 14T 4.8T 9.2T 34% /mnt/datos

So, I think the figures are pointing to different subjects, Status GUI shows the RAID space (18.1TB), not the available data space (14TB), right?. Can we change it in the Status GUI since the first is 'useless'?. Am I wrong?
Cheers

Re: ZFS Pool values disarray.

Posted: 09 Jan 2017 13:31
by raulfg3
no, you are right.

is a historical discuss, one show total size including parity, other show real available data space.

only need to know to avoid confusion.

and no, you can't change because you need to change php code and can be lost on each update.

http://forums.nas4free.org/viewtopic.php?f=66&t=10186

http://forums.nas4free.org/viewtopic.php?f=66&t=10003

http://forums.nas4free.org/viewtopic.php?f=66&t=9740

Re: ZFS Pool values disarray.

Posted: 09 Jan 2017 15:28
by raulfg3
Ok, I recibe a mail about a tweak that can be used:
ms49434 wrote:there's a parameter you can set in config.xml to show used/avail
instead of alloc/free on the main page and in zfs pool:

<zfs>
<settings>
<showusedavail/>
</settings>
...
</zfs>

Please tellme if works.


PD: Thanks to ms49434 for the info.