[rescue] Mag Tape Status

Sheldon T. Hall shel at cmhcsys.com
Fri May 30 12:01:26 CDT 2003


How can I tell (from the Solaris 7 command line) if my DDS drive is ready to
use?

`mt status` will tell me if it's offline or has no tape in it, but I can't
get `mt` to tell me if the tape that's loaded is write-protected or not.
And, of course, if I run my automatic backup script from `cron` and the tape
is write-protected, ufsdump gets its knickers in a knot....

So, how can I tell if the DDS drive is loaded _and_ that the tape is
writable?

Thanks.

-Shel



More information about the rescue mailing list