Can't find files in Shares, but files copied to somewhere

phreaq
Posts: 87
Joined: Sun Jul 20, 2014 10:39 am

Can't find files in Shares, but files copied to somewhere

Postby phreaq » Thu Aug 21, 2014 11:21 am

I just turned on GH with two drives, and flagged two shares to use it.

I then ran the following 'cp -R '/mnt/samba/PB11/copy of photos' /mnt/samba/photos'. (PB11 is not on one of the GH drives)

After some time, my main hard drive is about 18GB less space, but I can't find the files anywhere in the shares '/mnt/samba/Photos', or '/var/hda/files/photos'.

I tried to search for a known filename, but the find get's stuck searching thru a self-referencing folder. see pic.

any help?
Attachments
2014-08-21_132009.jpg
(yes, that's the same folder structure repeated over and over)
2014-08-21_132009.jpg (73.23 KiB) Viewed 2866 times

aboshan
Posts: 5
Joined: Wed Aug 20, 2014 8:34 am

Re: Can't find files in Shares, but files copied to somewher

Postby aboshan » Fri Aug 22, 2014 1:38 am

Hey phreaq,

What does /var/log/greyhole.log say?
did you run greyhole --fsck?
What are the permissions on your samba shares and on you /var/hda/files?

Did you use cp -R or mv -R? related to your 18GB disappearance question.

phreaq
Posts: 87
Joined: Sun Jul 20, 2014 10:39 am

Re: Can't find files in Shares, but files copied to somewher

Postby phreaq » Fri Aug 22, 2014 4:54 am

thanks for the reply!

the greyhole log is not a full log it seems, as the time stamps only go back as far as earlier this morning, but the top most records say:
Aug 22 03:46:10 INFO fsck: Now working on task ID 8704: fsck /var/hda/files/music/
Aug 22 03:46:10 INFO fsck: Skipping fsck; --if-conf-changed was specified, and the configuration file didn't change since the last fsck.
Aug 22 03:46:10 INFO fsck: Now working on task ID 8705: fsck /var/hda/files/photos/
Aug 22 03:46:10 INFO fsck: Skipping fsck; --if-conf-changed was specified, and the configuration file didn't change since the last fsck.
Aug 22 03:46:10 INFO fsck: Now working on task ID 8706: fsck /var/hda/files/public/
Aug 22 03:46:10 INFO fsck: Skipping fsck; --if-conf-changed was specified, and the configuration file didn't change since the last fsck.
Aug 22 03:46:10 INFO fsck: Now working on task ID 8707: fsck /var/hda/files/software/
Aug 22 03:46:10 INFO fsck: Skipping fsck; --if-conf-changed was specified, and the configuration file didn't change since the last fsck.
Aug 22 03:46:10 INFO fsck: Now working on task ID 8708: fsck /var/hda/files/users/
Aug 22 03:46:10 INFO fsck: Skipping fsck; --if-conf-changed was specified, and the configuration file didn't change since the last fsck.
Aug 22 03:46:10 DEBUG sleep: Nothing to do... Sleeping.
Aug 22 03:46:20 DEBUG sleep: Nothing to do... Sleeping.
I did try copy the files again, from a Windows Machine, and it seemed to work as expected, which is why I see the entries in the log).

I did run 'greyhole --fsck' yesterday, but there was no error, it just said it will start once pending tasks are completed.

The shares seems to be 775, and since I could do it later from a Windows Machine, I suspect rights are ok.

I did us 'cp', not 'mn', in case something went wrong.

So, it seems to be working now, from outside the HDA, but I'm not sure where the original copy went on my root drive

aboshan
Posts: 5
Joined: Wed Aug 20, 2014 8:34 am

Re: Can't find files in Shares, but files copied to somewher

Postby aboshan » Wed Aug 27, 2014 1:40 pm

Alright, good to hear it worked out in the end!

[ Post made via Android ] Image

Who is online

Users browsing this forum: No registered users and 22 guests