Page 1 of 1

SOLVED: Greyhole Amahi 7 no file copying from landing zone

Posted: Sun Mar 16, 2014 8:37 am
by grant116
Hello all,

I did some searching and did not find anything pointing to my solution in the wiki so I thought I would post what was happening here.

I just re-installed Amahi 7 yesterday with the intent of getting greyhole setup and actually starting to use Amahi. I followed the manual Greyhole setup page and was able to add my new hard drives using cfdisk and even those larger than 2.1tb

I had a few issues here and there, when using parted to partition those larger hard drives I had to enter parted and type everything in there as the command:

Code: Select all

parted /dev/sdb mkpart primary ext4 2048 -1
would fail on the -1 at the end. But when entering directly into parted as the alternative parted options shows it works.

Then I configured Greyhole and tested throwing some files into the shares. Please ignore the fact that the file thrown in makes absolutely now sense in the music share, it was just there and handy.

I copied the file in and watched the logs go.....they gave me a whole lot of nothing useful being done with that file.

Code: Select all

Mar 16 03:14:02 6 write: File created: Music//.DS_Store - 6.00KB Mar 16 03:14:02 7 write: Loading metafiles for Music/.DS_Store ... Mar 16 03:14:02 7 write: Got 0 metadata files. Mar 16 03:14:02 7 write: 0 metafiles loaded. Mar 16 03:14:02 4 write: No metadata files could be created. Will wait until metadata files can be created to work on this file. Mar 16 03:14:02 6 write: Now working on task ID 39345: write Music/Rocky Mountain National Park - August 2013.GPX Mar 16 03:14:02 6 write: File created: Music//Rocky Mountain National Park - August 2013.GPX - 730KB Mar 16 03:14:02 7 write: Loading metafiles for Music/Rocky Mountain National Park - August 2013.GPX ... Mar 16 03:14:02 7 write: Got 0 metadata files.
The logs went on and on like this every few seconds, spewing message after message that they were not doing anything.

I tried restarting, double checking configuration , waiting..nothing seemed to get my files created.

One thing I did notice was that my gh directories in the configuration file were not created. Reading this config file I decided to give it a shot creating those directories and touching the file .greyhole_uses_this inside of those gh directories.

Once I did that and copied a new file in I started to see log messages that my files were being copied and symlinks being created over in the landing zone.

Now my log files looks like this and I am pretty happy with how it is working so far.

Code: Select all

Mar 16 10:19:44 7 sleep: Nothing to do... Sleeping. Mar 16 10:19:54 7 sleep: Nothing to do... Sleeping. Mar 16 10:20:04 7 sleep: Nothing to do... Sleeping. Mar 16 10:20:14 7 sleep: Nothing to do... Sleeping. Mar 16 10:20:24 7 sleep: Nothing to do... Sleeping. Mar 16 10:20:34 7 sleep: Nothing to do... Sleeping. Mar 16 10:20:44 7 sleep: Nothing to do... Sleeping.
I have not started to populate the shares with the files that should be there yet but plan on doing that right after this post.

Re: Greyhole Amahi 7 no file copying from landing zone - Fix

Posted: Sun Mar 16, 2014 8:49 am
by bigfoot65
Glad to hear you were able to resolved the problem.

Would you mind adding something to the wiki about this sort of issue? It would benefit others and we would greatly appreciate it.

Re: Greyhole Amahi 7 no file copying from landing zone

Posted: Sat Oct 04, 2014 3:05 pm
by grant116
This is actually not fixed, somehting is overwriting the smb.conf file with a bad version as the lines with the free instead of dfree keep coming back...looking for the culprit now.

Re: Greyhole Amahi 7 no file copying from landing zone - Fix

Posted: Sat Oct 04, 2014 3:12 pm
by bigfoot65
Check the extra parameters set up for each share. Smb.conf is automatically generated by Amahi.

Are you using the Greyhole UI app?

[ Post made via Android ] Image

Re: Greyhole Amahi 7 no file copying from landing zone - Fix

Posted: Sun Oct 05, 2014 8:26 pm
by grant116
Hi Bigfoot, sorry I made a mess of this post. This should have really been put onto the other post I started about free space being reported properly. I am not using the Greyhole UI, it was not around when I set everything up.

I just checked the parameters from the Amahi UI and that looks to be my issue. The docs share has dfree, all others are listed as free.

Thank you.

Re: Greyhole Amahi 7 no file copying from landing zone - Fix

Posted: Mon Oct 06, 2014 2:34 am
by bigfoot65
Good to hear you now have it fixed. Happy to help.