Bureaucrats, cc_docs_admin, cc_staff
2,879
edits
No edit summary |
No edit summary |
||
Line 82: | Line 82: | ||
<!--T:24--> | <!--T:24--> | ||
You can determine whether or not a given file has been moved to tape or is still on disk using the <tt>lfs hsm_state</tt> command | You can determine whether or not a given file has been moved to tape or is still on disk using the <tt>lfs hsm_state</tt> command. "hsm" stands for "hierarchical storage manager". | ||
<!--T:47--> | <!--T:47--> | ||
<source lang="bash"> | <source lang="bash"> | ||
# Here, <FILE> has not been copied to tape. | # Here, <FILE> has not yet been copied to tape. | ||
$ lfs hsm_state <FILE> | $ lfs hsm_state <FILE> | ||
<FILE>: (0x00000000) | <FILE>: (0x00000000) | ||
<!--T:25--> | <!--T:25--> | ||
# Here, <FILE> is | # Here, <FILE> is both on the disk and on tape. | ||
$ lfs hsm_state <FILE> | $ lfs hsm_state <FILE> | ||
<FILE>: [...]: exists archived, [...] | <FILE>: [...]: exists archived, [...] | ||
<!--T:26--> | <!--T:26--> | ||
# Here, <FILE> is | # Here, <FILE> is on tape but no longer on disk. There will be a lag when opening it. | ||
$ lfs hsm_state <FILE> | $ lfs hsm_state <FILE> | ||
<FILE>: [...]: released archived, [...] | <FILE>: [...]: released archived, [...] |