Difference between revisions of "hidden:Recover primary copy from secondary copy in HPSS"
From Lsdf
(Created page with "'''Recover volumes in HPSS''' Call "man recover" on the core server to see a detailed description of the hpss "recover" tool '''1. Recover the whole volume in HPSS(Recover...") |
|||
Line 6: | Line 6: | ||
1.1 Log in on the active HPSS core server |
1.1 Log in on the active HPSS core server |
||
+ | |||
1.2 /opt/hpss/bin/recover -i1 -v "volume_name" > /var/hpss/tmp/volume_name_recover_out.txt 2>&1 & |
1.2 /opt/hpss/bin/recover -i1 -v "volume_name" > /var/hpss/tmp/volume_name_recover_out.txt 2>&1 & |
||
+ | |||
1.3 check the output file /var/hpss/tmp/volume_name_recover_out.txt |
1.3 check the output file /var/hpss/tmp/volume_name_recover_out.txt |
||
+ | |||
1.4 recover creates one more report file /var/hpss/tmp/recover.volume_name.report.txt, take a look at it |
1.4 recover creates one more report file /var/hpss/tmp/recover.volume_name.report.txt, take a look at it |
||
+ | |||
Note: it could be a long running process depending on how much files have to be recovered |
Note: it could be a long running process depending on how much files have to be recovered |
||
+ | |||
1.5 The status of the running recovery process can be checked at any time with: |
1.5 The status of the running recovery process can be checked at any time with: |
||
− | /opt/hpss/bin/recover --status -i1 -v TK071300 |
+ | /opt/hpss/bin/recover --status -i1 -v TK071300 |
+ | |||
1.6 /opt/hpss/bin/recover -i1 -l list all running recovery processes |
1.6 /opt/hpss/bin/recover -i1 -l list all running recovery processes |
||
− | |||
'''2. Reclaim or discard the repacked cartridges |
'''2. Reclaim or discard the repacked cartridges |
Revision as of 17:44, 27 November 2018
Recover volumes in HPSS
Call "man recover" on the core server to see a detailed description of the hpss "recover" tool
1. Recover the whole volume in HPSS(Recover means: stage all files from the secondary copy and re-write the primary copy)
1.1 Log in on the active HPSS core server 1.2 /opt/hpss/bin/recover -i1 -v "volume_name" > /var/hpss/tmp/volume_name_recover_out.txt 2>&1 & 1.3 check the output file /var/hpss/tmp/volume_name_recover_out.txt 1.4 recover creates one more report file /var/hpss/tmp/recover.volume_name.report.txt, take a look at it Note: it could be a long running process depending on how much files have to be recovered 1.5 The status of the running recovery process can be checked at any time with: /opt/hpss/bin/recover --status -i1 -v TK071300 1.6 /opt/hpss/bin/recover -i1 -l list all running recovery processes
2. Reclaim or discard the repacked cartridges
!!!to be described!!!