Bacula-users

Re: [Bacula-users] Can't find the tape changer

2010-01-18 17:16:31
Subject: Re: [Bacula-users] Can't find the tape changer
From: "Timo Neuvonen" <timo-news AT tee-en DOT net>
To: bacula-users AT lists.sourceforge DOT net
Date: Tue, 19 Jan 2010 00:12:25 +0200
"Dan Langille" <dan AT langille DOT org> kirjoitti viestissä 
news:4B54C50E.60108 AT langille DOT org...
> I'm helping a client with a Linux system.  I see the tape drive, but
> cannot find the tape changer.  Clues please.
>
> From dmesg:

> 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
>

Just a wild guess, but are the drive and the changer a single physical 
device with only one interface and scsi address setting? Or can you somehow 
set the id separately for them? Now both have id=6, might it help if you 
could change either of them?

>
> 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