This is an old revision of the document!
Table of Contents
Tape Device Driver
inquiry:
tapeutil -f /dev/rmt/changerDevice -o qsn -v
Drive Dump:
Problem(Abstract)
DRIVE DUMP HPUX
(force drive dump) tapeutil -f /dev/rmt/2mnb -o fdp -v
Hide details for explaination of syntax:explaination of syntax: explaination of syntax:
tapeutil -f f -o fdp [-w w ][-v ]
-f Device Special File Name (always required) {/dev/rmt/2mnb or similar}
-o Operation (always required)
-w Open mode (optional for all commands) {1=read/write, 2=read only (default), 3=write only, 4=append}
-v Verbose mode (optional for all commands, stand-alone flag) {no value required, absence of flag means quiet mode}
4. Store drive dump:
tapeutil -f /dev/rmt/2mnb -o sdp -z /tmp/2mnb.dmp -v
Hide details for explaination of syntax:explaination of syntax:
explaination of syntax:
tapeutil -f f -o sdp [-w w ][-v ]-z z
-f Device Special File Name (always required) {/dev/rmt/2mnb or similar}
-o Operation (always required)
-w Open mode (optional for all commands) {1=read/write, 2=read only (default), 3=write only, 4=append}
-v Verbose mode (optional for all commands, stand-alone flag) {no value required, absence of flag means quiet mode}
-z Input/Output File Name
Complete List from DOCUMENTATION: http://www.fkf.mpg.de/edv/tsm/IBM_TotalStorage_tape_IUG.pdf
Getting Drive infos:
tapeutil -f /dev/rmt/ch_06_3592jb3_test -o dvc -v /root/dvc.out
Neuinstallation tape device Driver:
http://www-01.ibm.com/support/docview.wss?uid=ssg1S7002972&aid=1
# swinstall -p -x ask=true atdd (preview option) # swinstall -x ask=true atdd in HP-UX 11i v1, and v2 # swinstall -x autoreboot=true -x ask=true atdd in HP-UX 11i v3
Nach der Installation sind folgende Files up to Date:
srvhzdtsmlin1:/proc/scsi # ll total 0 -r--r--r-- 1 root root 0 Apr 11 14:05 IBMchanger -r--r--r-- 1 root root 0 Apr 11 14:05 IBMtape
Löschen und Neuanlegen der Special Files:
/opt/atdd/bin/atdd_mksf
"Wiederfinden" von Drives nach Microcode Upgrade
In manchen fällen ändert sich bei Microcode Upgrade die ID eines Drives. Somit funktionieren die Links nicht mehr.
# count drives ioscan -FNkCtape | grep -c CLAIM
# do ioscan ioscan
# count drives again ;) ioscan -FNkCtape | grep -c CLAIM
#remove old special files where CLAIMED = NO rm -H /dev/rtape/…
# set links (for the one drive, or for all by script) ln -s /dev/rtape/….nb /dev/rmt/$yourname
