Difference between revisions of "hidden:Repack cartridges in HPSS"

From Lsdf
(Created blank page)
 
 
(22 intermediate revisions by 2 users not shown)
Line 1: Line 1:
  +
'''Rapack cartridges in HPSS'''
  +
  +
Call "man repack" on the core server to see a detailed description of the hpss command "repack"
  +
  +
'''1. Repack a single cartridge in HPSS (Repack means: make a copy of the mentioned cartridge)'''
  +
  +
1.1 Log in on the active HPSS core server
  +
  +
1.2 Check the state(VV Cond) of the selected cartridge
  +
/opt/hpss/bin/dump_sspvs -i1 | grep TK0780
  +
  +
VV Storage
  +
Volume Cond Family Class Space Used Max Volume Size Other information
  +
TK078000 RO 0 204 3,868,477,632 3,868,477,632
  +
  +
The cartridge should NOT have the "VV Cond" DOWN (all possible VV Cond are: RWC,RO,EOM,DOWN)
  +
  +
1.3 Create a text file with the name of the cartridge to be repacked
  +
Example: cat /hpss/repack/repack_TK0780.txt
  +
TK0780
  +
  +
1.4 Start a repack process
  +
repack -i1 -V -t tape -S /hpss/repack/repack_TK0780.txt > /hpss/repack/repack_TK0780.out &
  +
  +
notices: starting of repack process with nohup is not necessary, if the shell does not send SIGHUP to its child processes
  +
files in /tmp might be deleted regularly, therefore start it with another directory, e.g. /hpss/repack
  +
  +
1.5 Check the output file (Example: less /hpss/repack/repack_TK0780.out)
  +
  +
'''2. Reclaim or discard the repacked cartridges
  +
!!!to be described!!!
  +
  +
  +
  +
----[[ hidden:HPSS|<small>back to HPPS main page</small>]]

Latest revision as of 11:22, 3 April 2019

Rapack cartridges in HPSS

Call "man repack" on the core server to see a detailed description of the hpss command "repack"

1. Repack a single cartridge in HPSS (Repack means: make a copy of the mentioned cartridge)

1.1 Log in on the active HPSS core server 

1.2 Check the state(VV Cond) of the selected cartridge
/opt/hpss/bin/dump_sspvs -i1 | grep TK0780

          VV               Storage
Volume    Cond     Family  Class            Space Used            Max Volume Size  Other information
TK078000  RO       0       204              3,868,477,632         3,868,477,632

The cartridge should NOT have the "VV Cond" DOWN (all possible VV Cond are: RWC,RO,EOM,DOWN)

1.3 Create a text file with the name of the cartridge to be repacked
Example: cat /hpss/repack/repack_TK0780.txt
         TK0780

1.4 Start a repack process 
repack -i1 -V -t tape -S /hpss/repack/repack_TK0780.txt > /hpss/repack/repack_TK0780.out &

notices: starting of repack process with nohup is not necessary, if the shell does not send SIGHUP to its child processes
         files in /tmp might be deleted regularly, therefore start it with another directory, e.g. /hpss/repack

1.5 Check the output file (Example: less /hpss/repack/repack_TK0780.out)

2. Reclaim or discard the repacked cartridges

!!!to be described!!!



back to HPPS main page