You are here: GSI Wiki>Linux Web>QRgStore (2018-06-15, ThomasRoth)Edit Attach

Query and Retrieve old gstore data

Data archives on tape written via Gstore can be retrieved via TSM commands, now wrapped in the scripts and


  • Both scripts have to run under sudo
    • This means you have to be entered into the sudoers database by an admin!

Where does it work?

Due to the implementation of user/group ids and access rights in the original Gstore software, retrieval of these data does not work on NFS shares.
  • You cannot do it in your normal /u - home directory
  • You cannot do it directly from outside GSI.

Therefore, the scripts have been placed on the interactive cluster machines, where retrieval can be done onto Lustre.


sudo /usr/local/bin/ /my-archive/

/my-archive/ could be something like /fopi/ or /cbm/ or


Best explained by example:

  • Go to and create your target directory:
ssh lxbk0198
troth@lxbk0198:$ cd /lustre/nyx/hpc/troth
troth@lxbk0198:$ mkdir mytapedir
  • Run rgstore specifying that target directory with a trailing slash:
troth@lxbk0198:/lustre/nyx/hpc/troth$ sudo /usr/local/bin/ /fopi/dstx/iqmd.geant.auau1000.zhm01.*   mytapedir/

troth@lxbk0198:/lustre/nyx/hpc/troth/$ ls -l mytapedir
total 4
drwxr-sr-x 2 troth hpc 4096 Mar  5 10:08 dstx

troth@lxbk0198:/lustre/nyx/hpc/troth/tmp$ ls -l new/dstx
total 787530
-rw-r--r-- 1 troth hpc 395514000 Mar  5 10:08 iqmd.geant.auau1000.zhm01.v1
-rw-r--r-- 1 troth hpc 411264000 Mar  5 10:08 iqmd.geant.auau1000.zhm01.v2

-- ThomasRoth - 2018-06-15
Topic revision: r1 - 2018-06-15, ThomasRoth - This page was cached on 2020-12-04 - 11:34.

This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding GSI Wiki? Send feedback | Imprint (german) | Privacy Policy (german)