KEK GHI file/tape system
KEC CC documentation
How to tell if a file is on disk or tape (Note that a slash (/) is required at the end when specifying a directory)
ghils /ghi/fs02/test/
H /ghi/fs02/test/hpss_ghi_ls.10
B /ghi/fs02/test/hpss_ghi_ls.11
G /ghi/fs02/test/hpss_ghi_ls.12
The status codes:
G: The file exists only on the GHI disk.
B: The file exists both on the GHI disk and the HPSS.
BP: The file exists both on the GHI disk and the HPSS. This file is not GHI-purged.
H: The file exists only on the HPSS and not on the GHI disk.
Tape staging
To stage a few files from tape, use the "od" command (od is octal dump) and check the file status with the ghils command
od /ghi/fs01/path/to/file | tail -n 1
To stage lots of files, use the
hstage utility (it is not a command). Make a list of files to stage in a file. Put file in the /ghi/fs0x/hstage/requests directory.
The result is output in the /ghi/fs0x/hstage/results/yyyymmdd directory.
To find your request files, use the find command.
find /ghi/fs0?/hstage/requests/done/*/ -user username
Topic revision: r1 - 2019-01-25
- rsobie