Page 1 of 2

Hard Drive is filling, not sure why

Posted: Mon Oct 19, 2015 4:35 pm
by phreaq
I have several dives in my Amahi 7 server, but my main 'OS' drive is a 128GB SSD.

Normally, there's around 90GB free, but for some reason it's down to 40.

When I run

Code: Select all

df -h
it shows

Code: Select all

Filesystem Size Used Avail Use% Mounted on /dev/sda3 114G 69G 40G 64% /
I'm unable to find where the extra 50GB is used. What can I do/search for?

thanks in advance,

Re: Hard Drive is filling, not sure why

Posted: Mon Oct 19, 2015 5:59 pm
by bigfoot65
Could it be the result of an app? What about Greyhole? That is default location of the LZ.

Re: Hard Drive is filling, not sure why

Posted: Tue Oct 20, 2015 6:28 am
by reezin68
What about Greyhole? That is default location of the LZ.
This is what I'd look into also,be sure that your share LZ/'s are located on the biggest drive in your pool.Or move them to several different drives in the pool(this is what I always do).

Re: Hard Drive is filling, not sure why

Posted: Tue Oct 20, 2015 9:47 am
by phreaq
yes, it does seem the greyhole is having issues keeping up. when I check the logs I see items like:

Code: Select all

Oct 20 11:44:45 DEBUG write: Creating symlink in share pointing to the above file copy. Oct 20 11:44:45 DEBUG write: Saving 2 metadata files for Music/blahblahblah.mp3 Oct 20 11:44:45 DEBUG write: Saving metadata in /var/hda/files/drives/drive4/gh/.gh_metastore/Music/blahblahblah.mp3 Oct 20 11:44:45 DEBUG write: Saving metadata in /var/hda/files/drives/drive5/gh/.gh_metastore/Music/blahblahblah.mp3 Oct 20 11:44:45 DEBUG write: Copying 8.73MB file to /var/hda/files/drives/drive4/gh/Music/blahblahblah.mp3 Oct 20 11:44:46 DEBUG write: Copy created at 8.7 MBps.

Re: Hard Drive is filling, not sure why

Posted: Tue Oct 20, 2015 10:17 am
by bigfoot65
In that case, you may want to relocate the Landing Zone.

Re: Hard Drive is filling, not sure why

Posted: Tue Oct 20, 2015 10:48 am
by phreaq
I'm ok with where the LZ is now, it lets me keep an eye out for odd things like this, as my main OS drive tends to stay static.

I am seeing some enties in the log I'm not sure if an issue or not.

Code: Select all

Oct 20 12:38:55 INFO fsck: Will execute all (464) pending fsck_file operations for /var/hda/files/music before running this fsck (task ID 795354). Oct 20 12:38:57 INFO fsck: Now working on task ID 795354: fsck /var/hda/files/music/ Oct 20 12:38:57 INFO fsck: Will execute all (464) pending fsck_file operations for /var/hda/files/music before running this fsck (task ID 795354). Oct 20 12:38:59 INFO fsck: Now working on task ID 795354: fsck /var/hda/files/music/ Oct 20 12:38:59 INFO fsck: Will execute all (464) pending fsck_file operations for /var/hda/files/music before running this fsck (task ID 795354). Oct 20 12:39:00 INFO fsck: Now working on task ID 795354: fsck /var/hda/files/music/ Oct 20 12:39:01 INFO fsck: Will execute all (464) pending fsck_file operations for /var/hda/files/music before running this fsck (task ID 795354). Oct 20 12:39:02 INFO fsck: Now working on task ID 795354: fsck /var/hda/files/music/ Oct 20 12:39:03 INFO fsck: Will execute all (464) pending fsck_file operations for /var/hda/files/music before running this fsck (task ID 795354). Oct 20 12:39:03 DEBUG read_smb_spool: Processing Samba spool... Oct 20 12:39:03 DEBUG read_smb_spool: Found 2 new tasks in spool. Oct 20 12:39:04 INFO fsck: Now working on task ID 795354: fsck /var/hda/files/music/ Oct 20 12:39:05 INFO fsck: Will execute all (464) pending fsck_file operations for /var/hda/files/music before running this fsck (task ID 795354). Oct 20 12:39:06 INFO fsck: Now working on task ID 795354: fsck /var/hda/files/music/ Oct 20 12:39:06 INFO fsck: Will execute all (464) pending fsck_file operations for /var/hda/files/music before running this fsck (task ID 795354). Oct 20 12:39:08 INFO fsck: Now working on task ID 795354: fsck /var/hda/files/music/ Oct 20 12:39:08 INFO fsck: Will execute all (464) pending fsck_file operations for /var/hda/files/music before running this fsck (task ID 795354). Oct 20 12:39:10 INFO fsck: Now working on task ID 795354: fsck /var/hda/files/music/ Oct 20 12:39:10 INFO fsck: Will execute all (464) pending fsck_file operations for /var/hda/files/music before running this fsck (task ID 795354). Oct 20 12:39:12 INFO fsck: Now working on task ID 795354: fsck /var/hda/files/music/ Oct 20 12:39:12 INFO fsck: Will execute all (464) pending fsck_file operations for /var/hda/files/music before running this fsck (task ID 795354). Oct 20 12:39:14 INFO fsck: Now working on task ID 795354: fsck /var/hda/files/music/
is the debug line, or the shear repetition of the entries anything to worry about?

Re: Hard Drive is filling, not sure why

Posted: Tue Oct 20, 2015 11:44 am
by bigfoot65
Should be ok. It's trying to tell you that there are jobs pending. If it persists, you might need to clear the queue. There is guidance in the wiki for that command.

Re: Hard Drive is filling, not sure why

Posted: Thu Oct 22, 2015 4:13 am
by phreaq
... you might need to clear the queue...
Do you mean

Code: Select all

greyhole --fsck
?

I tried that, no change yet, still getting lots of pending operations. It's been a few days, still no file movement.

Code: Select all

Oct 22 06:12:59 INFO fsck: Will execute all (464) pending fsck_file operations for /var/hda/files/music before running this fsck (task ID 855061). Oct 22 06:13:02 INFO fsck: Now working on task ID 795354: fsck /var/hda/files/music/ Oct 22 06:13:02 INFO fsck: Will execute all (464) pending fsck_file operations for /var/hda/files/music before running this fsck (task ID 795354). Oct 22 06:13:02 INFO fsck: Now working on task ID 854848: fsck /var/hda/files/music/ Oct 22 06:13:02 INFO fsck: Will execute all (464) pending fsck_file operations for /var/hda/files/music before running this fsck (task ID 854848). Oct 22 06:13:02 INFO fsck: Now working on task ID 854962: fsck /var/hda/files/music/ Oct 22 06:13:02 INFO fsck: Will execute all (464) pending fsck_file operations for /var/hda/files/music before running this fsck (task ID 854962). Oct 22 06:13:02 INFO fsck: Now working on task ID 855061: fsck /var/hda/files/music/

Re: Hard Drive is filling, not sure why

Posted: Thu Oct 22, 2015 4:43 am
by bigfoot65
Yes that is correct. Something must be stuck. Check the Greyhole queue and consider clearing it.

The wiki has guidance for the process.

Re: Hard Drive is filling, not sure why

Posted: Fri Oct 23, 2015 10:58 am
by phreaq
Clearing the Queue worked, thanks!!!

https://wiki.amahi.org/index.php/Greyho ... Work_Queue