[Veritas-bu] Organizing some tapes
2002-03-25 13:44:30
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_001_01C1D42D.1930CD10
Content-Type: text/plain
vmquery could do this for you, column 20 is the "assigned" date (empty tapes
will have 00/00/0000 here" and column 9 is the slot number ("-" for tapes
not in the library).
Therefore:
vmquery -a -w | awk '$9=="-" && $20=="00/00/0000" {print $1}'
-Mark
-----Original Message-----
From: Ray Chudzinski [mailto:rchudzinski AT verio DOT net]
Sent: Monday, March 25, 2002 11:17 AM
To: veritas-bu AT mailman.eng.auburn DOT edu
Subject: [Veritas-bu] Organizing some tapes
Hello Folks,
I am looking for some help determining which tapes in a
set that has been ejected from the robot no longer have unexpired
images on them. (That is they contain _only_ expired images.)
Does anyone have any ideas on which commands in the CLI I would
need to run or run and awk with others to get this?
Thanks in advance.
ray
--
Raymond P Chudzinski
NTT/VERIO Unix Support Engineer
rchudzinski AT verio DOT net
_______________________________________________
Veritas-bu maillist - Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
------_=_NextPart_001_01C1D42D.1930CD10
Content-Type: text/html
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3DUS-ASCII">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2653.12">
<TITLE>RE: [Veritas-bu] Organizing some tapes</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=3D2>vmquery could do this for you, column 20 is the =
"assigned" date (empty tapes will have 00/00/0000 here" =
and column 9 is the slot number ("-" for tapes not in the =
library).</FONT></P>
<P><FONT SIZE=3D2>Therefore:</FONT>
</P>
<P><FONT SIZE=3D2>vmquery -a -w | awk '$9=3D=3D"-" && =
$20=3D=3D"00/00/0000" {print $1}'</FONT>
</P>
<P><FONT SIZE=3D2>-Mark</FONT>
</P>
<P><FONT SIZE=3D2>-----Original Message-----</FONT>
<BR><FONT SIZE=3D2>From: Ray Chudzinski [<A =
HREF=3D"mailto:rchudzinski AT verio DOT net">mailto:rchudzinski AT verio DOT
net</A>]<=
/FONT>
<BR><FONT SIZE=3D2>Sent: Monday, March 25, 2002 11:17 AM</FONT>
<BR><FONT SIZE=3D2>To: veritas-bu AT mailman.eng.auburn DOT edu</FONT>
<BR><FONT SIZE=3D2>Subject: [Veritas-bu] Organizing some tapes</FONT>
</P>
<BR>
<P><FONT SIZE=3D2>Hello Folks,</FONT>
<BR> <FONT SIZE=3D2>I am =
looking for some help determining which tapes in a </FONT>
<BR><FONT SIZE=3D2>set that has been ejected from the robot no longer =
have unexpired</FONT>
<BR><FONT SIZE=3D2>images on them. (That is they contain _only_ expired =
images.) </FONT>
</P>
<P><FONT SIZE=3D2>Does anyone have any ideas on which commands in the =
CLI I would</FONT>
<BR><FONT SIZE=3D2>need to run or run and awk with others to get =
this?</FONT>
</P>
<P><FONT SIZE=3D2>Thanks in advance.</FONT>
<BR><FONT SIZE=3D2>ray</FONT>
<BR><FONT SIZE=3D2>-- </FONT>
<BR><FONT SIZE=3D2>Raymond P =
Chudzinski </FONT>
<BR><FONT SIZE=3D2>NTT/VERIO Unix Support Engineer</FONT>
<BR><FONT SIZE=3D2>rchudzinski AT verio DOT net =
</FONT>
<BR><FONT =
SIZE=3D2>_______________________________________________</FONT>
<BR><FONT SIZE=3D2>Veritas-bu maillist - =
Veritas-bu AT mailman.eng.auburn DOT edu</FONT>
<BR><FONT SIZE=3D2><A =
HREF=3D"http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu" =
TARGET=3D"_blank">http://mailman.eng.auburn.edu/mailman/listinfo/veritas=
-bu</A></FONT>
</P>
</BODY>
</HTML>
------_=_NextPart_001_01C1D42D.1930CD10--
|
|
|