Difference between revisions of "Netbackup Tape Management"

From MyWiki
Jump to: navigation, search
Line 5: Line 5:
 
For example, to move a tape froom load port 4 to slot 23 <br>
 
For example, to move a tape froom load port 4 to slot 23 <br>
 
m p4 s23<br>
 
m p4 s23<br>
 +
To see if there are any tapes in the load ports
 +
s i q
 
''' To find the empty slots in tape library, this will list the full slots, should be easy to pick out the ones missing'''<br>
 
''' To find the empty slots in tape library, this will list the full slots, should be easy to pick out the ones missing'''<br>
 
available_media | nawk '{ print $5}' | sort -n | grep '^[1-9]'
 
available_media | nawk '{ print $5}' | sort -n | grep '^[1-9]'

Revision as of 11:19, 20 May 2014

List the tapes in the Load ports, If there is a tape in a port you will see "full=1", if empty "full=0"
echo "s i q" | tldtest -r /dev/sg/c0tw500104f0009f24d7l0
For interactive menu to move tapes
tldtest -r /dev/sg/c0tw500104f0009f24d7l0
For example, to move a tape froom load port 4 to slot 23
m p4 s23
To see if there are any tapes in the load ports s i q To find the empty slots in tape library, this will list the full slots, should be easy to pick out the ones missing
available_media | nawk '{ print $5}' | sort -n | grep '^[1-9]'