On 01/15/2014 12:48 PM, Luis G. Alford G. wrote:
> Hi 
> 
> I have installed a bacula server and it works ok but when I reboot the
> server the tape drive change's it's  scsi address when I reboot the
> server it is via FC .  any idea what i can do to avoid this from happen 
> 

There are probably several ways to solve this, but one of them is to use
the /dev/tape/by-id/*  names instead of the /dev/nst0 naming.

>From my bacula-sd.conf:

Autochanger {
  Name = HP-ML4048
  Device = LTO4-Drive-1, LTO4-Drive-2
  Changer Command = "/opt/bacula/scripts/mtx-changer %c %o %S %a %d"
  Changer Device = /dev/tape/by-id/scsi-3500110a0008dde58
}

Device {
  Name = LTO4-Drive-1
  Drive Index = 0
  Media Type = LTO-4
  Archive Device = /dev/tape/by-id/scsi-3500110a0008dde59-nst
  ...
}

Device {
  Name = LTO4-Drive-2
  Drive Index = 1
  Media Type = LTO-4
  Archive Device = /dev/tape/by-id/scsi-3500110a0008dde5f-nst
  ...
}

The by-id name will not change between reboots.

 -Thomas

------------------------------------------------------------------------------
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

Reply via email to