User Tools

Site Tools


tape_device_driver

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
tape_device_driver [2011/08/02 09:30] michaeltape_device_driver [2021/04/24 07:40] (current) – external edit 127.0.0.1
Line 14: Line 14:
 Hide details for explaination of syntax:explaination of syntax: Hide details for explaination of syntax:explaination of syntax:
 explaination of syntax: explaination of syntax:
-tapeutil -f f -o fdp [-w w ][-v ] +  tapeutil -f f -o fdp [-w w ][-v ] 
--f Device Special File Name (always required) {/dev/rmt/2mnb or similar} +  -f Device Special File Name (always required) {/dev/rmt/2mnb or similar} 
--o Operation (always required) +  -o Operation (always required) 
--w Open mode (optional for all commands) {1=read/write, 2=read only (default), 3=write only, 4=append} +  -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} +  -v Verbose mode (optional for all commands, stand-alone flag) {no value required, absence of flag means quiet mode}
- +
-4. Run the following syntax at the command line: (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  +
  
 +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: Complete List from DOCUMENTATION:
 http://www.fkf.mpg.de/edv/tsm/IBM_TotalStorage_tape_IUG.pdf 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
 +
 +
 +
 +
  
tape_device_driver.1312277455.txt.gz · Last modified: 2021/04/24 07:38 (external edit)