Brian Debelius wrote: > Kern Sibbald wrote: >> On Monday 02 April 2007 14:34, Brian Debelius wrote: >>> Windows 2003, dir, sd, fd; Bacula 2.0.3; VXA-172 >> Nice, I wish everyone would put a line like that -- it gets you a "free" >> answer :-) >> >>> What would cause bacula to run a job, load the correct tape(in this case >>> B0000001) , and then say intervention needed please mount volume >>> (B0000001)? Then I manually have to umount the tape, then mount the >>> same tape again, and the job runs? >> Generally if Bacula asks you to mount a tape it is because either you don't >> have an autochanger or the wrong tape is in the drive. Once you mount the >> tape it requests (in general) you will need to issue a "mount" command in >> the >> console so that Bacula will read the tape label and continue ... >> >> >> (in general) means that it depends on your conf file. > Thanks! :) > > I in fact do have an autochanger, and it loaded the correct tape > autmomatically. You can see that it unloaded slot 7 and then loaded > slot 3. I verified this with mtx-changer list and saw that the correct > tape was loaded. When I unmount the tape, it gets unloaded back to the > changer, and then I mount it again, and it proceeds to do its job. > Would I enable debugging on the director or the sd to troubleshoot this? > > Heres the log before and after I remounted the tape > > 02-Apr 00:01 comp0-dir: Start Backup JobId 200, > Job=comp1.2007-04-02_00.01.00 > 02-Apr 00:01 comp0-dir: Using Volume "B0000001" from 'Scratch' pool. > 02-Apr 00:01 comp0-dir: Start Backup JobId 201, > Job=comp2.2007-04-02_00.01.05 > 02-Apr 00:01 comp1-fd: ClientRunBeforeJob: run command "ntbackup backup > systemstate /F c:\comp1_systemstate.bkf" > 02-Apr 00:01 comp2-fd: ClientRunBeforeJob: run command "ntbackup backup > systemstate /F c:\comp2_systemstate.bkf" > 02-Apr 00:11 comp0-sd: 3307 Issuing autochanger "unload slot 7, drive 0" > command. > 02-Apr 00:14 comp0-sd: 3304 Issuing autochanger "load slot 3, drive 0" > command. > 02-Apr 00:15 comp0-sd: 3305 Autochanger "load slot 3, drive 0", status > is OK. > 02-Apr 00:15 comp0-sd: 3301 Issuing autochanger "loaded? drive 0" command. > 02-Apr 00:15 comp0-sd: 3302 Autochanger "loaded? drive 0", result is Slot 3. > 02-Apr 00:15 comp0-sd: 3301 Issuing autochanger "loaded? drive 0" command. > 02-Apr 00:15 comp0-sd: 3302 Autochanger "loaded? drive 0", result is Slot 3. > 02-Apr 00:15 comp0-sd: 3301 Issuing autochanger "loaded? drive 0" command. > 02-Apr 00:15 comp0-sd: 3302 Autochanger "loaded? drive 0", result is Slot 3. > 02-Apr 00:15 comp0-sd: 3301 Issuing autochanger "loaded? drive 0" command. > 02-Apr 00:15 comp0-sd: 3302 Autochanger "loaded? drive 0", result is Slot 3. > 02-Apr 00:15 comp0-sd: 3301 Issuing autochanger "loaded? drive 0" command. > 02-Apr 00:15 comp0-sd: 3302 Autochanger "loaded? drive 0", result is Slot 3. > 02-Apr 00:15 comp0-sd: 3301 Issuing autochanger "loaded? drive 0" command. > 02-Apr 00:15 comp0-sd: 3302 Autochanger "loaded? drive 0", result is Slot 3. > 02-Apr 00:15 comp0-sd: 3301 Issuing autochanger "loaded? drive 0" command. > 02-Apr 00:15 comp0-sd: 3302 Autochanger "loaded? drive 0", result is Slot 3. > 02-Apr 00:15 comp0-sd: 3301 Issuing autochanger "loaded? drive 0" command. > 02-Apr 00:15 comp0-sd: 3302 Autochanger "loaded? drive 0", result is Slot 3. > 02-Apr 00:15 comp0-sd: 3301 Issuing autochanger "loaded? drive 0" command. > 02-Apr 00:15 comp0-sd: 3302 Autochanger "loaded? drive 0", result is Slot 3. > 02-Apr 00:15 comp0-sd: Please mount Volume "B0000001" on Storage Device > "VXA-172" (Tape0) for Job comp1.2007-04-02_00.01.00 > 02-Apr 01:15 comp0-sd: Please mount Volume "B0000001" on Storage Device > "VXA-172" (Tape0) for Job comp1.2007-04-02_00.01.00 > 02-Apr 03:15 comp0-sd: Please mount Volume "B0000001" on Storage Device > "VXA-172" (Tape0) for Job comp1.2007-04-02_00.01.00 > 02-Apr 07:15 comp0-sd: Please mount Volume "B0000001" on Storage Device > "VXA-172" (Tape0) for Job comp1.2007-04-02_00.01.00 > #unmount > Automatically selected Catalog: MyCatalog > Using Catalog "MyCatalog" > The defined Storage resources are: > 1: Disk0 > 2: Disk1 > 3: Tape > Select Storage resource (1-3): Unexpected question has been received. > 3 > 3307 Issuing autochanger "unload slot 3, drive 0" command. > 3001 Device "VXA-172" (Tape0) unmounted. > #mount > The defined Storage resources are: > 1: Disk0 > 2: Disk1 > 3: Tape > Select Storage resource (1-3): Unexpected question has been received. > 3 > Enter autochanger slot: Unexpected question has been received. > 3 > 3301 Issuing autochanger "loaded? drive 0" command. > 3302 Autochanger "loaded? drive 0", result: nothing loaded. > 3304 Issuing autochanger "load slot 3, drive 0" command. > 3305 Autochanger "load slot 3, drive 0", status is OK. > 3301 Issuing autochanger "loaded? drive 0" command. > 3302 Autochanger "loaded? drive 0", result is Slot 3. > 3001 Device "VXA-172" (Tape0) is mounted with Volume "B0000001" > 02-Apr 08:23 elkton-sd: 3301 Issuing autochanger "loaded? drive 0" command. > 02-Apr 08:23 elkton-sd: 3302 Autochanger "loaded? drive 0", result is > Slot 3. > 02-Apr 08:23 elkton-sd: 3301 Issuing autochanger "loaded? drive 0" command. > 02-Apr 08:23 elkton-sd: 3302 Autochanger "loaded? drive 0", result is > Slot 3. > 02-Apr 08:23 elkton-sd: Wrote label to prelabeled Volume "B0000001" on > device "VXA-172" (Tape0) > 02-Apr 08:23 elkton-sd: Spooling data ... > 02-Apr 08:23 elkton-sd: Spooling data ... Here is my sd.
################################ # Definition of tape storage device ################################ Autochanger { Name = "Packetloader0" Device = "VXA-172" Changer Device = Changer0 Changer Command = "\"C:\\Program Files\\Bacula\\bin\\\"mtx-changer %c %o %S %a %d" } Device { Name = "VXA-172" Drive Index =0 Device Type = Tape Archive Device = Tape0 Changer Device = Changer0 LabelMedia = yes AutomaticMount = yes AlwaysOpen = no RemovableMedia = yes RandomAccess = no Hardware End of File = no Media Type = X10 Autochanger = yes Autoselect = yes Minimum Block Size = 1024 Maximum Block Size = 245760 Changer Command = "\"C:\\Program Files\\Bacula\\bin\\\"mtx-changer %c %o %S %a %d" Spool directory = "d:\\bacula\\spool" } ------------------------------------------------------------------------- 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