Page 1 of 1

SOLVED: Adding new drives with disk wizard to work with greyhole

Posted: Tue Aug 29, 2017 4:55 pm
by ratrat4563
I acquired three used drives and prior to use used Seagate Disk Wizard Utilities to clean the drives of all data by overwriting with zeros.
After installing the drives in my HDA chassis, I performed the following using the Disk, Add selection from the dashboard.
• Select New Drive page
o Selected desired HDD and clicked Next.
• Choose File System page
o Checked Format Entire Disk box (left mount point as free space)
o Selected EXT4 file system and clicked Next
• Options page
o Checked Mount this Drive Automatically bubble
o Gave drive label of BC2 then clicked next
• Confirmation page clicked apply
I then repeated above with other drives using label of BC3 and BC4

I next installed greyhole using the greyhole UI and selected BC2, BC3, and BC4 as the pooled drives. I set the shares for Movies at 2.

I then checked Disks, Stats selection from the dashboard and following was observed:
/dev/sda1 976MB /boot
/dev/sda3 926GB /
/dev/sdb1 1.79TB /var/hda/files/drives/BC2
/dev/sdc1 916 GB /var/ hda /files/drives/BC3
/dev/sdd1 916 GB /var/ hda /files/drives/BC4
None 4MB /var/spool/greyhole/mem

Transferred approximately 100 GB of movies from one of my computers to the Movie shared directory on the HDA. Movies transferred OK but noticed that Disk, Stats page on dashboard only showed data added to the root directory with nothing on any of the new drives.

Checked the greyhole log to see if errors were present, used the command
tail -f /var/log/greyhole.log
Observed an error telling me that the following storage pool drives are on the same partition /var/hda/files/drives/BC2/gh, /var/hda/files/drives/BC3/gh, /var/hda/files/drives/BC4/gh. The Greyhole daemon will now stop.

I’m new to Linux so the first question is did I install the drives correctly using Disk Wizard?
If yes then where did I possibly go wrong?
I’m running Amahi 10 using Fedora 25 (64-25.1.3) which was just installed fresh a couple of days ago.

Re: Adding new drives with disk wizard to work with greyhole

Posted: Tue Aug 29, 2017 5:01 pm
by bigfoot65
Please post the section of /etc/greyhole.conf where the drives are set.

Also provide the URL from the terminal command :

Code: Select all

apaste --sysinfo
Check each drive to ensure the /gh folder exists as well.

Re: Adding new drives with disk wizard to work with greyhole

Posted: Wed Aug 30, 2017 3:34 pm
by ratrat4563
Hope I did this right as I don't know Linux and am reading whatever I can find to give me a clue.

I first used the command ls /var/hda/files/drives/BC2 and received gh and lost+found which to my unfamiliar mind tells me that I do have a gh file on each disk as I received the same response from BC3 and BC4.

Here is the URL which was returned from the command apaste --sysinfo
https://paste.fedoraproject.org/paste/J ... sxgbCsoNoQ

Re: Adding new drives with disk wizard to work with greyhole

Posted: Wed Aug 30, 2017 3:41 pm
by bigfoot65
If you see /gh on all drives, then that's good.

Please post the info from greyhole.conf requested in my previous post.

Also recommend you do OS updates:

Code: Select all

sudo dnf update

Re: Adding new drives with disk wizard to work with greyhole

Posted: Wed Aug 30, 2017 6:45 pm
by ratrat4563
Sorry I missed the greyhole.conf data, if I did it correctly I believe that you are looking for lines 25 - 27 of the following URL

https://paste.fedoraproject.org/paste/g ... BP9jVZzhlg

I did the update and have the latest as the reply was nothing to do.

Re: Adding new drives with disk wizard to work with greyhole

Posted: Thu Aug 31, 2017 11:07 am
by bigfoot65
Try stopping and restarting the amahi-greyhole service:

Code: Select all

sudo systemctl stop amahi-greyhole

Code: Select all

sudo systemctl start amahi-greyhole
Check the log to see if the error persists:

Code: Select all

tail -f /var/log/greyhole.log
Report back on any errors.

Re: Adding new drives with disk wizard to work with greyhole

Posted: Thu Aug 31, 2017 1:20 pm
by ratrat4563
Thanks for the help.

It now appears to be working as the Disk Stats page on the dashboard shows the used portion of the disks in the storage pool increasing as greyhole is writing the extra copies. Looks like the stopping and restart of greyhole caused whatever was held up to disappear and allow normal operation.

Let's mark this as closed.

Re: Adding new drives with disk wizard to work with greyhole

Posted: Thu Aug 31, 2017 3:11 pm
by bigfoot65
No problem.