Make sure you have the sg3-utils package.
run sginfo -l
this will list your SCSI devices .... I get something like this on my Bacula server:
infra2:~# sginfo -l
/dev/sda
/dev/sg0 [=/dev/sda scsi0 ch=0 id=0 lun=0]
/dev/sg1 [scsi0 ch=0 id=8 lun=0]
/dev/sg2 [scsi1 ch=0 id=0 lun=0]
/dev/sg3 [scsi1 ch=0 id=5 lun=0]
Then you can run sginfo for each device that is obviously not an HD. In my case, sginfo /dev/sg2 gives me this (HP Ultrium):
infra2:~# sginfo /dev/sg2
INQUIRY reponse (cmd: 0x12)
---------------------------
Device Type 8
Vendor: HP
Product: ThinStor AutoLdr
Revision level: H43r
Now that I know that this is my autoloader (not the drive, the actual robot. The tape drive is /dev/nst0 in my case), make sure you (bacula-sd) have access to the robot.
# chmod 660 /dev/sg2 (give rw permissions to the group)
# chgrp tape /dev/sg2 (Debian's bacula user is part of the tape group, by default, the sg[x] devices are owned by root.root)
Lastly, make sure you also have the mtx package to handle your autoloader. There is a lot of info on their (mtx) website.
as long as the mtx tools are able to drive the robot, bacula should not have a problem with it.
Hope it helps,
Erik.
On Thu, 2005-03-10 at 18:47 -0800, June Snedecor wrote:
Hello Everyone! I know this is a bit of a long shot, but has anyone had any success with this particular model of autochanger with Bacula? *http://tinyurl.com/5ktun* The mtx site (http://mtx.badtux.net/compatibility.php) says that mtx works with this autochanger, even though they were using an older ultrium tape drive. It seems like Bacula's scripts for autochangers should work, I just wanted to check to see if anyone had managed to get it working before. We currently have Bacula working fine with an Ultrium 215 drive, but I'm very tired of being the tape changing monkey. The HP tape libraries that have been proven to work with Bacula are a little too big for our needs, and we're running out of space in our server cabinet for something that size. We're using Debian Sarge with Bacula version 1.36.1. June ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Bacula-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/bacula-users
