Page 1 of 1

Watch your trash!

Posted: Sat Oct 27, 2018 1:14 am
by bellamatt
I have 7TB in my greyhole share drives, and was running out of space. I couldn't work out how since my shares add up to less than 1TB in total. Turns out I had 6+ TB in the greyhole trash! I didn't realise you need to clear it manually, although it's in the wiki. So if you're running out of space, try greyhole trash!

FYI I found ncdu looking for a CLI disk space analyzer. Seems good, easy install using dnf.

Re: Watch your trash!

Posted: Sat Oct 27, 2018 2:49 pm
by bigfoot65
Yes it will accumulate fast.

I have a command in my .bashrc to calculate the Greyhole trash.

Command is:

Code: Select all

printf '\033[1;31mGreyhole Trash...: \033[0;37m'`du -shL /var/hda/files/greyhole\ trash/ |awk '{print $1}'`
It checks the Greyhole Trash share and reports the amount.

Re: Watch your trash!

Posted: Mon Dec 17, 2018 7:15 am
by modem7
I've got a batch file to empty trash which I run when I feel bored:

"C:\Pageant files\pageant.exe" "C:\Pageant files\sshkey.ppk"
C:\plink.exe -v -l <user> -batch -load <putty profile name> -ssh "sudo greyhole -a"