I "may" have found my problem :

Here is my old setup :

### SD config:
Autochanger {
  Name = Dell-PV132T
  Device = ULTRIUM-TD3-1
  Device = ULTRIUM-TD3-2
  Changer Command = "/etc/bacula/scripts/mtx-changer %c %o %S %a %d"
  Changer Device = /dev/sg2
}
Device {
  Name = ULTRIUM-TD3-1
  Drive Index = 0
  Media Type = LTO3
  Archive Device = /dev/nst0
  AutomaticMount = yes;
  AlwaysOpen = yes;
  RemovableMedia = yes;
  Offline On Unmount = no;
  AutoChanger = yes
}

Device {
  Name = ULTRIUM-TD3-2
  Drive Index = 1
  Media Type = LTO3
  Archive Device = /dev/nst1
  AutomaticMount = yes;
  AlwaysOpen = yes;
  RemovableMedia = yes;
  Offline On Unmount = no;
  AutoChanger = yes
}

### Director config
Storage {
  Name = Autochanger
  Address = srv-mpp-lrs
  SDPort = 9103
  Password = "xxx"
  Device = Dell-PV132T
  Media Type = LTO3
  Autochanger = yes
  Maximum Concurrent Jobs = 2
}
Storage {
  Name = ULTRIUM-TD3-1
  Address = srv-mpp-lrs
  SDPort = 9103
  Password = "xxx"
  Device = ULTRIUM-TD3-1
  Media Type = LTO3
  Autochanger = yes
  Maximum Concurrent Jobs = 1
}

As you can see, in my director config "ULTRIUM-TD3-1" is defined. The
aim of this trick is to be able to run jobs on one drive only.
However, ULTRIUM-TD3-1 in director refers to a Device entry in sd, not
an autochanger one. So I guessed, bacula ignore inchanger flag.
Do you think I'm right ?

So I decided to define a second Autochanger ressources, with only on
device associated on it. I hope this would fix the problem.

Regards, Adam.

-- 
Adam CECILE                    Linbox / Free&ALter Soft
152 rue de Grigy               tél: +33 3 87 50 87 95
Technopôle Metz 2000           fax: +33 3 87 75 19 26           
57070 METZ - France            http://www.linbox.com


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

Reply via email to