Interesting. This just reminded me of a question I keep meaning to ask;
Can anyone get the -f option to work for tapeutil on anything other than
AIX?
At this site the command returns with no output on either solaris / hpux
at various code levels.
It's annoying, because we have to go through the menu's when we are inq
83'ing drives to see WWN's, rather than being able to use a script.
Matt.
--------------------------
Matthew Warren.
matthew.warren AT powergen.co DOT uk
matthew_j_warren AT hotmail DOT com
http://tsmwiki.com/tsmwiki/MatthewWarren
-----Original Message-----
From: ADSM: Dist Stor Manager [mailto:ADSM-L AT VM.MARIST DOT EDU] On Behalf Of
David Longo
Sent: Thursday, July 28, 2005 2:29 PM
To: ADSM-L AT VM.MARIST DOT EDU
Subject: Re: tapeutil question !
tapeutil -f /dev/smc0 inventory > tapelist
Standard unix i.o.
David B. Longo
System Administrator
Health First, Inc.
3300 Fiske Blvd.
Rockledge, FL 32955-4305
PH 321.434.5536
Pager 321.634.8230
Fax: 321.434.5509
david.longo AT health-first DOT org
>>> goran.k AT VIP DOT HR 07/28/05 7:28 AM >>>
hi fellas !
just a quick one,
how to redirect outpur from tapeutil to a file ?
i would like to file element inventory, thanks ...
goran
vipnet
problems following, if any want to take a look
thanks ...
ANR8457I AUDIT LIBRARY: Operation for library LTO_LIB03 started as
process
9.
ANR8300E I/O error on library LTO_LIB03 (OP=00006C03, CC=207, KEY=05,
ASC=83, ASCQ=04,
SENSE=70.00.05.00.00.00.00.0A.00.00.00.00.83.04.42.00.00.00.,
Description=Device is not in a state capable of performing request).
Refer
to Appendix D in the 'Messages' manual for recommended
action.
ANR8942E Could not move volume NOT KNOWN from slot-element 4096 to
slot-element 261.
ANR8460E AUDIT LIBRARY process for library LTO_LIB03 failed.
ANR0985I Process 9 for AUDIT LIBRARY running in the BACKGROUND completed
with completion state FAILURE at 11:07:18.
ANR8470W Initialization failure on drive DRIVE04 in library LTO_LIB03.
ANR8912E Unable to verify the label of volume from slot-element 16 in
drive
DRIVE04 (/dev/rmt4) in library LTO_LIB03.
ANR8951I Device /dev/rmt4, volume unknown has issued the following
Information TapeAlert: The tape in the drive is a cleaning
cartridge.
ANR8302E I/O error on drive DRIVE05 (/dev/rmt4) (OP=WRITE, Error
Number=5,
CC=0, KEY=0B, ASC=4B, ASCQ=00,
SENSE=70.00.0B.00.00.00.00.0A.00.00.00.00.4B.00.00.00.00.00,
Description=An undetermined error has occurred). Refer to Appendix D in
the
'Messages' manual for recommended action.
ANR1411W Access mode for volume 963AGG now set to "read-only" due to
write
error.
IBM Tape Device Error Log Analysis
A00000
NAME: rmt4 LOCATION: 20-58-0 DEVICE TYPE: 3580
DATE: 07/28/05 04:54:00 SEQUENCE #26232 ERROR ID: HARDWARE ERROR
SCSI CDB: 0A0004000000
SCSI STATUS BYTE: CHECK CONDITION SENSE KEY: B ASC/ASCQ: 4B00
SCSI SENSE BYTES 0-17:
70000B000000000A000000004B0000000000
SCSI EXTENDED SENSE BYTES:
0000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000
NAME: rmt4 LOCATION: 20-58-0 DEVICE TYPE: 3580
DATE: 07/28/05 04:53:31 SEQUENCE #26231 ERROR ID: HARDWARE ERROR
SCSI CDB: 0A0004000000
SCSI STATUS BYTE: CHECK CONDITION SENSE KEY: B ASC/ASCQ: 4B00
SCSI SENSE BYTES 0-17:
70000B000000000A000000004B0000000000
SCSI EXTENDED SENSE BYTES:
0000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000
Drive Address 256
Drive State .................... Abnormal
ASC/ASCQ ....................... 8300
Media Present .................. Yes
Robot Access Allowed ........... No
Source Element Address Valid ... No
Media Inverted ................. No
Same Bus as Medium Changer ..... Yes
SCSI Bus Address ............... 0
Logical Unit Number Valid ...... No
Volume Tag .................
+----------------+
| |
| 261 drive 3 |
+----------------+
| |
| 260 drive 2 |
+----------------+
| |
| 259 drive 6 |
+----------------+
| |
| 258 drive 5 |
+----------------+
| |
| 257 drive 1 |
+----------------+
| |
| 256 drive 4 |
+----------------+
is DRIVE04 faulty ?
##############################################################
This message is for the named person's use only. It may
contain confidential, proprietary, or legally privileged
information. No confidentiality or privilege is waived or
lost by any mistransmission. If you receive this message
in error, please immediately delete it and all copies of it
from your system, destroy any hard copies of it, and notify
the sender. You must not, directly or indirectly, use,
disclose, distribute, print, or copy any part of this message
if you are not the intended recipient. Health First reserves
the right to monitor all e-mail communications through its
networks. Any views or opinions expressed in this message
are solely those of the individual sender, except (1) where
the message states such views or opinions are on behalf of
a particular entity; and (2) the sender is authorized by
the entity to give such views or opinions.
##############################################################
___________________________ Disclaimer Notice __________________________
This message and any attachments are confidential and should only be read by
those to whom they are addressed. If you are not the intended recipient, please
contact us, delete the message from your computer and destroy any copies. Any
distribution or copying without our prior permission is prohibited.
Internet communications are not always secure and therefore Powergen Retail
Limited does not accept legal responsibility for this message. The recipient is
responsible for verifying its authenticity before acting on the contents. Any
views or opinions presented are solely those of the author and do not
necessarily represent those of Powergen Retail Limited.
Powergen Retail Ltd is authorised and regulated by the Financial Services
Authority for the sale and service of general insurance products.
Registered addresses:
Powergen Retail Limited, Westwood Way, Westwood Business Park, Coventry, CV4
8LG.
Registered in England and Wales No: 3407430
Telephone +44 (0) 2476 42 4000
Fax +44 (0) 2476 42 5432
|