HSM _not only_ small fixes and to do list goes here
(LU-3647)
|
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.5.0 |
| Fix Version/s: | Lustre 2.5.0 |
| Type: | Technical task | Priority: | Blocker |
| Reporter: | Malcolm Cowe (Inactive) | Assignee: | John Hammond |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | HSM | ||
| Rank (Obsolete): | 9891 |
| Description |
|
The procfs tuneable parameter that is used to define the default HSM archive ID is cannot be set persistently using lctl conf_param or lctl set_param -P. This is by design and is in part because the "hsm" procfs subtree is not created unless and until the HSM feature is itself activated. The parameter variable is: mdt.<fsname>-MDT*.hsm.archive_id Please consider a mechanism whereby the system-wide default for the archive ID is stored persistently by the MGS, as it simplifies administration overhead and makes other features such as server failover behave more predictably. |
| Comments |
| Comment by Malcolm Cowe (Inactive) [ 23/Aug/13 ] |
|
Original test case:
|
| Comment by jacques-charles lafoucriere [ 25/Aug/13 ] |
|
This behavior is also true for all HSM tunable (except hsm_control). A solution is to make the proc hsm directory always visible even if HSM is off. If you agree on it I will work on a patch. |
| Comment by Malcolm Cowe (Inactive) [ 27/Aug/13 ] |
|
I agree that the feature is useful and would like to see it implemented. If making the hsm procfs directory visible is a straightforward fix, then it has my support but someone else has to make the call. |
| Comment by jacques-charles lafoucriere [ 27/Aug/13 ] |
|
It is not a "straightforward fix", but the simplest I see. I will work on a patch. Can you validate the other patch, so I will base this new one on the other one (will simplify the review) |
| Comment by jacques-charles lafoucriere [ 05/Sep/13 ] |
|
Patch at http://review.whamcloud.com/7557 |
| Comment by Peter Jones [ 01/Oct/13 ] |
|
Landed for 2.5.0 |