On 01/27/17 23:53, Wendy Poole wrote:
From documentation

The following example defines a simple "restripe" policy for Lustre:

  define_policy restripe {
      status_manager = basic;
      scope { type == file and status != 'ok' }
      default_action = cmd("lfs migrate -c {new_stripe} {fullpath}");
      default_lru_sort_attr = last_access;
  }

In this example:

  * /basic/ is a simple status manager provided by robinhood. It
    implements a set of 3 status: '' (not set), 'ok' (policy action
    successful) and 'failed' (policy action failed).


I implemented this in a policy and it successfully restripes the files

Great!

yet it doesn't update the column in my database called - restripe_status. The column is blank. So is there another piece to the steps that I am missing ?


This is not expected.

The expected behavior is: the column is initially blank when the entry has not been processed. Once "lfs migrate" is run on one entry, the column is set to "ok" if lfs migrate returned success (exit code 0), and "failed" if it returns a failure (exit code != 0).

> Are you sure lfs migrate commands are run?
> Did you check the output of rbh-report --statusinfo=restripe is it also blank?

Regards,
Thomas


Thanks,

Wendy




------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot


_______________________________________________
robinhood-support mailing list
robinhood-support@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/robinhood-support


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
robinhood-support mailing list
robinhood-support@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/robinhood-support

Reply via email to