Watch your trash!

Posts: 57
Joined: Wed Jan 05, 2011 5:38 am

Watch your trash!

Postby bellamatt » Sat Oct 27, 2018 1:14 am

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.

User avatar
Project Manager
Posts: 11922
Joined: Mon May 25, 2009 4:31 pm

Re: Watch your trash!

Postby bigfoot65 » Sat Oct 27, 2018 2:49 pm

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.
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

Posts: 215
Joined: Tue Mar 20, 2012 6:00 pm

Re: Watch your trash!

Postby modem7 » Mon Dec 17, 2018 7:15 am

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"

Who is online

Users browsing this forum: No registered users and 3 guests