Networker

Re: [Networker] Determine if a media drive is in use

2007-12-05 14:50:11
Subject: Re: [Networker] Determine if a media drive is in use
From: Rebecca Alexander <rjalexander AT BALDOR DOT COM>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Wed, 5 Dec 2007 14:48:26 -0500
Hmmm.  I'll have to look at that.  What I'm doing is just using mminfo to
check tapes eligible to be recycled then passing that info to nsrjb to get
all information I need to label the tape.

It looks like to me that nsradmin is interactive - I need a way to find that
information through an email.

BTW - here is the snippet that does the query:


On Wed, 5 Dec 2007 10:16:43 -0600, Fazil Saiyed <Fazil.Saiyed AT ANIXTER DOT 
COM>
wrote:

mminfo -a -r "volume,location,state" | grep STKL700e.*"E "$ | grep STKL700 |
awk '{print $1}' | xargs nsrjb

>I would be interested in the script that looks for tape written over 10
>days ago and then marks them recyclable.

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 with 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