Incorrect used space?

Status
Not open for further replies.

George51

Contributor
Joined
Feb 4, 2014
Messages
126
I have 4 x 500gb drives in Raid Z1 - Giving me just under 1.5TB. I have been sitting at 80% capacity for some time.
Recently installed the plex plugin, creating a new dataset to which plex points, therefore I have moved my media into this new dataset. However as I do the space used increases (Currently 92%) I am aware this is not good for FreeNAS - but I am at a loss as to why it has used quite so much more space? It was a cut and paste job from windows to move the files. And they are not in the orginial dataset anymore.

Any clues?

Cheers
 

George51

Contributor
Joined
Feb 4, 2014
Messages
126
It is also reporting via windows that I have used X out of 704 GB (Its gone down drastically) Its like my pool is shrinking for some reason?
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,525
quotas or reservation(I forget which.. i'm tired) screw up that "out of" value. Lots of stuff people setup in ZFS has unexpected side effects that make things look very wrong. If you don't understand how it works in the background you'll be in for surprises here and there.

As for Plex, if you do the new plex feature where it thumbnails the movie it creates a ton of small files. And small files are the bane of any file system. So I would expect fairly hefty disk usage when you start using plex.
 

George51

Contributor
Joined
Feb 4, 2014
Messages
126
quotas or reservation(I forget which.. i'm tired) screw up that "out of" value. Lots of stuff people setup in ZFS has unexpected side effects that make things look very wrong. If you don't understand how it works in the background you'll be in for surprises here and there.

As for Plex, if you do the new plex feature where it thumbnails the movie it creates a ton of small files. And small files are the bane of any file system. So I would expect fairly hefty disk usage when you start using plex.

I have no quotas/or reservations. (I have had previously - but deleted those datasets)
Instead of moving my files - I have plain old deleted them from the first dataset (with the intention of reuploading) This however has not freed up any space! The 'size' of the pool went from ~600GB to a ~100GB when I deleted the files. (Of an expected size >1TB) Why is deleting files not freeing up space?

I certainly fall into the category of not completely understanding how ZFS works - and this will be one of my surprises then

EDIT: Well I think it was my own fault - I had snapshots of the dataset that I was moving files from - these obviously were the space was being used as once I cleaned out the old snapshots it returned back to normal.

Thank you for the help anyhow.
 
Status
Not open for further replies.
Top