David Gutierrez wrote:
Just installing it see below.
# mtx -f /dev/sg13 inventory
mtx: Request Sense: Long Report=yes
mtx: Request Sense: Valid Residual=no
mtx: Request Sense: Error Code=70 (Current)
mtx: Request Sense: Sense Key=Illegal Request
mtx: Request Sense: FileMark=no
mtx: Request Sense: EOM=no
mtx: Request Sense: ILI=no
mtx: Request Sense: Additional Sense Code = 25
mtx: Request Sense: Additional Sense Qualifier = 00
mtx: Request Sense: BPV=no
mtx: Request Sense: Error in CDB=no
mtx: Request Sense: SKSV=no
Initialize Element Status (0x07) failed <<<<<<<<<<<<<<<<<<<<<<<<<<
mtx:inventory failed <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
# tapeinfo -f /dev/sg13 inquiry
argc=4Usage: tapeinfo -f <generic-device>
# tapeinfo -f /dev/sg13
Product Type: (null)
Vendor ID: 'Over '
Product ID: 'NEO VIA FCO '
Revision: '2.20'
Attached Changer API: No
SCSI ID: 1
SCSI LUN: 0
Ready: no
#
# mtx -f /dev/sg13 inquiry
Product Type: Unknown
Vendor ID: 'Over '
Product ID: 'NEO VIA FCO '
Revision: '2.20'
Attached Changer API: No
# mtx -f /dev/sg13 altres status
mtx: Request Sense: Long Report=yes
mtx: Request Sense: Valid Residual=no
mtx: Request Sense: Error Code=70 (Current)
mtx: Request Sense: Sense Key=Illegal Request
mtx: Request Sense: FileMark=no
mtx: Request Sense: EOM=no
mtx: Request Sense: ILI=no
mtx: Request Sense: Additional Sense Code = 25
mtx: Request Sense: Additional Sense Qualifier = 00
mtx: Request Sense: BPV=no
mtx: Request Sense: Error in CDB=no
mtx: Request Sense: SKSV=no
Mode sense (0x1A) for Page 0x1D failed
mtx: Request Sense: Long Report=yes
mtx: Request Sense: Valid Residual=no
mtx: Request Sense: Error Code=70 (Current)
mtx: Request Sense: Sense Key=Illegal Request
mtx: Request Sense: FileMark=no
mtx: Request Sense: EOM=no
mtx: Request Sense: ILI=no
mtx: Request Sense: Additional Sense Code = 25
mtx: Request Sense: Additional Sense Qualifier = 00
mtx: Request Sense: BPV=no
mtx: Request Sense: Error in CDB=no
mtx: Request Sense: SKSV=no
READ ELEMENT STATUS Command Failed<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
#
# mtx -f /dev/sg13 inventory
mtx: Request Sense: Long Report=yes
mtx: Request Sense: Valid Residual=no
mtx: Request Sense: Error Code=70 (Current)
mtx: Request Sense: Sense Key=Illegal Request
mtx: Request Sense: FileMark=no
mtx: Request Sense: EOM=no
mtx: Request Sense: ILI=no
mtx: Request Sense: Additional Sense Code = 25
mtx: Request Sense: Additional Sense Qualifier = 00
mtx: Request Sense: BPV=no
mtx: Request Sense: Error in CDB=no
mtx: Request Sense: SKSV=no
Initialize Element Status (0x07) failed
mtx:inventory failed <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
#
David F. Gutierrez
[email protected]
Maxim Integrated Products
972-371-6190
-----Original Message-----
From: Chris Hoogendyk [mailto:[email protected]]
Sent: Tuesday, December 08, 2009 4:05 PM
To: David Gutierrez
Cc: Dustin J. Mitchell; amanda-users
Subject: Re: Tape drive not working.
David Gutierrez wrote:
Yes, it's a /dev/sg13
# tapeinfo -f /dev/sg13
Product Type: (null)
Vendor ID: 'Over '
Product ID: 'NEO VIA FCO '
Revision: '2.20'
Attached Changer API: No
SCSI ID: 1
SCSI LUN: 0
Ready: no
#
David F. Gutierrez
[email protected]
Maxim Integrated Products
972-371-6190
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Dustin J.
Mitchell
Sent: Tuesday, December 08, 2009 3:13 PM
To: David Gutierrez
Cc: amanda-users
Subject: Re: Tape drive not working.
On Tue, Dec 8, 2009 at 1:17 PM, David Gutierrez
<[email protected]> wrote:
# mtx -f /dev/sg13 inquiry
Product Type: Unknown
The system doesn't seem to think this is a tape robot. Do you have
the right sg##?
Has it ever worked? Or are you just installing it?
I don't have your particular type of library (apparently an Overland?),
and I'm on Solaris rather than Linux, but . . .
Typically, you would have to install the driver for your tape drive and
also the driver for your changer. That might mean editing the driver
files to give them the right parameters, which can be dicey, but the
vendor should provide details so that it is just following their
directions (backup the device files before editing them!!). On Solaris
there would be a reconfigure reboot after that. Then mtx would work.
However, be sure you understand that the /dev/sg13 that you might give
to mt or tapeinfo is not the same as the changer device that you would
give mtx. So, for example, on my Solaris systems, I might have `mt -f
/dev/rmt/1n`, whereas, mtx would be `mtx -f /dev/scsi/changer/c2t0d0
status`.
Check `man mtx`, or go to http://linux.die.net/man/1/mtx. See the
section on how to find your changer device.
Please read and make use of all of my original post (directly above).
You are using the same device (the tape device) for both tapeinfo and
mtx. When you want to address the changer with mtx, it is a different
device. The mtx man page has hints on how to find your changer device.
Of course, that assumes you have it installed. What steps have you taken
to install and configure your tape library? What kind of tape library is
it? What is your OS? What documentation are you using to guide your install?
--
---------------
Chris Hoogendyk
-
O__ ---- Systems Administrator
c/ /'_ --- Biology & Geology Departments
(*) \(*) -- 140 Morrill Science Center
~~~~~~~~~~ - University of Massachusetts, Amherst
<[email protected]>
---------------
Erdös 4