Greyhole working -- not shown in GUI

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

Re: Greyhole working -- not shown in GUI

Postby bigfoot65 » Mon Apr 21, 2014 5:10 am

Since the LZ is basically your shares, remove the files from them. Keep in mind that Greyhole will put them in the attic, so you will need to do small chunks and empty it unless you disable Greyhole termporarily.
ßîgƒσστ65
Applications Manager

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

xyrth
Posts: 23
Joined: Sat Apr 19, 2014 11:37 am

Re: Greyhole working -- not shown in GUI

Postby xyrth » Mon Apr 21, 2014 5:31 pm

Since the LZ is basically your shares, remove the files from them. Keep in mind that Greyhole will put them in the attic, so you will need to do small chunks and empty it unless you disable Greyhole termporarily.
I figured that I could use 2 drives for now in my pool, with no redundancy, since I have everything backed up already, and then use a 2TB drive for a LZ, once data is in the pool add the third drive in and add back redundancy. So, I removed drive 3 from the pool, then did the following:

Code: Select all

mv /var/hda/files/videos /var/hda/files/drives/drive3/videos chmod 775 /var/hda/files/drives/drive3/videos
Amahi interface -> setup -> shares -> location = /var/hda/files/drives/drive3/videos

And ... the share does not work for me. What am I doing wrong?

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

Re: Greyhole working -- not shown in GUI

Postby bigfoot65 » Mon Apr 21, 2014 5:34 pm

What is not working? Did you ensure the folder was owned by your 1st admin user:users? A little more detail would be helpful here.
ßîgƒσστ65
Applications Manager

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

xyrth
Posts: 23
Joined: Sat Apr 19, 2014 11:37 am

Re: Greyhole working -- not shown in GUI

Postby xyrth » Mon Apr 21, 2014 5:38 pm

Since the LZ is basically your shares, remove the files from them. Keep in mind that Greyhole will put them in the attic, so you will need to do small chunks and empty it unless you disable Greyhole termporarily.
I figured that I could use 2 drives for now in my pool, with no redundancy, since I have everything backed up already, and then use a 2TB drive for a LZ, once data is in the pool add the third drive in and add back redundancy. So, I removed drive 3 from the pool, then did the following:

Code: Select all

mv /var/hda/files/videos /var/hda/files/drives/drive3/videos chmod 775 /var/hda/files/drives/drive3/videos
Amahi interface -> setup -> shares -> location = /var/hda/files/drives/drive3/videos

And ... the share does not work for me. What am I doing wrong?
Not rebooting the samba service. That's what I'm doing wrong. :-D

xyrth
Posts: 23
Joined: Sat Apr 19, 2014 11:37 am

Re: Greyhole working -- not shown in GUI

Postby xyrth » Mon Apr 21, 2014 5:53 pm

Really, that's a lie, I restarted the server and it started working. Afterwards I assumed it was samba.

One would think that if a reboot / restart or service necessary, it would be noted somewhere. I plan on using these posts as somewhat of a notepad to refer to and add to the discussion on the wiki.

New problem -- files are moving fast as hell (100+ mb/s), faster than before, but greyhole doesn't see them. Is there something else I'm missing? also, if i'm just moving a directory, shouldn't the owner be retained? I'm doing everything logged in as root right now because I'm too lazy to type sudo until this is configured.

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

Re: Greyhole working -- not shown in GUI

Postby bigfoot65 » Mon Apr 21, 2014 5:58 pm

Greyhole will only see them if they are set correctly in the /etc/greyhole.conf. You might want to check that all that is correct. BTW, if you are moving them local on the HDA, you need to have mount_shares_locally installed and running. Without that, you may have problems with Greyhole.

Moving files often carries the ownership, but not always. Never hurts to double check.
ßîgƒσστ65
Applications Manager

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

xyrth
Posts: 23
Joined: Sat Apr 19, 2014 11:37 am

Re: Greyhole working -- not shown in GUI

Postby xyrth » Mon Apr 21, 2014 6:12 pm

Greyhole will only see them if they are set correctly in the /etc/greyhole.conf.
I don't see where you mean ...

Code: Select all

...REMOVED...
Also, it looks like different (older?) versions of Greyhole had a place in the conf to set the LZ, does this flag still work?
You might want to check that all that is correct. BTW, if you are moving them local on the HDA, you need to have mount_shares_locally installed and running. Without that, you may have problems with Greyhole.
Not moving them locally, but I did see that on the Wiki. Transferring from my desktop to the server over gigabit.
Moving files often carries the ownership, but not always. Never hurts to double check.
10-4 (owner is listed as the primary admin user, same as it was before)

Thanks!

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

Re: Greyhole working -- not shown in GUI

Postby bigfoot65 » Mon Apr 21, 2014 6:17 pm

I don't believe setting the LZ in /etc/greyhole.conf is supported any longer. You may have to force Greyhole to move the files.

I presume the drive you are copying them too is not part of the Greyhole storage pool. If it is, it might fill up quick.
ßîgƒσστ65
Applications Manager

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

xyrth
Posts: 23
Joined: Sat Apr 19, 2014 11:37 am

Re: Greyhole working -- not shown in GUI

Postby xyrth » Mon Apr 21, 2014 6:27 pm

I don't believe setting the LZ in /etc/greyhole.conf is supported any longer. You may have to force Greyhole to move the files.

I presume the drive you are copying them too is not part of the Greyhole storage pool. If it is, it might fill up quick.
it is the commented out drive3.

How do i force Greyhole?

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

Re: Greyhole working -- not shown in GUI

Postby bigfoot65 » Mon Apr 21, 2014 6:33 pm

Code: Select all

greyhole -f
will force it to move files from the LZ.
ßî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 33 guests