Deleting some files but Free space doesnt change in the Zpool

Status
Not open for further replies.

Winol

Dabbler
Joined
Aug 13, 2011
Messages
21
Hey there guys

I got an HP Proliant Microserver running freenas 8.0.2 with 8Gb of Ram and 4x2TB WD Caviars EARS.
I have some network issue related to performance (reachability is OK). http://forums.freenas.org/showthread.php?3117-slow-network-throughput-on-HP-microserver


I noticed that my free space on my zpool was low so I decided to clean it up and delete some movies.

here are the df -h command BEFORE and AFTER I deleted the files:


[root@freenas] ~# 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 384K 90% /etc
/dev/md1 732K 16K 660K 2% /mnt
/dev/md2 75M 18M 50M 26% /var
/dev/ufs/FreeNASs4 20M 1.1M 17M 6% /data
Datas 4.7T 4.4T 350G 93% /mnt/Datas


[root@freenas] ~# 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 384K 90% /etc
/dev/md1 732K 16K 660K 2% /mnt
/dev/md2 75M 18M 51M 26% /var
/dev/ufs/FreeNASs4 20M 1.2M 17M 7% /data
Datas 4.3T 3.9T 372G 92% /mnt/Datas



Can someone explain me why the Size of the pool decreased ? and why the Available space didnt increase ??


Here are some additionnals commands:






[root@freenas] ~# zfs list
NAME USED AVAIL REFER MOUNTPOINT
Datas 4.98T 372G 3.94T /mnt/Datas




[root@freenas] ~# zfs list -t all
NAME USED AVAIL REFER MOUNTPOINT
Datas 4.98T 372G 3.94T /mnt/Datas
Datas@manual-20111014 1.04T - 4.84T -



[root@freenas] ~# zpool list
NAME SIZE USED AVAIL CAP HEALTH ALTROOT
Datas 7.25T 6.65T 613G 91% ONLINE /mnt



[root@freenas] ~# zpool status
pool: Datas
state: ONLINE
scrub: none requested
config:

NAME STATE READ WRITE CKSUM
Datas ONLINE 0 0 0
raidz1 ONLINE 0 0 0
ada0p2 ONLINE 0 0 0
ada1p2 ONLINE 0 0 0
ada2p2 ONLINE 0 0 0
ada3p2 ONLINE 0 0 0



Thanks for the help provided :D
 

William Grzybowski

Wizard
iXsystems
Joined
May 27, 2011
Messages
1,754
Do you have snapshots?

zfs lsit -t snapshots

If you do, thats the reason, the files are not deleted, but moved to snapshot
 

Winol

Dabbler
Joined
Aug 13, 2011
Messages
21
indeed I got snapshot !!!

Thanks for the help. I have now 28% of free space and still experiencing network outage when it comes to performance .... Reachability is ok but well ..

Will see :(


Thanks again
 
Status
Not open for further replies.
Top