Networker

Re: [Networker] detecting read/write status of tape

2006-10-30 14:59:44
Subject: Re: [Networker] detecting read/write status of tape
From: Dag Nygren <dag AT NEWTECH DOT FI>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Mon, 30 Oct 2006 21:56:21 +0200
> > I can't seem to find a way to determine the read only or read write  
> > status of an LTO2 tape.  Using Solaris.  mt won't tell me.

> > If anyone knows how to find out the status of the read/write tab in a  
> > form suitable for incorporation into a script I'd be most grateful.
> 
> I believe that (when mounted), the state appears in the GUI and
> nsrwatch.  If true, then I'd wager that either the 'NSR device' or the
> 'NSR' resources would have the information.  I just don't see the
> correct field by a quick scan at the manual.

I don't think so. This info is quite a bit closer to the hardware.
You might be able to do something with the cdi* commands.
Haven't checked very much though-

Best
Dag

To sign off this list, send email to listserv AT listserv.temple DOT edu and 
type "signoff networker" in the
body of the email. Please write to networker-request AT listserv.temple DOT edu 
if you have any problems
wit this list. You can access the archives at 
http://listserv.temple.edu/archives/networker.html or
via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER