Harddrive full over night...

Status
Not open for further replies.

pomah

Explorer
Joined
Jul 30, 2012
Messages
55
Hello

I have a problem, my hadrdive just went full over night, I have no idea what happend...

See the attached image
freenas.png


What can I do? I cant understand or find what is taking upp those 300gbs...
 

styno

Patron
Joined
Apr 11, 2016
Messages
466
You start to check what is on there.
df -h
ls -la /mnt
zfs list
 

Spearfoot

He of the long foot
Moderator
Joined
May 13, 2015
Messages
2,478
Looks like your /mnt/wd/jails/transmission_1/media directory is the culprit. Perhaps Transmission went wild overnight and filled it up?
 

styno

Patron
Joined
Apr 11, 2016
Messages
466
Allright, one more
du -sh /mnt/wd/*
And do you have snapshots?

Edit: nevermind. Downloaded some 4K movies?
 

pomah

Explorer
Joined
Jul 30, 2012
Messages
55
Transmission has no script or anything, just been downloading the usual x264 things, nothing that takes up more than like 10g total...

I can try to unmount the jail mount point?

No snapshoots...

Here is the output, how can I clean the jail directory should not be 360g in it...
freenas7.png
 

styno

Patron
Joined
Apr 11, 2016
Messages
466
You don't have clean out the jail directory. The space in there is from the mounted Media folder.
The sum of everything (but the jail folder) is 855G so that works out why your system is running out of data.
Ideally you should've created datasets for Cloud, Dokument, Media & nadja instead of 'just' subdirectories, that would give you a better overview.
 

pomah

Explorer
Joined
Jul 30, 2012
Messages
55
Ok, I can do that later, but I still dont get what caused those 300gb show up over night...
 

styno

Patron
Joined
Apr 11, 2016
Messages
466
You can't really know as you don't have individual graphs on subdirectories, the graphs are only generated for datasets.
You should be able to run that du command on snapshots to figure out what the size of the dirs was before the fill-up, but alas, no snapshots.
I am afraid that at this point, only you can tell from the output of the du where the space was added overnight.
 

pomah

Explorer
Joined
Jul 30, 2012
Messages
55
Ok I think i figured it out, Nadja was full of things that should not have been there, I must have copied things there by misstake. Ty guys for all your help.

Last question, if i create a user, how can I make sure that there is no "home" directory created with that user?

And another question, should the datasets be created under "WD" or on the same level as "WD"?
 
Last edited:
Status
Not open for further replies.
Top