-
Notifications
You must be signed in to change notification settings - Fork 218
[BUG] missing files belong to storage class #616
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Are you sure these are not files in trash? If they are in trash, Another way to check: use Something like:
|
According to With some difficulty (due to large number of files in trash) I was able to identify those files. They should have been deleted (from trash) long time ago but they had |
The problem with
I would expect |
Re: mtime - MooseFS sets mtime according to local computer time. I don't want to unintentionally lie, so I won't tell you if it was client time or master time, especially as this has changed at some point in the past. But most probably your computer had a bad clock day when these files were deleted :) Re: symlinks - symlinks don't have a storage class themselves (they don't need it - they are not files stored on MooseFS nor directories that new files will inherit storage class from), and yes, when |
Automatic traversal of symlinks distort May I suggest to add an option to ignore (not follow) symlinks to It would be even better to ignore symlinks by default, to avoid accidental escape from directory structure that is inquired for storage class. I would use option Thanks. |
One important distinction: A whole directory contents, recursively:
Storage classes of objects, checked manually:
Storage classes of objects, checked recursively:
So, when you check the storage classes for This is the same behaviour that some other Unix tools use (chmod for example), that's why if we add an option, it will be "ignore symlinks" style. Then, with that option, output of
Or something similar ;) |
I have an obsolete storage class that I want to delete. I have assigned all files/directories to other storage classes yet I'm unable to delete obsolete storage class because allegedly it still have 16 files assigned to it.
mfsgetsclass -r
shows no such files.I strongly suspect that files still belonging to obsolete storage class are actually broken symbolic links hence
mfsgetsclass
throwsrealpath error
instead of showing actual storage class.Any advise on how to locate broken symlinks from a particular storage class would be appreciated. Thanks.
The text was updated successfully, but these errors were encountered: