Page 1 of 1

Message : "This drive will never be used !"

Posted: Mon May 26, 2014 2:54 pm
by bertie40
Hi Guys.
I trying to restore my files with the new system.

Drives attached.
FSTAB updated.

Drives are found by Fedora, and mounted on startup.

Im running a "greyhole --fsck", but it is coming up with the warning

"The directory at var/hda/files/drives/drive28/gh doesn't exist. This drive will never be used !
You should de-select and re-select this partition in your amahi dashboard in the shares storage pool page"

Problem is, of course, this page doesn't exist at the moment.

"Greyhole --stats" shows this drive28 (and another drive, drive 30), being "OFFLINE"


I've gone thorough the "manual greyhole instructions", but cannot see the problem.
Any advise would be gratefully received.

Regards

Re: Message : "This drive will never be used !"

Posted: Mon May 26, 2014 3:22 pm
by bigfoot65
Is the gh folder already on the drives? Did you use hda-diskmount to add the drives? Ensure the mount point exists in /var/hda/files/drives and has the correct permissions.

If you followed the guidance in the wiki for Greyhole, then the config file should be correct.

UPDATE: If you search the forums, I believe someone else had the same issue.

Re: Message : "This drive will never be used !"

Posted: Tue May 27, 2014 1:46 am
by bertie40
Hi. I appreciate you taking the time to reply.

I performed a search but couldn't find anything similar.

Could you post that link please ?

Yes. I added the drives as per instructions (hda-diskmount) etc, and added the drives, one by one.

Question. If I manually just add the Gh directory to the problem drives. Will that fix it.

Cheers.

[ Post made via iPhone ] Image

Re: Message : "This drive will never be used !"

Posted: Tue May 27, 2014 1:55 am
by bertie40
Edit.
Both of my problematic drives were empty.

[ Post made via iPhone ] Image

Re: Message : "This drive will never be used !"

Posted: Tue May 27, 2014 2:32 am
by bertie40
I may have fixed it. I found a reference to this
I entered these (for my 2 problematic drives)

greyhole --replace=/var/hda/files/drives/drive28/gh

greyhole --replace=/var/hda/files/drives/drive30/gh

I restarted the machine, and both drives are now recognised. Hope this helps someone.

[ Post made via iPhone ] Image

Re: Message : "This drive will never be used !"

Posted: Tue May 27, 2014 5:12 am
by bigfoot65
Might be something worth adding to the wiki.

Re: Message : "This drive will never be used !"

Posted: Wed May 28, 2014 9:54 am
by bertie40
yep.
Fixed :D

The same thing occurred with another two drives. Both empty.

"Greyhole --stats" showed both drives "OFFLINE"

In both cases, I had to manually navigate to the drive and create the gh folder.

(var/hda/files/drives/drive28/)

"mkdir gh"

Then I entered the command
"greyhole --replace=/var/hda/files/drives/drive28/gh"

Reboot,

That enabled Greyhole to see the drive and write to it accordingly.

My server is now happily chugging away with 15 drives !

If good enough, can someone "wiki" this for me ?

cheers.