[LU-5981] hsm: copytool in dry run mode will perform some work Created: 04/Dec/14 Updated: 04/Dec/14 |
|
| Status: | Open |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major |
| Reporter: | Frank Zago (Inactive) | Assignee: | WC Triage |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Severity: | 3 |
| Rank (Obsolete): | 16694 |
| Description |
|
When running in dry run mode (--dry-run command line option), the copytool will let the MDT believe the operation was performed. For instance, if the command was to archive a file, the copytool will not archive the file, but the MDT will set the exists and archived hsm state for the file. If the file is released, it will be lost, since it wasn't actually archived. When restored, if the copytool is still in dry run mode, the file length will be 0 byte. |
| Comments |
| Comment by jacques-charles lafoucriere [ 04/Dec/14 ] |
|
I am wondering if we should just remove the dry run mode which seams to not be used |
| Comment by Frank Zago (Inactive) [ 04/Dec/14 ] |
|
Another option is to return ECANCELED for every transaction. I haven't tested this. Either solution would be fine though. I don't think I've used the dry-run mode either. |