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
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