Bacula-users

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

2010-01-18 21:48:24
Subject: Re: [Bacula-users] Can't find the tape changer
From: Robert Hartzell <bear AT rwhartzell DOT net>
To: bacula-users AT lists.sourceforge DOT net
Date: Mon, 18 Jan 2010 19:45:26 -0700
On 01/18/10 07:17 PM, Dan Langille wrote:
> Dan Langille wrote:
>> I'm helping a client with a Linux system.  I see the tape drive, but
>> cannot find the tape changer.  Clues please.
>>
>>   From dmesg:
>
> Also:
>
> Linux version 2.6.9-78.0.8.plus.c4smp (mockbuild AT builder10.centos DOT org)
> (gcc version 3.4.6 20060404 (Red Hat 3.4.6-10)) #1 SMP Thu Nov 27
> 19:19:34 EST 2008
>
> And there is no /dev/changer*
>

Dan,
Don't know if this will be of any help but on a friends Fedora 12 system 
I just set bacula up on the changer is target 6 lun 1 and the drive is 
target 6 lun 0

[root@stor data.spool]# lsscsi -g
[0:0:1:0]    cd/dvd  HL-DT-ST DVD-RAM GH22LP20 1.00  /dev/sr0   /dev/sg0
[2:0:0:0]    disk    ATA      WDC WD5000AACS-0 05.0  /dev/sda   /dev/sg1
[3:0:0:0]    disk    ATA      WDC WD5000AADS-0 01.0  /dev/sdb   /dev/sg2
[4:0:6:0]    tape    COMPAQ   TSL-10000        5.10  /dev/st0   /dev/sg3
[4:0:6:1]    mediumx COMPAQ   TSL-10000        5.10  /dev/sch0  /dev/sg4

[root@stor data.spool]# ls -l /dev | grep sg
drwxr-xr-x. 2 root root         140 2010-01-18 14:38 bsg
lrwxrwxrwx. 1 root root           3 2010-01-18 14:39 changer -> sg4
lrwxrwxrwx. 1 root root           3 2010-01-18 14:39 changer-sg4 -> sg4
crw-rw----. 1 root root      1,  11 2010-01-18 14:38 kmsg
crw-rw----. 1 root cdrom    21,   0 2010-01-18 14:38 sg0
crw-rw----. 1 root disk     21,   1 2010-01-18 14:38 sg1
crw-rw----. 1 root disk     21,   2 2010-01-18 14:38 sg2
crw-rw----. 1 root tape     21,   3 2010-01-18 14:38 sg3
crw-rw----. 1 root tape     21,   4 2010-01-18 14:38 sg4

[root@stor data.spool]# mtx -f /dev/sg4 status
   Storage Changer /dev/sg4:1 Drives, 8 Slots ( 0 Import/Export )
Data Transfer Element 0:Full (Storage Element 1 Loaded):VolumeTag = 

       Storage Element 1:Empty
       Storage Element 2:Full
       Storage Element 3:Full
       Storage Element 4:Full
       Storage Element 5:Full
       Storage Element 6:Full
       Storage Element 7:Full
       Storage Element 8:Full

/dev/nst0 is the tape drive which is busy at the moment so I cant show 
status.

-- 
   Robert W Hartzell
bear at rwhartzell.net
   RwHartzell.Net

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