Hi Richard, Hi Group, On Mon, Jul 09, 2007 at 12:01:51PM -0700, Richard White wrote: > > Are you 100% sure that /dev/sg0 is your changer? … > You are right! /dev/sg0 yields some ATA nonsense, but > /dev/sg1 tells me it is an Exabyte 1x10 1u. I will > give it another try.
I recently had to struggle with a server with several hot-pluggable SATA drives where depending on the number of plugged drives the /dev/sg nodes seem to shuffle around. Recent Linux distributions (namely the udev device management) seems to have a nice solution to this problem (I am currently running Ubuntu Feisty). They create symlinks named after the devices serial number, so in Baculas sd.conf, I have: Changer Device = /dev/tape/by-id/scsi-200900de6055fa000 Archive Device = /dev/tape/by-id/scsi-350060b000033c0d9-nst unfortunately, the same udev rules miss the entry to adjust the tape changer's permissions (/etc/udev/rules.d/40-permissions.rules): # SCSI devices SUBSYSTEMS=="scsi", GOTO="scsi_start" GOTO="scsi_end" LABEL="scsi_start" ATTRS{type}=="1", GROUP="tape" ----- ADD THE NEXT LINE: vvv ATTRS{type}=="8", GROUP="tape" ----- ADD THE PREVIOUS LINE: ^^^ ATTRS{type}=="5", GROUP="cdrom" ATTRS{type}=="6", GROUP="scanner" ATTRS{type}=="3", ATTRS{vendor}=="HP", GROUP="scanner" ATTRS{type}=="3", ATTRS{vendor}=="Epson", GROUP="scanner" LABEL="scsi_end" Hope it's useful for someone of you. Greetings from Germany, Chris -- Saying that XP is the most stable MS OS is like saying that asparagus is the most articulate vegetable. -- Dave Barry ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users