Page 1 of 1

SOLVED: New Amahi 7.1 Express Install & Greyhole

Posted: Wed Jan 15, 2014 12:02 am
by tamorgen
This is a two part question, so please bear with me.
I just installed Amahi 7 from the Express DVD and manually installed all my drives. I had been running Amahi 6.2 before, and I had a drive failure, and lost some data. I started fresh, and I formated the drives according the cfdsk directions. I followed the directions for a manual greyhole setup from the wiki, however, the following lines do not work:

systemctl enable greyhole.service
systemctl start greyhole.service

[root@new-host-3 etc]# systemctl enable greyhole.service
Failed to issue method call: No such file or directory

I believe it is running however...

[root@new-host-3 etc]# ps -ef | grep -i greyhole
root 789 1 0 01:34 ? 00:00:07 /usr/bin/php /usr/bin/greyhole --daemon
root 25455 1237 0 01:57 pts/0 00:00:00 grep --color=auto -i greyhole

Am I missing something here?

The second half of my question is in regards to my Drive1 (sda). The way the express install did this, it left my /home directory with 1.23 TB free on a 1.5 TB drive. I highly doubt I need that much space for my home directory. I wanted to use most of it (probably 1 TB) towards my Greyhole storage. I'm sure there won't be an easy way, but what would I have to do to free up that space and add it to the storage pool?

Thanks!

Re: New Amahi 7.1 Express Install & Greyhole

Posted: Wed Jan 15, 2014 4:47 am
by bigfoot65
Try issuing the following as root user:

Code: Select all

systemctl enable hda-greyhole.service systemctl start hda-greyhole.service
There was a recent change to Amahi that changed the service name. The wiki has not been updated to reflect it.

As for using the extra storage of /home for the pool, not sure that is possible without causing issues. Would recommend the /home be resized to remove the extra space. Then make a new partition out of that space. Might be able to do so using gParted Live CD. Otherwise you may have to start over.

Re: New Amahi 7.1 Express Install & Greyhole

Posted: Wed Jan 15, 2014 8:15 am
by tamorgen
Okay, thanks. Greyhole appears to be working, although all I'm getting is 'sleep: Nothing to do... Sleeping.' messages in the logs.

I added the drives into the greyhole.conf file, and I added the extra parameters into the shares in the Dashboard per the directions. After each of those extra parameters, the drop down box is stuck on no, or at least won't stay on OK. Is this correct?

How far are we away from a graphical interface for greyhole, like we had in 6.2?

Re: New Amahi 7.1 Express Install & Greyhole

Posted: Wed Jan 15, 2014 9:05 am
by bigfoot65
Sounds ok. Did you configure number of copies in the /etc/greyhole.conf file? Might run greyhole -f as root user and if there is anything to do, it will do it.

As for the UI, still no firm estimate but it is being worked. Hopefully in another few weeks.

Re: New Amahi 7.1 Express Install & Greyhole

Posted: Wed Jan 15, 2014 10:13 am
by tamorgen
Sounds ok. Did you configure number of copies in the /etc/greyhole.conf file? Might run greyhole -f as root user and if there is anything to do, it will do it.

As for the UI, still no firm estimate but it is being worked. Hopefully in another few weeks.
Bigfoot,
Something isn't right. I did a greyhole -s to see the statistics, and none of my drives are mounted.

[root@galactica ~]# greyhole -s

Greyhole Statistics
===================

Storage Pool
Total - Used = Free + Trash = Possible
/var/hda/files/drives/drive2/gh: Offline
/var/hda/files/drives/drive3/gh: Offline
/var/hda/files/drives/drive4/gh: Offline
/var/hda/files/drives/drive5/gh: Offline
/var/hda/files/drives/drive6/gh: Offline
/var/hda/files/drives/drive7/gh: Offline
/var/hda/files/drives/drive8/gh: Offline
==========================================
Total: Offline

I've attached both my greyhole.conf
greyhole-conf.txt
(10.73 KiB) Downloaded 181 times
and fstab
fstab.txt
(1.29 KiB) Downloaded 209 times
config files. Hopefully it's something simple.

I'm sure it's related, but my smb directories from Windows are only showing "1.00 MB free of 2.00 MB" for the shares.

Re: New Amahi 7.1 Express Install & Greyhole

Posted: Wed Jan 15, 2014 10:25 am
by bigfoot65
Did you verify the drives are mounted? If so, check the greyhole.log to see if there is any errors listed.

Re: New Amahi 7.1 Express Install & Greyhole

Posted: Wed Jan 15, 2014 10:59 am
by tamorgen
Figured it out. Needed to create a 'gh' directory in each /var/hda/fiels/drives/driveX/ location.

Re: New Amahi 7.1 Express Install & Greyhole

Posted: Wed Jan 15, 2014 11:24 am
by bigfoot65
Awesome, then I will consider this one solved.