I quickly filled up my two (500GB) dedicated /gh drives, so I add another 1TB drive, and set it up with Greyhole (stop GH, run disk wizard, add disk in greyhole config), and kick off greyhole --fsck. The log indicates files are being moved around, according to rules in the GH config, over to my new drive... great!
Except that my root Amahi/Landing zone quickly fills up. It's only got 50GB spare and I have some large files and a lot of photos. Fair enough.
To get Amahi up I clear my landing zone according to the troubleshooter (and hope GH will repopulate the files... no biggie loosing the landing zone files since I was only redistributing files to my new drive) - I used...
Code: Select all
rm -rf /var/hda/files/shareName/*
I follow the wiki to move the landing zone and run...
Code: Select all
mv /var/hda/files/videos /var/hda/files/drives/drive1/videos
As far as I can tell, GH is configured correctly, to use my two original GH drives, and my new 1TB drive, which (for now) will also double as my landing zone.
However the root drive is still full. I can't for the life of me figure out how to clear it to allow GH to do it's thing.
sudo greyhole --empty-trash
produces...
PHP Fatal error: Uncaught exception 'Exception' with message 'SQLSTATE[HY000]: General error: 1021 Disk full (/var/tmp/#sql_3e1_0.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")' in /usr/bin/greyhole:599
I'm a bit stuck, but at least my files are on the GH drives still. I need help to...
1. Get root cleared of unnecessary files
2. Confirm the landing zone is correctly configured on my 1TB (Almost certain it is as I dropped a file in over the network, with GH disabled, and it ended up on the non boot drive, in the correct landing zone.)
3. Successfully run greyhole --fsck to get everything where it needs to be - currently nothing shows in my HDA, because I cleared out the old landing zone.