Le 13/02/2014 00:28, Gary Hagensen a écrit :
> It appears that Robinhood is not remembering the archive_id in
> Lustre. You can specify it in a rule and it passes it correctly to
> Lustre for an archive operation, but I don't see where it remembers it
> for the archived file. This is not critical until the file is deleted
> in Lustre. In robinhood a user can specify a time delay to remove a
> deleted file also from the archive. The only problem is that robinhood
> has no idea what the archive is and can't go to the filesystem as the
> data is gone. The SOFT_RM table which appears to be the file that
> remembers delayed removes does not have a archive_id field and with
> the delete it looks like all the other tables have the information for
> the file deleted. Also a problem is that in the delayed remove case
> robinhood issues the remove to archive_id 0, which Lustre doesn't
> handle and the remove sits on the action queue as "waiting", it seems
> forever.
>
> Some workarounds to this would be to be able to specify a default
> archive_id to use, read the default id from the MDT or remember the ID
> when the archive command is issued. The later would work only if
> archiving was only done via robinhood and not done with the "lfs
> hsm_archive" user command.
Actually there is already a default_archive_id tunable which is used 
that way.
It is read when archive_id equals 0.
I'm sure it works for hsm_archive/hsm_remove when the file is still there.
I need to check that when the file was unlinked, there is no bug.

> With one of these chanage at least the common config with one archive
> could work correctly for cleaning up deleted but archived files. I
> would think something should be done for 2.5.1 or a disclaimer that
> deleted files that are also archived will remain in the archive until
> someone manually removes them.
Agreed on that point. We should improve this situation.
I've created JIRA ticket LU-4640 to track this.




Aurélien

------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
_______________________________________________
robinhood-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/robinhood-support

Reply via email to