14 replies
by john h.
by skizz
by john h.
by skizz
by john h.
by cpfeiffe
I'm not familiar with SCO either, just Solaris, HP and AIX. If you have mt available that would be good to use, but you probably don't want to rewind the tape (if you plan to store more than one image on a tape the rewind command will put it back to the beginning and your next write will overwrite what was on the tape). Try this syntax -- mt -f /dev/rmt/0n status, assuming /dev/rmt/0 is the location of your tape. The n is for no rewind and status gives you a simple three line status of the tape. If there is no tape then you will get an error when you run this command instead of a three line status output.
Good luck.
by john h.
by skizz
now i'm running out of ideas :)
Have you tried http://www.seagate.com/support/tape/utils/inquire.html
or
http://www.unitrends.com/scsitc.html
by john h.
by cavedweller
by john h.
by burra
I believe the following script should work.
echo"Tape testing going on"
tar tv >/dev/null 2>&1
echo $? >tmp
a=`cut -c1-2 tmp`
if [ $a = 0 ]
then
echo "Tape is inserted"
else
clear
echo "No tape please "
fi
The "tar tv" can be replaced by "mt rew" also which will yield the same result. We can expand this script by writing the out put of the script to mail automatically for the Admin.
by john h.
by john h.
This discussion is closed to new replies.
Trending Linux posts
Sort by Trending