hidden:Repack cartridges in HPSS: Difference between revisions

From Lsdf
Jump to navigationJump to search
No edit summary
No edit summary
 
(7 intermediate revisions by 2 users not shown)
Line 3: Line 3:
Call "man repack" on the core server to see a detailed description of the hpss command "repack"
Call "man repack" on the core server to see a detailed description of the hpss command "repack"


'''1. Repack a single cartridge in HPSS(Rapack means: make a copy of the mentioned cartridge)'''
'''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.1 Log in on the active HPSS core server
1.2 Check the state(VV Cond) of the selected cartridge
1.2 Check the state(VV Cond) of the selected cartridge
/opt/hpss/bin/dump_sspvs -i1 | grep TK0780
/opt/hpss/bin/dump_sspvs -i1 | grep TK0780
Line 13: Line 14:
TK078000 RO 0 204 3,868,477,632 3,868,477,632
TK078000 RO 0 204 3,868,477,632 3,868,477,632
The cartridge should NOT have the "VV Cond" DOWN (possible VV Cond are: RWC,RO,EOM,DOWN)
The cartridge should NOT have the "VV Cond" DOWN (all possible VV Cond are: RWC,RO,EOM,DOWN)
1.2 Create a text file with the name of the cartridge to be repacked
1.3 Create a text file with the name of the cartridge to be repacked
Example: cat /tmp/repack_TK0780.txt
Example: cat /hpss/repack/repack_TK0780.txt
TK0780
TK0780
1.2 Start a repack process
repack -i1 -V -t tape -S /tmp/repack_TK0780.txt>/tmp/repack_TK0780.out &
1.4 Start a repack process
1.3 Check the output file (Ex.: less /tmp/repack_TK0780.out)
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!!!





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