"WARNING " in Greyhole.log

adavidm
Posts: 12
Joined: Wed Jan 19, 2011 3:40 am

"WARNING " in Greyhole.log

Postby adavidm » Sun Jan 23, 2011 12:34 pm

I have being trying to transfer a WHS server system to Amahi/Greyhole and have come across a strange issue.

After talking to Guillaume, I stopped Greyhole and copied about a TB of data into /var/hda/files, restarted Greyhole and then ran an FSCK on the share. Most files process correctly and move to the pool. Sometimes though, something strange happens. I get errors in the greyhole log like this:

Code: Select all

Jan 23 19:11:54 7 fsck_file: Now working on task ID 24746: fsck_file Movies/Films/Enemy At The Gates.mpg Jan 23 19:11:54 7 fsck_file: Loading tombstones for Movies/Films/Enemy At The Gates.mpg... Got 1 tombstones. Jan 23 19:11:54 4 fsck_file: WARNING! No copies of this file are available in the Greyhole storage pool. Did you copy that file there without using your Samba shares..? (If you did, don't do that in the future!) Jan 23 19:11:54 6 fsck_file: Films/Enemy At The Gates.mpg is a file (not a symlink). Adding a new 'write' pending task for that file. Jan 23 19:11:54 7 fsck_file: Saving 1 tombstones for Movies/Films/Enemy At The Gates.mpg Jan 23 19:11:54 7 fsck_file: Saving tombstones in /mnt/store_b/gh/.gh_graveyard/Movies/Films/Enemy At The Gates.mpg Jan 23 19:11:54 7 fsck_file: Saving tombstones (backup) in /mnt/store_a/gh/.gh_graveyard_backup/Movies/Films/Enemy At The Gates.mpg Jan 23 19:11:54 7 parse_logs: Parsing Samba logs... Jan 23 19:11:54 7 parse_logs: Done parsing. Jan 23 19:11:54 7 write: Now working on task ID 26017: write Movies/Films/Enemy At The Gates.mpg Jan 23 19:11:54 6 write: File created: Movies/Films/Enemy At The Gates.mpg - 18.1GB Jan 23 19:11:54 7 write: Loading tombstones for Movies/Films/Enemy At The Gates.mpg... Found a tombstone, pointing to '/mnt/store_b/gh/Movies/Films/Enemy At The Gates.mpg', with state = 'Gone'. We just want 'OK' tombstones; will not use this tombstone. Jan 23 19:11:54 7 write: Got 0 tombstones. Jan 23 19:11:54 7 write: Drives with available space: /mnt/store_b/gh (816GB avail) - /mnt/store_a/gh (773GB avail) Jan 23 19:11:54 7 write: Saving 1 tombstones for Movies/Films/Enemy At The Gates.mpg Jan 23 19:11:54 7 write: Saving tombstones in /mnt/store_b/gh/.gh_graveyard/Movies/Films/Enemy At The Gates.mpg Jan 23 19:11:54 7 write: Saving tombstones (backup) in /mnt/store_a/gh/.gh_graveyard_backup/Movies/Films/Enemy At The Gates.mpg Jan 23 19:11:54 7 write: Copying file to /mnt/store_b/gh/Movies/Films/Enemy At The Gates.mpg
It is line 3 that concerns me. Most of the time, the file is fine. Sometimes though, the symlink is created correctly but there is no file in the pool drives and i have to delete the symlink and start again.

I realise this is not an 'approved' method of getting files into the system but I don't have anywhere else to plug the disk in to copy over the network (only laptops, other than the server) and copy to locally mounted samba shares caused a crash last time I tried.

Has anyone seen anything similar in their logs?

adavidm

adavidm
Posts: 12
Joined: Wed Jan 19, 2011 3:40 am

Re: "WARNING " in Greyhole.log

Postby adavidm » Sun Jan 23, 2011 12:47 pm

Sorry for replying to myself. I have just realised that i have not followed the troubleshooting guidelines by posting all relevant information as requested. I will update the post once this is done.

Apologies once again.

adavidm.

Ironically, i think i have spotted part of the issue by doing this. Greyhole is showing as version 0.7.5 and yum update isn't showing any available updates.

User avatar
gboudreau
Posts: 606
Joined: Sat Jan 23, 2010 1:15 pm
Location: Montréal, Canada
Contact:

Re: "WARNING " in Greyhole.log

Postby gboudreau » Sun Jan 23, 2011 10:17 pm

0.7.5 would indeed be your problem. You need 0.8.4 at least (latest for Amahi at this time).
0.7.5 has a problem where multiple daemons would be started, and this would cause what you described.

If you can't find how to use yum to update (you should fix that Amahi issue; it will cause more problems down the road!), you can update Greyhole manually:

Code: Select all

rpm -Uvh http://www.greyhole.net/releases/hda-greyhole-0.8.4-1.`uname -i`.rpm
- Guillaume Boudreau

Who is online

Users browsing this forum: No registered users and 25 guests