On Wed, 19 Nov 2008, Robert LeBlanc wrote:

> > You can write a udev rule to lock the drives down. I wrote one awhile
> > back to keep the changer device the same.
> >
> > dev6 ~ # cat /etc/udev/rules.d/55-bacula.rules
> > SUBSYSTEM=="scsi",ATTRS{vendor}=="EXABYTE*",ATTRS{type}=="8",
> > SYMLINK+="autochanger1 changer"

For the drives you're better off creating udev rules to create something
like /dev/scsi/ntape/{drive-WWID} and /dev/scsi/generics/{WWID}

These won't change no matter where on the scsi/fabric the drive is.

I've had a request ticket in with Redhat to implement this on RHEL4/5 for
a long time, ditto with the /dev/sg/ devices for the same reason.

(Not to mention a strong wish for multipath support for tapes and
generics...)


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to