Amanda-Users

Re: Is the Dell Powervault 132T a changer device?

2005-04-29 09:52:26
Subject: Re: Is the Dell Powervault 132T a changer device?
From: Carlos Scott <cscott AT mct.gov DOT ve>
To: amanda-users AT amanda DOT org
Date: Fri, 29 Apr 2005 05:46:10 -0400
Mike Delaney escribió:

>On Wed, Apr 27, 2005 at 03:03:39PM -0400, Carlos Scott wrote:
>  
>
>>Hello all,
>>
>>It's the first time i try to setup Amanda and i'm a little confused.
>>I don't think i got the changer device idea right. Does the Dell Powervault
>>132T Tape Library qualify as a changer device?
>>I thought so but the mtx command tells me otherwise:
>>
>>[root@orion DailySet1]# /usr/sbin/mtx -f /dev/sg1 inquiry
>>Product Type: *Tape Drive*
>>Vendor ID: 'IBM     '
>>Product ID: 'ULTRIUM-TD2     '
>>Revision: '37RH'
>>Attached Changer: No
>>    
>>
>
>You're performing the inquiry on the tape drive itself, not the library.
>Typically, the drive is SCSI target 1 on the bus, with the library as
>target 0.  Try with '-f /dev/sg0'.
>
>
>
>  
>
I tried with the other devices but none of them appears to be the changer.
Is there anything i need to do before being able to control the changer?
I am running CentOS Linux with a 2.6.9 kernel

[root@orion scott]# dmesg |grep sg
Attached scsi generic sg0 at scsi0, channel 0, id 6, lun 0,  type 1
Attached scsi generic sg1 at scsi1, channel 0, id 1, lun 0,  type 1
Attached scsi generic sg2 at scsi3, channel 0, id 6, lun 0,  type 3
Attached scsi generic sg3 at scsi3, channel 2, id 0, lun 0,  type 0


[root@orion scott]# /usr/sbin/mtx -f /dev/sg0 inquiry
Product Type: Tape Drive
Vendor ID: 'SEAGATE '
Product ID: 'DAT    DAT72-052'
Revision: 'A060'
Attached Changer: No

[root@orion scott]# /usr/sbin/mtx -f /dev/sg1 inquiry
Product Type: Tape Drive
Vendor ID: 'IBM     '
Product ID: 'ULTRIUM-TD2     '
Revision: '37RH'
Attached Changer: No

[root@orion scott]# /usr/sbin/mtx -f /dev/sg2 inquiry
Product Type: Processor
Vendor ID: 'PE/PV   '
Product ID: '1x8 SCSI BP     '
Revision: '1.1 '
Attached Changer: No

[root@orion scott]# /usr/sbin/mtx -f /dev/sg3 inquiry
Product Type: Disk Drive
Vendor ID: 'MegaRAID'
Product ID: 'LD0 RAID5 39760R'
Revision: '350O'
Attached Changer: No

Thanks for your help