SOLVED: Deletions restored, renames reverted, etc.
Posted: Sat May 25, 2013 5:33 pm
In the process of testing my installation I've found that running fsck results in changes made to files in the pool, particularly deletions and renaming to be reverted.
As an example, this file that had previously been deleted in the windows explorer or the locally mounted share (tried both) gets this treatment during the fsck.
My understanding is that this shouldn't be happening (that there should be at least a pending transactions associated with the file), but I'm pretty tenuous on what all is involved in greyhole file handling so first of all, is this normal? If not, could it realistically be a side effect of having installed amahi on Ubuntu server edition (if it is I'll just start over now); if not, what should I be looking for? For that matter, if it IS expected, how do I force greyhole to catch up on these sort of file operations that fsck doesn't do?
As an example, this file that had previously been deleted in the windows explorer or the locally mounted share (tried both) gets this treatment during the fsck.
Code: Select all
May 25 20:26:55 6 fsck_file: Now working on task ID 15890: fsck_file Misc/test.txt
May 25 20:26:55 7 fsck_file: Found /var/hda/files/drives/drive1/gh/Misc/test.txt
May 25 20:26:55 7 fsck_file: Loading metafiles for Misc/test.txt ...
May 25 20:26:55 7 fsck_file: Got 1 metadata files: array ( '/var/hda/files/drives/drive1/gh/Misc/test.txt' => array ( 'path' => '/var/hda/files/drives/drive1/gh/Misc/test.txt', 'is_linked' => true, 'state' => 'OK', ), )
May 25 20:26:55 6 fsck_file: Symlink was missing. Creating new symlink.
May 25 20:26:55 7 fsck_file: Missing symlink... A pending unlink transaction maybe?
May 25 20:26:55 7 fsck_file: No... Found no good reason for the symlink to be missing! Let's re-create it.
May 25 20:26:55 7 fsck_file: Updating symlink at /var/hda/files/Misc//test.txt to point to /var/hda/files/drives/drive1/gh/Misc/test.txt
May 25 20:26:55 7 fsck_file: Saving 1 metadata files for Misc/test.txt
May 25 20:26:55 7 fsck_file: Saving metadata in /var/hda/files/drives/drive1/gh/.gh_metastore/Misc/test.txt
May 25 20:26:55 7 fsck_file: Saving backup metadata file in /var/hda/files/gh/.gh_metastore_backup/Misc//test.txt