Difference between revisions of "Netbackup Tape Management"

From MyWiki
Jump to: navigation, search
(Blanked the page)
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
'''List the tapes in the Load ports, If there is a tape in a port you will see "full=1", if empty "full=0" <br>'''
 
:''echo "s i q" | tldtest -r /dev/sg/c0tw500104f0009f24d7l0'' <br>
 
'''For interactive menu to move tapes<br>'''
 
:''tldtest -r /dev/sg/c0tw500104f0009f24d7l0''<br>
 
'''For example, to move a tape from load port 4 to slot 23''' <br>
 
:''m p4 s23''<br>
 
'''To see if there are any tapes in the load ports'''<br>
 
:''s i q''  ( there are spaces between each letter )<br>
 
'''To list the free slots in the library'''<br>
 
:''echo "s s" | tldtest -r /dev/sg/c0tw500104f0009f24d7l0 | grep 'contains Cartridge = no'''<br>
 
'''To update the volume configuration in the library, needs to be done when tapes are loaded or unloaded manually, the accuracy of the information displayed by the ''"available_media"'' command depends on the volume configuration being updated.<br>'''
 
:''vmupdate -rt TLD -rn 0''<br>
 
'''To show tape drive status'''<br>
 
:''vmoprcmd -d ds''<br>
 
:''vmoprcmd -dp ds''<br>
 
'''How many tape drives are in current use'''<br>
 
:''ssh <server> /usr/openv/volmgr/bin/vmoprcmd -dp ds  | awk '{ print $4}' | grep Yes | wc -l''<br><br>
 
<br>
 
'''Determine which volume pools are available by running the following command:'''<br>
 
''/usr/openv/volmgr/bin/vmpool -listall''<br>
 
  
'''To change the volume pool of the media, run the following command:'''<br>
 
''/usr/openv/volmgr/bin/vmchange -M <master server> -p <pool number> -m <media ID>''<br>
 
'''List all pools'''<br>
 
''vmpool -listall -bx''
 

Latest revision as of 14:51, 4 June 2021