for NT, give "mt -f \\.\<tape?> status" a look
I believe when "cleaning required led" is on an entry
is displayed in mt status output.
for Unix, I believe it to be the same.
HTH,
Th
Kind regards - Bien cordialement - Vriendelijke groeten,
Thierry FAIDHERBE
HPCI - Storage & Server Integration Practice
Tru64 Unix and Legato EBS Consultant
********* ********* HEWLETT - PACKARD
******* h ******* 1 Rue de l'aeronef/Luchtschipstraat
****** h ****** 1140 Bruxelles/Brussel/Brussels
***** hhhh pppp *****
***** h h p p ***** 100/102 Blv de la Woluwe/Woluwedal
***** h h pppp ***** 1200 Bruxelles/Brussel/Brussels
****** p ****** BELGIUM
******* p *******
********* ********* Phone : +32 (0)2 / 729.85.42
Mobile : +32 (0)498/ 94.60.85
Fax : +32 (0)2 / 729.88.30
I N V E N T Email : thierry.faidherbe AT hp DOT com
Internet : http://www.hp.com/
________________________________________________________________________
MOBISTAR SA/NV
SYSTEM Team Charleroi, Mermoz 2 Phone : +32 (0)2 / 745.75.81
Avenue Jean Mermoz, 32 Fax : +32 (0)2 / 745.89.56
6041 GOSSELIES Email : tfhaidhe AT mail.mobistar DOT be
BELGIUM Web : http://www.mobistar.be/
________________________________________________________________________
-----Original Message-----
From: Legato NetWorker discussion [mailto:NETWORKER AT LISTMAIL.TEMPLE DOT EDU]
On Behalf Of Stan Horwitz
Sent: mardi 30 décembre 2003 19:56
To: NETWORKER AT LISTMAIL.TEMPLE DOT EDU
Subject: Re: [Networker] Detecting cleaning required
On Tue, 30 Dec 2003, Davina Treiber wrote:
>Going back yet again to the old chestnut about tape drive cleaning...
>
>Does anyone know if it's possible to interrogate a tape drive (e.g. a DLT
>or an LTO) via SCSI commands, to find out whether it needs cleaning? I know
>that some jukeboxes can get this information from the drives, but I'm
>looking for a universal method - communicating directly between a server
>and a drive, irrespective of what the library is, or even if there is no
>library. Ideally I'm looking for a little standalone utility that will do
>this, for Solaris and/or NT.
This is an interesting question; very interesting.
I too would like to have such a script. My needs are more modest though. I
would be happy if the script only worked on the two tape libraries I work
with.
It seems to me that the only generic way to write such a script would be
to maintain a table of every known tape device and the number of hours its
manufacturer recommends between cleanings, then scan the /nsr/daemon.log
file for use of the available tape drives and use nsradmin to determine
which type of tape drive(s) are in use in a particular NetWorker
environment.
--
Note: To sign off this list, send a "signoff networker" command via email
to listserv AT listmail.temple DOT edu or visit the list's Web site at
http://listmail.temple.edu/archives/networker.html where you can
also view and post messages to the list.
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
--
Note: To sign off this list, send a "signoff networker" command via email
to listserv AT listmail.temple DOT edu or visit the list's Web site at
http://listmail.temple.edu/archives/networker.html where you can
also view and post messages to the list.
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
|