ZFS info and lost capacity?

Status
Not open for further replies.

glich

Dabbler
Joined
Jun 16, 2011
Messages
20
Hello,
I have 8 disks in a raid z1, 4 are 1,5TB and the other 4 2TB.
When I create it it was around 10TB.
I have created 3 datasets.
Now with FN 8.0.1 RC1 I have this info:
[root@FREENAS8] /var/log# df -h
Filesystem Size Used Avail Capacity Mounted on
/dev/ufs/FreeNASs2a 927M 406M 446M 48% /
devfs 1.0K 1.0K 0B 100% /dev
/dev/md0 4.3M 3.6M 392K 90% /etc
/dev/md1 732K 16K 660K 2% /mnt
/dev/md2 75M 15M 53M 22% /var
/dev/ufs/FreeNASs4 20M 555K 18M 3% /data
ZFS_R5 6.3T 55G 6.3T 1% /mnt/ZFS_R5
ZFS_R5/FOTOS 6.3T 17G 6.3T 0% /mnt/ZFS_R5/FOTOS
ZFS_R5/TEMPORAL 7.6T 1.3T 6.3T 18% /mnt/ZFS_R5/TEMPORAL
ZFS_R5/TVIX 7.9T 1.6T 6.3T 21% /mnt/ZFS_R5/TVIX
[root@FREENAS8] /var/log# zpool status
pool: ZFS_R5
state: ONLINE
scrub: none requested
config:

NAME STATE READ WRITE CKSUM
ZFS_R5 ONLINE 0 0 0
raidz1 ONLINE 0 0 0
gpt/disk0 ONLINE 0 0 0
gpt/disk1 ONLINE 0 0 0
ada2p2 ONLINE 0 0 0
gpt/disk3 ONLINE 0 0 0
gpt/disk4 ONLINE 0 0 0
gptid/a287ebff-9273-11e0-8f55-0013f7ef3ef5 ONLINE 0 0 0
gpt/disk6 ONLINE 0 0 0
gpt/disk7 ONLINE 0 0 0

errors: No known data errors
[root@FREENAS8] /var/log# zfs list
NAME USED AVAIL REFER MOUNTPOINT
ZFS_R5 3.06T 6.27T 55.3G /mnt/ZFS_R5
ZFS_R5/FOTOS 17.2G 6.27T 17.2G /mnt/ZFS_R5/FOTOS
ZFS_R5/TEMPORAL 1.35T 6.27T 1.35T /mnt/ZFS_R5/TEMPORAL
ZFS_R5/TVIX 1.64T 6.27T 1.64T /mnt/ZFS_R5/TVIX
[root@FREENAS8] /var/log#

my questions:
1.- is normal in zpool satus appears that info?
ada2p2 ONLINE 0 0 0
gptid/a287ebff-9273-11e0-8f55-0013f7ef3ef5 ONLINE 0 0 0

2.- Why df -h show different hdd size?
ZFS_R5 6.3T 55G 6.3T 1% /mnt/ZFS_R5
ZFS_R5/FOTOS 6.3T 17G 6.3T 0% /mnt/ZFS_R5/FOTOS
ZFS_R5/TEMPORAL 7.6T 1.3T 6.3T 18% /mnt/ZFS_R5/TEMPORAL
ZFS_R5/TVIX 7.9T 1.6T 6.3T 21% /mnt/ZFS_R5/TVIX

3.- and the most important, ZFS_R5 is now 6.3T. Where are the other 4TB?

Thanks all for your help
 

freeflow

Dabbler
Joined
May 29, 2011
Messages
38
ZFS will only use 1.5TB of your 2TB disks (that's 2TB lost). You then lose 1.5 TB to the parity disk. Then you have to correct for hard drive manufacturers using 1000 instead of 1024 as a kilobyte (That's effectively your remoining 0.5TB lost).
 

glich

Dabbler
Joined
Jun 16, 2011
Messages
20
Hi freeflow,
I do see your point, but before I put any data available space was 10,5 TB.
If I use your method to calculate space I do see 3TB lost.

And another strange issue is the different Hdd size shown at df -h:
Filesystem Size Used Avail Capacity Mounted on
ZFS_R5 6.3T 55G 6.3T 1% /mnt/ZFS_R5
ZFS_R5/FOTOS 6.3T 17G 6.3T 0% /mnt/ZFS_R5/FOTOS
ZFS_R5/TEMPORAL 7.6T 1.3T 6.3T 18% /mnt/ZFS_R5/TEMPORAL
ZFS_R5/TVIX 7.9T 1.6T 6.3T 21% /mnt/ZFS_R5/TVIX
 

glich

Dabbler
Joined
Jun 16, 2011
Messages
20
I do agee, but what I do see is not 9.5TB.
with df -h i do see different values, 6.3, 7.6 or 7.9. None of them 9.5, so thats the reason for the question.

Where are the lose TB?

thanks all
 
Status
Not open for further replies.
Top