HP-UX : tape device commands

I used the following commands to play around with a tape library recently: –

ioscan -funC tape Scan for tape devices used to identify the device name
mc -p /dev/rac/c4t1s0 -s D1 -d S4 Move the tape in drive 1 to slot 4
frecover -V /tmp/vol_info -f /dev/rmt/c4t5d0BEST Get the tape volume header info and write to file

Note : Use SAM whenever possible to restore backups, it’ll make your life easier!