Details
-
Bug
-
Resolution: Fixed
-
Minor
-
Lustre 2.7.0, Lustre 2.5.3
-
3
-
16155
Description
Creating, opening and executing the following commands on a regular file:
rc = llapi_hsm_state_set_fd(fd, HS_EXISTS, 0, -1789); rc = llapi_hsm_state_set_fd(fd, HS_DIRTY, 0, 0); rc = llapi_hsm_state_set_fd(fd, 0, HS_DIRTY, 0); rc = llapi_hsm_state_set_fd(fd, HS_ARCHIVED, 0, 0); rc = llapi_hsm_state_set_fd(fd, HS_RELEASED, 0, 0); rc = llapi_hsm_state_set_fd(fd, HS_NORELEASE, 0, 0); rc = llapi_hsm_state_set_fd(fd, HS_NOARCHIVE, 0, 0); rc = llapi_hsm_state_set_fd(fd, HS_LOST, 0, 0); rc = llapi_hsm_state_set_fd(fd, 0x00080000, 0, 0); rc = llapi_hsm_state_set_fd(fd, 0x80000000, 0, 0);
results in this:
# ../utils/lfs hsm_state /mnt/lustre/hsm_check_test /mnt/lustre/hsm_check_test: (0x8008007d) released exists archived never_release never_archive lost_from_hsm, archive_id:-1789
Some of these flags should not be user settable. Unknown flags should not be set. The archive_id should not be anything but >=0 (or 1?) and <=32.
Attachments
Issue Links
- is related to
-
LU-6453 Interop 2.7.0<->2.8 sanity-hsm test_500: One llapi HSM test failed
-
- Open
-