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.

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. Longer term the archive id could be
stored by the changelog record changed to give the value to robinhood
or robinhood can read it when it gets the change record that a file has
been archived. Then Robinhood would have the archive_id to
put in the SOFT_RM table so it could issue the remove to the correct
archive. Reading the id, or coarse, opens a window where if the file
is archived and then deleted before robinhood reads the ID, the
file will remain in the archive.

  Gary


------------------------------------------------------------------------------
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
_______________________________________________
robinhood-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/robinhood-support

Reply via email to