Ubuntu 10.10 / 11.10 with HP StorageWorks DAT 72e
Look into the commands mt and tar.
mt is used to rewind / erase / manipulate the tape itself, and tar is used to write to it.
If your drive has a tape changer as well, that can usually be controlled using mtx.
A quick tutorial to write some files to tape, then read them back:
##prepare the tape
sudo ln /dev/st0 /dev/tape #this sets up a symlink from the tape device to /dev/tape, which simplifies mt usage
sudo mt status # check status of a loaded tape
sudo mt erase #wipe the tape
sudo mt rewind #go to the start of the tape
##write to the tape
tar zcf /dev/tape /home/username #write /home/username to the tape (compressed)
##read from the tape
mt rewind #rewind tape to start
cd /location/you/want/to/write/to #change to where you want data to be saved to
tar zxvf /dev/tape #read from
ls #check files were read OK
Try that out for starters, also look into "man mt" and "man tar"
