Details
-
Question/Request
-
Resolution: Not a Bug
-
Minor
-
None
-
None
-
None
-
9223372036854775807
Description
I am running Lustre 2.8 and am trying to get hsm to work properly. The archive, release, and restore commands seem to work fine, but the remove command results in a failure.
I don't have an actual "hsm" system, so I'm trying to use a local directory simply called `/hsm`. The lhsmtool_posix tool works great for archiving and restoring the data, but for some reason the remove function doesn't work. For example:
[root@head ricky]# mount /dev/mapper/vg_head-lv_root on / type ext4 (rw) proc on /proc type proc (rw) sysfs on /sys type sysfs (rw) devpts on /dev/pts type devpts (rw,gid=5,mode=620) tmpfs on /dev/shm type tmpfs (rw) /dev/sda1 on /boot type ext4 (rw) /dev/mapper/vg_data-home on /home type xfs (rw) /dev/mapper/vg_data-common on /common type xfs (rw) /dev/mapper/vg_data-packages on /packages type xfs (rw) /dev/mapper/vg_data-scratch on /scratch type xfs (rw) /dev/mapper/vg_data-scratch--lt on /scratch-lt type xfs (rw) /dev/mapper/vg_data-slurm_state on /slurm_state type xfs (rw,noatime) none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw) sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw) nfsd on /proc/fs/nfsd type nfsd (rw) 172.16.2.1:/slurm_state/ on /var/spool/slurm type nfs (rw,vers=4,addr=172.16.2.1,clientaddr=172.16.2.1) mds@tcp:/scratch on /lustre-scratch type lustre (rw) /dev/sdd1 on /hsm1 type ext4 (rw) [root@head ricky]# pwd /lustre-scratch/ricky [root@head ricky]# lfs hsm_state file file: (0x0000000d) released exists archived, archive_id:1 [root@head ricky]# lfs hsm_remove file Cannot send HSM request (use of file): Operation not permitted [root@head ricky]#
This output is all I get. There is no information in any of the lustre logs regarding what is happening. Can anyone help me?