This is an old revision of the document!
Tapeutil or ITDT
If you are using IBM Tape Diagnostic Tool (ITDT), you just need to replace tapeutil by itdt.
tapeutil -f /dev/smc0 inventory | |
tapeutil -f /dev/smc0 inventory | sed -n '/Import/,/ |
tapeutil -f /dev/smc0 inventory -i | |
mtlib
mtlib -l /dev/lmcp0 -qL | Library status |
mtlib -l /dev/lmcp0 -A | Library address information |
mtlib -l /dev/lmcp0 -qS | Library information and statistical data |
mtlib -l /dev/lmcp0 -DE | Display drives information |
mtlib -l /dev/lmcp0 -qM | Show mounted tapes |
mtlib -l /dev/lmcp0 -vqI | Category codes for tapes - tapes information |
mtlib -l /dev/lmcp0 -qV -V VolName | Information about tape |
mtlib -l /dev/lmcp0 -vqV -V VolName | Information about tape (verbose) |
mtlib -l /dev/lmcp0 -qI | List tapes |
mtlib -l /dev/lmcp0 -qD -f /dev/rmt1 | Drive status |
mtlib -l /dev/lmcp0 -a -V VolName | Barcode, examine tape to assure that it is physically in library |
mtlib -l /dev/lmcp0 -vqK -s FFFD | Number of 3590 cleaning tapes |
mtlib -l /dev/lmcp0 -qC -s FFFD | List 3590 cleaning tapes |
mtlib -l /dev/lmcp0 -qC -s FFF4 | List 3592 cleaning tapes |
mtlib -l /dev/lmcp0 -C -V VolName -s<current category> -t<new category> | Change volume category |
mtlib -l /dev/lmcp0 -vC -V VolName -t FFFB | Remove tape from 3494 inventory |
mtlib -l /dev/lmcp0 -vC -V VolName -t FF10 | Eject tape |
mtlib -l /dev/lmcp0 -f /dev/rmt0 -m -V VolName | Mount tape |
mtlib -l /dev/lmcp0 -m -x drive_serial -V VolName | Mount tape |
mtlib -l /dev/lmcp0 -f /dev/rmt0 -d | Dismount tape |
mtlib -l /dev/lmcp0 -x device_serial -d | Dismount tape |