Bacula-users

Re: [Bacula-users] new bacula installation

2010-08-12 17:02:29
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>
Date: Thu, 12 Aug 2010 13:58:59 -0700
John,

You are correct. The device wasn't 'sg0' but rather 'sg1'. I made the change in 
bacula-sd.conf, restarted daemons but still ran into the same problem. Other 
ideas?

[root@scrappy bacula]# tapeinfo -f /dev/sg1 | head -5
Product Type: Tape Drive
Vendor ID: 'IBM     '
Product ID: 'ULTRIUM-TD4     '
Revision: '97F0'
Attached Changer: No
...

[root@scrappy bacula]# mtx -f /dev/sg1 status
mtx: Request Sense: Long Report=yes
mtx: Request Sense: Valid Residual=no
mtx: Request Sense: Error Code=70 (Current)
mtx: Request Sense: Sense Key=Illegal Request
mtx: Request Sense: FileMark=no
mtx: Request Sense: EOM=no
mtx: Request Sense: ILI=no
mtx: Request Sense: Additional Sense Code = 20
mtx: Request Sense: Additional Sense Qualifier = 00
mtx: Request Sense: Field in Error = 00
mtx: Request Sense: BPV=no
mtx: Request Sense: Error in CDB=yes
mtx: Request Sense: SKSV=yes
mtx: Request Sense: Field Pointer = 00 00
READ ELEMENT STATUS Command Failed

JJ


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

2010/8/12 Jeremiah D. Jester <jjest AT u.washington DOT edu>:
> I'm setting up bacula on a new machine with a new Dell LT04 autoloader. The
> device appears to be registering with linux (rhel 5.5). All fd,sd and dir
> daemons are running.
>
> [root@scrappy bacula]# dmesg | grep "tape"
>
> st 2:0:0:0: Attached scsi tape st0
>
> However I get a "no slots in changer" error when run 'status slots'.
>
>
>
> *status slots
>
> ...
>
> Connecting to Storage daemon Tape at scrappy.microslu.washington.edu:9103
> ...
>
> 3306 Issuing autochanger "slots" command.
>
> Device "DELL_124T" has 0 slots.
>
> No slots in changer to scan.
>
>
>
> I also tried running 'mtx' manually. Any thoughts?
>
/dev/sg0 is probably not the changer device.

tapeinfo /dev/sg0

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