Page 1 of 1

Greyhole error, nothing copied from LZ

Posted: Sun Oct 14, 2012 5:27 am
by jknaebel
Installed Ubuntu last night and most all seems well but greyhole seems to have a problem. This is my first time running Greyhole. I have two 1TB drives, each partitioned 2x500GB. 1 partition has the OS, the other three are assigned to the grey hole pool. The data I copy to the system from a backup is about 260Gb, which is smaller than the space available for the LZ.

None of the data has been copied off the LZ into Greyhole. The logfile has the following error for every file it tried to copy, for every share I have setup:
Found a share (Media) with no path in /etc/samba/smb.conf, or missing it's num_copies[Media] config in /etc/greyhole.conf. Skipping

Here is a section from smb.conf:
[Media]
comment = Media
path = /var/hda/files/Media (I can navigate here and see my files)
writeable = yes
browseable = yes
create mask = 0775
force create mode = 0664
directory mask = 0775
force directory mode = 0775

dfree command = /usr/bin/greyhole-dfree
vfs objects = greyhole

Here is what's in greyhole.conf:
num_copies[Media] = 1

Please advise, thanks.

Re: Greyhole error, nothing copied from LZ

Posted: Sun Oct 14, 2012 4:09 pm
by bigfoot65
Did you set the shares to use the Storage Pool and Greyhole?

http://wiki.amahi.org/index.php/Greyhole

Re: Greyhole error, nothing copied from LZ

Posted: Mon Oct 15, 2012 4:41 pm
by jknaebel
Good evening, thanks for helping me out with this problem.

Yes, I set up the Greyhole and the shares the way described in the link, and Greyhole is working now, but it has only 9GB of the 200GB+ I put in the shares. Most of the original files I put in the shares are not being moved into Greyhole, I guess because they had the error. New files and modified files are being put in Greyhole, according to the log.

So Greyhole is operative, I just need a way for it to re-scan the original files and move them off the LZ. If I disable Greyhole off each share, turn off Greyhole in advanced settings, then reset everything back up, will it re-scan everything? Or do you have another suggestion?

Thanks again for your help. The Ubuntu install went great!

Jay

Re: Greyhole error, nothing copied from LZ

Posted: Mon Oct 15, 2012 4:55 pm
by bigfoot65
You can do as root user:

Code: Select all

greyhole -f
That will force it to scan all shares/drives.

Re: Greyhole error, nothing copied from LZ

Posted: Mon Oct 15, 2012 5:27 pm
by jknaebel
Thank you. It is cranking through all the files now, no errors in sight. Not sure what the problem was the first time.

I can't say enough about how great Amahi is. And the support you provide is fantastic.

Jay

Re: Greyhole error, nothing copied from LZ

Posted: Mon Oct 15, 2012 6:09 pm
by bigfoot65
Hard to say, but at least it is working now.