SOLVED: --find-orphaned-files not working properly
Posted: Sat Jun 01, 2013 10:43 am
For some reason my greyhole --fsck --find-orphaned-files doesn't seem to be working. I copied a few tb of data into a previously tested pool (by way of the move LZ method) but then everything seems to have fallen apart when I moved the LZ back to /var/hda/files (everything was working properly at this point, and files were in the pooled drives).
I the first fsck I ran after moving the LZ's (and their contents) back produced huge numbers of "WARNING! No copies of this file are available in the Greyhole storage pool. " After that only the folders were visible in any of my shares. Running --find-orphaned-files runs, but only results in an fsck reporting that it is "entering" all the directories but doesn't do anything with them. I've manually gone into the gh folders of the pooled drives, and the files missing definitely all still exist, but seem to be completely invisible to greyhole itself and aren't appearing in their shares.
If it matters I'm running greyhole 0.9.29-1. I have tried setting all the permissions and ownerships of the of the shares and pooled drives, but with no effect on the outcome of an fsck.
PS: the thing that has me most worried right now is that there are actually a small number of files in seemingly random directories that HAVE appeared properly, but this isn't even full directories. A few random documents appear in a few folders, but by far the vast majority of files are only appearing by digging into the greyhole drives directly (and I have tried copying them somewhere accessible, these files ARE intact). I just can't get the symlinks to things to be recreated in the LZs (or understand why they got wiped in the first place, although some shouldn't exist, as the LZ got moved in SOME cases from an NTFS drive).
I the first fsck I ran after moving the LZ's (and their contents) back produced huge numbers of "WARNING! No copies of this file are available in the Greyhole storage pool. " After that only the folders were visible in any of my shares. Running --find-orphaned-files runs, but only results in an fsck reporting that it is "entering" all the directories but doesn't do anything with them. I've manually gone into the gh folders of the pooled drives, and the files missing definitely all still exist, but seem to be completely invisible to greyhole itself and aren't appearing in their shares.
If it matters I'm running greyhole 0.9.29-1. I have tried setting all the permissions and ownerships of the of the shares and pooled drives, but with no effect on the outcome of an fsck.
PS: the thing that has me most worried right now is that there are actually a small number of files in seemingly random directories that HAVE appeared properly, but this isn't even full directories. A few random documents appear in a few folders, but by far the vast majority of files are only appearing by digging into the greyhole drives directly (and I have tried copying them somewhere accessible, these files ARE intact). I just can't get the symlinks to things to be recreated in the LZs (or understand why they got wiped in the first place, although some shouldn't exist, as the LZ got moved in SOME cases from an NTFS drive).