Greyhole error, nothing copied from LZ

jknaebel
Posts: 9
Joined: Thu Feb 16, 2012 1:14 pm

Greyhole error, nothing copied from LZ

Postby jknaebel » Sun Oct 14, 2012 5:27 am

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.

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

Re: Greyhole error, nothing copied from LZ

Postby bigfoot65 » Sun Oct 14, 2012 4:09 pm

Did you set the shares to use the Storage Pool and Greyhole?

http://wiki.amahi.org/index.php/Greyhole
ßîgƒσστ65
Applications Manager

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

jknaebel
Posts: 9
Joined: Thu Feb 16, 2012 1:14 pm

Re: Greyhole error, nothing copied from LZ

Postby jknaebel » Mon Oct 15, 2012 4:41 pm

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

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

Re: Greyhole error, nothing copied from LZ

Postby bigfoot65 » Mon Oct 15, 2012 4:55 pm

You can do as root user:

Code: Select all

greyhole -f
That will force it to scan all shares/drives.
ßîgƒσστ65
Applications Manager

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

jknaebel
Posts: 9
Joined: Thu Feb 16, 2012 1:14 pm

Re: Greyhole error, nothing copied from LZ

Postby jknaebel » Mon Oct 15, 2012 5:27 pm

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

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

Re: Greyhole error, nothing copied from LZ

Postby bigfoot65 » Mon Oct 15, 2012 6:09 pm

Hard to say, but at least it is working now.
ßîgƒσστ65
Applications Manager

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

Who is online

Users browsing this forum: No registered users and 19 guests