Bacula-users

Re: [Bacula-users] new bacula installation

2010-08-12 17:26:07
Subject: Re: [Bacula-users] new bacula installation
From: John Drescher <drescherjm AT gmail DOT com>
To: "Jeremiah D. Jester" <jjest AT u.washington DOT edu>, bacula-users <Bacula-users AT lists.sourceforge DOT net>
Date: Thu, 12 Aug 2010 17:24:14 -0400
> 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