Bacula-users

Re: [Bacula-users] new bacula installation

2010-08-12 18:09:04
Subject: Re: [Bacula-users] new bacula installation
From: "Jeremiah D. Jester" <jjest AT u.washington DOT edu>
To: John Drescher <drescherjm AT gmail DOT com>, bacula-users <Bacula-users AT lists.sourceforge DOT net>
Date: Thu, 12 Aug 2010 15:05:47 -0700
A reboot helped. This shows the exact model as /dev/sg2. Now I need to identify 
the tape drives! :)


[root@scrappy ~]# tapeinfo -f /dev/sg2
Product Type: Medium Changer
Vendor ID: 'DELL    '
Product ID: 'PV-124T         '
Revision: '0075'
Attached Changer: No
SerialNumber: 'CK0DB40999'
SCSI ID: 0
SCSI LUN: 1
Ready: yes

DataCompEnabled: yes
DataCompCapable: yes
DataDeCompEnabled: yes
CompType: 0x1
DeCompType: 0x1
BOP: yes
Block Position: 0


[root@scrappy ~]# mtx -f /dev/sg2 status
  Storage Changer /dev/sg2:1 Drives, 8 Slots ( 0 Import/Export )
Data Transfer Element 0:Full (Unknown Storage Element Loaded):VolumeTag = 
000019L4
      Storage Element 1:Full :VolumeTag=000017L4
      Storage Element 2:Empty
      Storage Element 3:Full :VolumeTag=000016L4
      Storage Element 4:Full :VolumeTag=000012L4
      Storage Element 5:Full :VolumeTag=000011L4
      Storage Element 6:Full :VolumeTag=000018L4
      Storage Element 7:Full :VolumeTag=000013L4
      Storage Element 8:Full :VolumeTag=000014L4

-----Original Message-----
From: John Drescher [mailto:drescherjm AT gmail DOT com] 
Sent: Thursday, August 12, 2010 2:24 PM
To: Jeremiah D. Jester; bacula-users
Subject: Re: [Bacula-users] new bacula installation

> I'm confused. The tapeinfo output for /dev/sg1 says it is a 'Tape Drive' and 
> of type 'TD4' or LT04, the new supported capacity. Sg0 is the hard drive. I 
> get no output for devices sg3-sg10.  Please explain.
>
> Thanks.

There should be a separate device for each tape drive and each
autochanger. Can you look at your dmesg to see if you see any info on
that also you may need to reboot with the changer powered. On my
system the autochanger shares a scsi id but has a different lun.

dev6 ~ # tapeinfo -f /dev/sg4
Product Type: Tape Drive
Vendor ID: 'HP      '
Product ID: 'Ultrium 2-SCSI  '
Revision: 'S33U'
Attached Changer: No
SerialNumber: 'HU106214GT'
MinBlock:1
MaxBlock:16777215
SCSI ID: 3
SCSI LUN: 0
Ready: yes
BufferedMode: yes
Medium Type: Not Loaded
Density Code: 0x42
BlockSize: 0
DataCompEnabled: yes
DataCompCapable: yes
DataDeCompEnabled: yes
CompType: 0x1
DeCompType: 0x1
Block Position: 830010
dev6 ~ # tapeinfo -f /dev/sg5
Product Type: Medium Changer
Vendor ID: 'EXABYTE '
Product ID: 'MAGNUM 224      '
Revision: 'C112'
Attached Changer: No
SerialNumber: '000089000435'
SCSI ID: 3
SCSI LUN: 1
^[[AReady: yes
dev6 ~ # tapeinfo -f /dev/sg6
Product Type: Tape Drive
Vendor ID: 'HP      '
Product ID: 'Ultrium 2-SCSI  '
Revision: 'S33U'
Attached Changer: No
SerialNumber: 'HU106214CV'
MinBlock:1
MaxBlock:16777215
SCSI ID: 4
SCSI LUN: 0
Ready: no
dev6 ~ #

Here is what I have in my dmesg output for the autochanger and 2 tape drives.

[   12.317543] scsi8 : sym-2.2.3
[   16.183876] scsi 8:0:3:0: Sequential-Access HP       Ultrium 2-SCSI
  S33U PQ: 0 ANSI: 3
[   16.183891] scsi target8:0:3: Beginning Domain Validation
[   16.183997] scsi target8:0:3: asynchronous
[   16.185083] scsi target8:0:3: wide asynchronous
[   16.185543] scsi target8:0:3: FAST-80 WIDE SCSI 160.0 MB/s DT (12.5
ns, offset 62)
[   16.187094] scsi target8:0:3: FAST-80 WIDE SCSI 160.0 MB/s DT (12.5
ns, offset 62)
[   16.188587] scsi target8:0:3: FAST-80 WIDE SCSI 160.0 MB/s DT (12.5
ns, offset 62)
[   16.190157] scsi target8:0:3: FAST-80 WIDE SCSI 160.0 MB/s DT (12.5
ns, offset 62)
[   16.191572] scsi target8:0:3: FAST-80 WIDE SCSI 160.0 MB/s DT (12.5
ns, offset 62)
[   16.191700] scsi target8:0:3: Domain Validation skipping write tests
[   16.191703] scsi target8:0:3: Ending Domain Validation
[   16.193520] scsi 8:0:3:0: Attached scsi generic sg4 type 1
[   16.385936] scsi 8:0:3:1: Medium Changer    EXABYTE  MAGNUM 224
  C112 PQ: 0 ANSI: 4
[   16.386717] scsi 8:0:3:1: Attached scsi generic sg5 type 8
[   16.387085] scsi 8:0:4:0: Sequential-Access HP       Ultrium 2-SCSI
  S33U PQ: 0 ANSI: 3
[   16.387093] scsi target8:0:4: Beginning Domain Validation
[   16.387193] scsi target8:0:4: asynchronous
[   16.388265] scsi target8:0:4: wide asynchronous


John

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users