I suggest that you use udev rules. There has been several discussions on this list. I have a fairly detailed post on 9/25/13.
Patti Clark Linux System Administrator Research and Development Systems Support Oak Ridge National Laboratory 865-576-7718 From: "Luis G. Alford G." <lgalf...@gmail.com<mailto:lgalf...@gmail.com>> Date: Thursday, January 16, 2014 9:21 PM To: "thomas.eriks...@slac.stanford.edu<mailto:thomas.eriks...@slac.stanford.edu>" <thomas.eriks...@slac.stanford.edu<mailto:thomas.eriks...@slac.stanford.edu>>, "bacula-users@lists.sourceforge.net<mailto:bacula-users@lists.sourceforge.net>" <bacula-users@lists.sourceforge.net<mailto:bacula-users@lists.sourceforge.net>> Subject: Re: [Bacula-users] Help binding scsi address to tape library On Jan 16, 2014 8:49 PM, "Luis G. Alford G." <lgalf...@gmail.com<mailto:lgalf...@gmail.com>> wrote: hi, I have try to use a similar stily as you but I found this. winsoft@srv-bacula:~$ ls /dev/tape/by-id/ scsi-3500110a0008d0cd8 winsoft@srv-bacula:~$ ls -lsa /dev/tape/by-id/ total 0 0 drwxr-xr-x 2 root root 60 ene 16 10:50 . 0 drwxr-xr-x 4 root root 80 ene 16 10:50 .. 0 lrwxrwxrwx 1 root root 10 ene 16 10:50 scsi-3500110a0008d0cd8 -> ../../sg10 winsoft@srv-bacula:~$ if i do winsoft@srv-bacula:~$ lsscsi -g [0:0:0:0] storage HP HSV300 0953 - /dev/sg0 [0:0:0:1] disk HP HSV300 0953 /dev/sda /dev/sg1 [0:0:1:0] storage HP HSV300 0953 - /dev/sg2 [0:0:1:1] disk HP HSV300 0953 /dev/sdb /dev/sg3 [0:0:2:0] tape HP Ultrium 4-SCSI H44W /dev/st0 /dev/sg4 [2:0:0:0] storage HP HSV300 0953 - /dev/sg5 [2:0:0:1] disk HP HSV300 0953 /dev/sdc /dev/sg6 [2:0:1:0] storage HP HSV300 0953 - /dev/sg7 [2:0:1:1] disk HP HSV300 0953 /dev/sdd /dev/sg8 [2:0:2:0] tape HP Ultrium 4-SCSI H44W /dev/st1 /dev/sg9 [2:0:2:1] mediumx HP MSL G3 Series 6.50 /dev/sch0 /dev/sg10 any idea of how to fix this. please i would really apreciate ------------------------------------------------------------------------------ CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments & Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users