Good afternoon.
I working on getting my server up. I have everything installed and my hard drives initialized. I'm working on getting Greyhole running but have a couple of questions (yes I have/am looking at the Wiki).
1. Your instructions say to use storage_pool_drive = /var/hda/files/drives/drive2/gh, min_free: 10gb but in the greyhole.conf file under storage pool is shows examples using /mnt/hdd2/gh, min_free: 10gb. Which do I use?
2. I'm assuming I can just remove the # for each drive to uncomment those fields?
3. When you use the command to enable greyhole permanently and start it, will this hold if the system is moved. (I am currently getting it set up and plan on moving it to a more permanent location).
Thanks.
SOLVED: Greyhole questions
Re: Greyhole questions
Follow the instructions in the wiki. Have to remember the greyhole.conf file is generic and not Amahi specific.1. Your instructions say to use storage_pool_drive = /var/hda/files/drives/drive2/gh, min_free: 10gb but in the greyhole.conf file under storage pool is shows examples using /mnt/hdd2/gh, min_free: 10gb. Which do I use?
Some lines will not match what Amahi needs. If you do want to use them, just verify the syntax is aligned with the wiki guidance.2. I'm assuming I can just remove the # for each drive to uncomment those fields?
Yes, that ensures it starts on boot.3. When you use the command to enable greyhole permanently and start it, will this hold if the system is moved. (I am currently getting it set up and plan on moving it to a more permanent location).
ßîgƒσστ65
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Re: Greyhole questions
OK.
Got that working. Trying to copy files from my MacBook to the shares in Amahi. When I do, I get a message that the files can't be copies as there is not enough space. I have 2 - 2TB drives in the server. The greyhole log files says that no metadata files could be created and will way until metadata file can be created to work on this file.
Not sure what's going on by could use some help.
Thanks.
Got that working. Trying to copy files from my MacBook to the shares in Amahi. When I do, I get a message that the files can't be copies as there is not enough space. I have 2 - 2TB drives in the server. The greyhole log files says that no metadata files could be created and will way until metadata file can be created to work on this file.
Not sure what's going on by could use some help.
Thanks.
Re: Greyhole questions
Did you enable copies in the /etc/greyhole.conf for your shares? I presume you added the drives to the storage pool and they are properly formatted and mounted.
ßîgƒσστ65
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Re: Greyhole questions
I did enable copies (I have two drives so set each for 1) and they are formatted as ext4. How would I check to ensure that they are mounted (they do show up in my dashboard).
Thanks again.
Thanks again.
Re: Greyhole questions
There are many ways to check. One would be:
I also recommend you set copies to max so that you will have copies on all Greyhole enabled drives.
You can also force greyhole to act on current files if it has not moved anything. As root user:
Watch /var/log/greyhole.log for activity.
Code: Select all
df -h
You can also force greyhole to act on current files if it has not moved anything. As root user:
Code: Select all
greyhole -f
ßîgƒσστ65
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Re: Greyhole questions
Good morning.
I have done all the necessary checks and am now positive that my drives are mounted. They have been added to the greyhole storage pool according too the instructions in the manual greyhole setup (is there a way to check and verify?). I am still unable to add files to the drives (keeps telling me there is not enough space). Again, I'm trying to copy this from my MacBook to the Music share. Just trying to do one folder for now so there is not a lot that I'm trying to copy.
I'm almost there.... just a little more help....
I just did a greyhole -s and it shows both drives as offline. Might explain my problem. How do I correct this? According to df -h they are mounted. Thanks for your patience. I'm a newbie to this and linux, so any details you can provide in "layman's" terms is appreciated.
Based on another post I did an ls /var/hda/files/drives/drive9 and same for drive11 (my two drives) and noticed there is no gh file. How do I add that?
Also, when I try to connect to the server from my laptop sometimes it connects and sometimes it doesn't. The laptop is wireless. Does that make a difference?
Thanks.
I have done all the necessary checks and am now positive that my drives are mounted. They have been added to the greyhole storage pool according too the instructions in the manual greyhole setup (is there a way to check and verify?). I am still unable to add files to the drives (keeps telling me there is not enough space). Again, I'm trying to copy this from my MacBook to the Music share. Just trying to do one folder for now so there is not a lot that I'm trying to copy.
I'm almost there.... just a little more help....
I just did a greyhole -s and it shows both drives as offline. Might explain my problem. How do I correct this? According to df -h they are mounted. Thanks for your patience. I'm a newbie to this and linux, so any details you can provide in "layman's" terms is appreciated.
Based on another post I did an ls /var/hda/files/drives/drive9 and same for drive11 (my two drives) and noticed there is no gh file. How do I add that?
Also, when I try to connect to the server from my laptop sometimes it connects and sometimes it doesn't. The laptop is wireless. Does that make a difference?
Thanks.
Re: Greyhole questions
You can just create the gh folders on those drives. From command line, do:
Next as root user, do:
Once it restarts, then do:
They should appear as online. You can manually force greyhole to start moving files by doing:
If they are still listed as offline, recommend you check your drive entries in /etc/greyhole.conf.
Hope that helps.
Code: Select all
mkdir -p /var/hda/files/drives/drive9/gh
mkdir -p /var/hda/files/drives/drive9/gh
Code: Select all
systemctl restart amahi-greyhole.service
Code: Select all
greyhole -s
Code: Select all
greyhole -f
Hope that helps.
ßîgƒσστ65
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Re: Greyhole questions
Thanks for all the help.
That did it and I'm able to copy files over. Thanks for your patience and help.
You can mark this as solved.
That did it and I'm able to copy files over. Thanks for your patience and help.
You can mark this as solved.
Re: Greyhole questions
Great. Glad I was able to assist.
ßîgƒσστ65
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
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 4 guests