Pool / Drive storage capacity not reporting properly

Status
Not open for further replies.

Milhouse

Guru
Joined
Jun 1, 2011
Messages
564
I'm not sure you can "trust" the output of dh when looking at ZFS filesystems - the ZFS datasets are all layered on the same storage pool, and dh may give misleading results.

The output from your "zfs list" seems OK - your used space amounts to ~1.55TB (the sum of used space for each dataset), and you have a total of 1.15TB remaining to all of these datasets (except where a quota has been applied). This would mean you started out with about ~2.7TB of usable storage, which would be about right for 3x1.5TB/Z1.
 

rabiat

Dabbler
Joined
Oct 4, 2011
Messages
19
I'm not sure I can trust freenas/zfs with my data. If close to 2TB of usable disk space can magically disappear, what keeps another 2TB from disappearing all of a sudden?

I really like the concept of freenas but I didn't expect these weird problems to happen.
 

originalprime

Dabbler
Joined
Sep 22, 2011
Messages
30
Created a trouble ticket

@rabiat,

I guess the good news is that the disk space did not actually disappear, it simply isn't being reported properly by the web GUI. I have just submitted a trouble ticket which will hopefully shed some light on whatever is happening here.

Like you, I too and treading into FreeNAS and ZFS cautiously. I am a lifelong Microsoft guy and do not know the first thing about Unix or Linux. I do however have a growing need for better storage management and I want FreeNAS to be my replacement for Windows Home Server v1.

Hopefully this works out and I can set my data loose on my FreeNAS box. Until then I have to keep two servers running.
 

rabiat

Dabbler
Joined
Oct 4, 2011
Messages
19
Thanks for the information originalprime!

Just let me know if you need any command outputs from my side that would help in the trouble ticket.
 

joeschmuck

Old Man
Moderator
Joined
May 28, 2011
Messages
10,994
@rabiat,
You should add your two cents. It can only help the developers.
 

rabiat

Dabbler
Joined
Oct 4, 2011
Messages
19
Just an update:

Yesterday my Freenas server reported 4.4TiB instead of 4.1TiB of total space on volume1. Today it's back as it was from the beginning:

Code:
zfs list
NAME      USED  AVAIL  REFER  MOUNTPOINT
volume1  2.09T  3.10T  2.04T  /mnt/volume1


Code:
zpool list
NAME      SIZE   USED  AVAIL    CAP  HEALTH  ALTROOT
volume1  7.25T  2.88T  4.37T    39%  ONLINE  /mnt


Code:
df -h
Filesystem             Size    Used   Avail Capacity  Mounted on
/dev/ufs/FreeNASs1a    927M    429M    424M    50%    /
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     18M     51M    26%    /var
/dev/ufs/FreeNASs4      20M    907K     17M     5%    /data
volume1                5.1T    2.0T    3.1T    40%    /mnt/volume1
 

AndyVas

Cadet
Joined
Oct 31, 2011
Messages
5
The same problem...

Hi All! I have some problem too. I install FreeNAS version 8.0.2 stable on computer with 4x3Tb HDD as RAIDZ and have one volume named "FreeNAS" 7.8Tb after fresh install. Then I create 4 datasets (Music Public Video and Support), create shares and copy some data from my old Windows server to NAS. Now NAS working fine without errors but I have incorrect sizes of my datasets and incorrect shares info when I see free space on my Windows computers.

GUI capture:
GUI capture

Some SSH output:
Code:
/root$ zpool status -v
  pool: FreeNAS
 state: ONLINE
 scrub: none requested
config:

	NAME                                            STATE     READ WRITE CKSUM
	FreeNAS                                         ONLINE       0     0     0
	  raidz1                                        ONLINE       0     0     0
	    gptid/79432f5b-fbd5-11e0-a8fe-1c6f65cfd826  ONLINE       0     0     0
	    gptid/79c35ce0-fbd5-11e0-a8fe-1c6f65cfd826  ONLINE       0     0     0
	    gptid/7a493dd0-fbd5-11e0-a8fe-1c6f65cfd826  ONLINE       0     0     0
	    gptid/7acb1554-fbd5-11e0-a8fe-1c6f65cfd826  ONLINE       0     0     0

errors: No known data errors

/root$ zpool list
NAME      SIZE   USED  AVAIL    CAP  HEALTH  ALTROOT
FreeNAS  10.9T  5.24T  5.64T    48%  ONLINE  /mnt

/root$ df -k
Filesystem          1024-blocks       Used      Avail Capacity  Mounted on
/dev/ufs/FreeNASs1a      948903     439106     433884    50%    /
devfs                         1          1          0   100%    /dev
/dev/md0                   4380       3640        392    90%    /etc
/dev/md1                    732         16        660     2%    /mnt
/dev/md2                  76316      19936      50276    28%    /var
/dev/ufs/FreeNASs4        20263        798      17844     4%    /data
FreeNAS              4267415931        209 4267415722     0%    /mnt/FreeNAS
FreeNAS/Music        4319315197   51899475 4267415722     1%    /mnt/FreeNAS/Music
FreeNAS/Public       4388761343  121345621 4267415722     3%    /mnt/FreeNAS/Public
FreeNAS/Support      4267523404     107682 4267415722     0%    /mnt/FreeNAS/Support
FreeNAS/Video        8178103015 3910687293 4267415722    48%    /mnt/FreeNAS/Video

/root$ df -h
Filesystem             Size    Used   Avail Capacity  Mounted on
/dev/ufs/FreeNASs1a    927M    429M    424M    50%    /
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     19M     49M    28%    /var
/dev/ufs/FreeNASs4      20M    787K     17M     4%    /data
FreeNAS                3.9T    209K    3.9T     0%    /mnt/FreeNAS
FreeNAS/Music          4.0T     49G    3.9T     1%    /mnt/FreeNAS/Music
FreeNAS/Public         4.1T    147G    3.9T     4%    /mnt/FreeNAS/Public
FreeNAS/Support        3.9T    105M    3.9T     0%    /mnt/FreeNAS/Support
FreeNAS/Video          7.6T    3.6T    3.9T    48%    /mnt/FreeNAS/Video

/root$ zfs list
NAME              USED  AVAIL  REFER  MOUNTPOINT
FreeNAS          3.81T  3.97T   209K  /mnt/FreeNAS
FreeNAS/Music    49.5G  3.97T  49.5G  /mnt/FreeNAS/Music
FreeNAS/Public    124G  3.97T   124G  /mnt/FreeNAS/Public
FreeNAS/Support   105M  3.97T   105M  /mnt/FreeNAS/Support
FreeNAS/Video    3.64T  3.97T  3.64T  /mnt/FreeNAS/Video


What is it? Thanks in advance for any replies.
 

AndyVas

Cadet
Joined
Oct 31, 2011
Messages
5
Why base FreeNAS volume reported only 3.9T full size while FeeNAS/Video dataset report correct 7.6T with df -h output? After fresh install all datasets and FreeNAS volume report full size 7.8T but now only FeeNAS/Video report 7T. I am not understand "Size" column in df -h output, "Used" and "Avail" have true information. And zfs list output is correct I think. The same sizes in GUI interface and share info on Windows computer connected to this shares. I see full size 7.6T only on FeeNAS/Video dataset but not on others datasets and primary volume FreeNAS. Are this correct?
 
Status
Not open for further replies.
Top