Javier> I'm having the same problem that other thread in november 2008: Javier> http://sourceforge.net/mailarchive/message.php?msg_id=BBDDF0B7CFFFCE4FB5110F0A37CE60030942EE%40q.leblancnet.us
Javier> But I can't find a solution ... I've run into this issue too, but with just regular SCSI tape drives. What happens if you do: > sudo /lib/udev/scsi_id --replace-whitespace --whitelisted /dev/sg# where /dev/sg#? Do your FC tape drives have /dev/sg# entries? What is the output of: > sudo lsscsi -g and do you see the drives listed there? Javier> I have a autochanger rule in udev that points /dev/autochanger1 to /dev/sgX Javier> My problem is that this autochanger has 4 drives, and I cannot Javier> get serial number or other attributes which change, and when I Javier> reboot I will have to change bacula config every time. Javier> My lsscsi output (There is a autochanger and a NSR, 2 fc drives and 2 Javier> scsi drives): Javier> # lsscsi Javier> [0:0:0:0] mediumx HP MSL6000 Series 0520 /dev/sch0 Javier> [0:0:0:1] tape HP Ultrium 3-SCSI G63W /dev/st2 Javier> [0:0:0:2] tape HP Ultrium 3-SCSI G63W /dev/st3 Javier> [0:0:0:3] storage HP NS E1200-320 593d - Javier> [0:0:1:0] storage HP HSV200 5110 - Javier> [0:0:2:0] storage HP HSV200 5110 - Javier> [1:0:0:0] cd/dvd TEAC CD-224E 9.9A /dev/sr0 Javier> [3:0:3:0] tape HP Ultrium 3-SCSI G63W /dev/st0 Javier> [3:0:4:0] tape HP Ultrium 3-SCSI G54W /dev/st1 You need to get the output of 'lsscsi -g' here... Javier> I can't use /dev/tape/by-path, because these devices could change, Javier> this is the ls output: Here's what I use in /etc/udev/rules.d/dlt7k.rules file: # Left drive in library - bacula uses it KERNEL=="st*[0-9]",ENV{ID_SERIAL}=="SQUANTUM_DLT7000_CX752S1059", \ SYMLINK+="dlt7k-left" KERNEL=="nst*[0-9]",ENV{ID_SERIAL}=="SQUANTUM_DLT7000_CX752S1059", \ SYMLINK+="dlt7k-left-nst" #SUBSYSTEM=="scsi_generic", PROGRAM="/lib/udev/scsi_id --replace-whitespace --whitelisted /dev/%k", RESULT=="SQUANTUM_DLT7000_CX752S1059", SYMLINK="dlt7k-left" # Right drive - not currently used by bacula KERNEL=="st*[0-9]",ENV{ID_SERIAL}=="SQUANTUM_DLT7000_PXB09S0552", \ SYMLINK+="dlt7k-right" KERNEL=="nst*[0-9]",ENV{ID_SERIAL}=="SQUANTUM_DLT7000_PXB09S0552", \ SYMLINK+="dlt7k-right-nst" What you need to do is replace the ID_SERIAL match with the data you get from the: /lib/udev/scsi_id --replace-whitespace --whitelisted /dev/sg# command. Good luck! John ------------------------------------------------------------------------------ The Next 800 Companies to Lead America's Growth: New Video Whitepaper David G. Thomson, author of the best-selling book "Blueprint to a Billion" shares his insights and actions to help propel your business during the next growth cycle. Listen Now! http://p.sf.net/sfu/SAP-dev2dev _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users