On Wed, 14 Mar 2007, Adam Cécile wrote:
The problem is the PV132 is an autochanger with two LOT3 drives. So I have only one "storage" directive.I still don't know how can I do what I explained above, any pointers ?
Add individual drive definitions as storage items in bacula-dir and then explicitly use those drives for the desired jobs.
Here's how mine is setup: ================================== Bacula-sd: ... # An autochanger device with two drives # Autochanger { Name = MSL6000-changer Device = MSL6000-0 Device = MSL6000-1 Changer Device = /dev/sg6 Changer Command = "/etc/bacula/mtx-changer %c %o %S %a %d" } Device { Name = MSL6000-0 # Drive Index = 0 Media Type = LTO-2 AutoChanger = yes; Changer Device = /dev/sg6 Archive Device = /dev/nst0 AutomaticMount = yes; # when device opened, read it AlwaysOpen = yes; LabelMedia = yes; # lets Bacula label unlabeled media Removable Media = yes; RandomAccess = no; Volume Poll Interval = 7200 Alert Command = "/bin/sh -c '/usr/sbin/tapeinfo -f %c |grep TapeAlert|cat'" Spool Directory = /var/bacula/spool/MSL6000-0 Maximum Network Buffer Size = 65536 Maximum Spool Size = 400000000000 # 400Gb Maximum Job Spool Size = 40000000000 # 40Gb } Device { Name = MSL6000-1 # Drive Index = 1 Device Type = Tape Media Type = LTO-2 AutoChanger = yes; Changer Device = /dev/sg6 Archive Device = /dev/nst1 AutomaticMount = yes; # when device opened, read it AlwaysOpen = yes; LabelMedia = yes; # lets Bacula label unlabeled media RemovableMedia = yes; RandomAccess = no; Volume Poll Interval = 7200 Alert Command = "/bin/sh -c '/usr/sbin/tapeinfo -f %c |grep TapeAlert|cat'" Spool Directory = /var/bacula/spool/MSL6000-1 Maximum Network Buffer Size = 65536 Maximum Spool Size = 400000000000 # 400Gb Maximum Job Spool Size = 40000000000 # 40Gb } ... ================================== Bacula-dir # Definition of LTO-2 tape storage autochanger Storage { Name = MSL6000-changer Autochanger = yes Address = XXXXXX SDPort = 9103 Password = "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" Device = MSL6000-changer # must be same as Device in Storage daemon Media Type = LTO-2 # must be same as MediaType in Storage daemon Maximum Concurrent Jobs = 20 } ## Definition of LTO-2 tape storage in autochanger Storage { Name = MSL6000-0 Autochanger = yes Address = XXXXX # N.B. Use a fully qualified name here SDPort = 9103 Password = "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" Device = MSL6000-0 # must be same as Device in Storage daemon Media Type = LTO-2 # must be same as MediaType in Storage daemon Maximum Concurrent Jobs = 10 } # Definition of LTO-2 tape storage in autochanger Storage { Name = MSL6000-1 Autochanger = yes Address = XXXXX # N.B. Use a fully qualified name here SDPort = 9103 Password = "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" Device = MSL6000-1 # must be same as Device in Storage daemon Media Type = LTO-2 # must be same as MediaType in Storage daemon Maximum Concurrent Jobs = 10 } ==================================
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users