On Wed, Mar 4, 2009 at 3:29 AM, mimmo lariccia <mum_la...@hotmail.com> wrote: > Hi Michael and thanks for fast answer... > Hi all.... > > I hope you're right. > But these are results of my tests: > > # lsscsi > [0:0:0:0] mediumx COMPAQ MSL5000 Series 0423 - > [0:0:0:1] tape HP Ultrium 1-SCSI E38W /dev/st0 > [0:0:0:2] storage HP NS E1200-160 530b - > > # mtx -f /dev/sg0 status > Storage Changer /dev/sg0:2 Drives, 30 Slots ( 1 Import/Export ) Use the tapeinfo command instead
tapeinfo -f /dev/sg0 This works on any sg device # tapeinfo -f /dev/sg0 Product Type: CD-ROM Vendor ID: 'LITE-ON ' Product ID: 'DVDRW LDW-851S ' Revision: 'GS0C' Attached Changer: No SCSI ID: 0 SCSI LUN: 0 Ready: no # tapeinfo -f /dev/sg1 Product Type: Disk Drive Vendor ID: 'ATA ' Product ID: 'ST3750330AS ' Revision: 'SD04' Attached Changer: No SerialNumber: ' 3QK02QVL' SCSI ID: 0 SCSI LUN: 0 Ready: yes I don't have a tape drive connected here at home so I can not show you tape or changer results but I know this works at work. John ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users