Dan Langille wrote:
> I'm helping a client with a Linux system. I see the tape drive, but
> cannot find the tape changer. Clues please.
>
> From dmesg:
Also:
Linux version 2.6.9-78.0.8.plus.c4smp (mockbuild AT builder10.centos DOT org)
(gcc version 3.4.6 20060404 (Red Hat 3.4.6-10)) #1 SMP Thu Nov 27
19:19:34 EST 2008
And there is no /dev/changer*
>
> scsi2 : ioc0: LSI53C1030, FwRev=01032700h, Ports=1, MaxQ=255, IRQ=169
> Vendor: IBM Model: ULTRIUM-TD3 Rev: 6B20
> Type: Sequential-Access ANSI SCSI revision: 03
> Vendor: DELL Model: PV-124T Rev: 0043
> Type: Medium Changer ANSI SCSI revision: 02
> st: Version 20040403, fixed bufsize 32768, s/g segs 256
> Attached scsi tape st0 at scsi2, channel 0, id 6, lun 0
> st0: try direct i/o: yes (alignment 512 B), max page reachable by HBA
> 4503599627370495
> Attached scsi generic sg0 at scsi0, channel 0, id 8, lun 0, type 13
> Attached scsi generic sg1 at scsi0, channel 2, id 0, lun 0, type 0
> Attached scsi generic sg2 at scsi1, channel 0, id 17, lun 0, type 13
> Attached scsi generic sg3 at scsi1, channel 2, id 0, lun 0, type 0
> Attached scsi generic sg4 at scsi1, channel 2, id 1, lun 0, type 0
> Attached scsi generic sg5 at scsi2, channel 0, id 6, lun 0, type 1
> Attached scsi generic sg6 at scsi2, channel 0, id 6, lun 1, type 8
>
>
> cat /proc/scsi/scsi includes this:
>
> Host: scsi2 Channel: 00 Id: 06 Lun: 01
> Vendor: DELL Model: PV-124T Rev: 0043
> Type: Medium Changer ANSI SCSI revision: 02
>
> The above makes me think sg6 is the changer... but no luck:
>
> From mtx and mt:
>
> # mtx -f /dev/sg6 inquiry
> Product Type: Medium Changer
> Vendor ID: 'DELL '
> Product ID: 'PV-124T '
> Revision: '0043'
> Attached Changer: No
>
> # mt -f /dev/st0 status
> SCSI 2 tape drive:
> File number=0, block number=0, partition=0.
> Tape block size 0 bytes. Density code 0x44 (no translation).
> Soft error count since last status=0
> General status bits on (41010000):
> BOT ONLINE IM_REP_EN
>
>
> ]# mtx -f /dev/sg6 status
> mtx: Request Sense: Long Report=yes
> mtx: Request Sense: Valid Residual=no
> mtx: Request Sense: Error Code=0 (Unknown?!)
> mtx: Request Sense: Sense Key=No Sense
> mtx: Request Sense: FileMark=no
> mtx: Request Sense: EOM=no
> mtx: Request Sense: ILI=no
> mtx: Request Sense: Additional Sense Code = 00
> 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
------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|