[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bacula-devel] Possible autochanger logic problem in 2.2.10-b1 SD


Is this a bug in version 2.2.10-b1? Should the SD not have recognized that the volume it wanted was already loaded in another drive? Or is it the autochanger script's responsibility to swap the volume from one drive to another in this situation? Looks like it unloaded drive 0, then checked what was in drive 0 (why?). When it saw that drive 0 was empty it tried to load a volume into drive 0 that was already loaded in drive 1.

29-Apr 23:51 s3-sd JobId 7094: 3301 Issuing autochanger "loaded? drive 0" command.
29-Apr 23:51 s3-sd JobId 7094: 3302 Autochanger "loaded? drive 0", result is Slot 17.
29-Apr 23:51 s3-sd JobId 7094: 3301 Issuing autochanger "loaded? drive 0" command.
29-Apr 23:51 s3-sd JobId 7094: 3302 Autochanger "loaded? drive 0", result is Slot 17.
29-Apr 23:51 s3-sd JobId 7094: Volume "m03s017" previously written, moving to end of data.
29-Apr 23:51 s3-sd JobId 7094: Ready to append to end of Volume "m03s017" size=2459827940
s1-fd JobId 7094:      /dev is a different filesystem. Will not descend from / into /dev
30-Apr 00:00 s3-sd JobId 7094: User defined maximum volume capacity 8,420,065,280 exceeded on device "usb-changer-1-drive-0" (/var/lib/bacula/vchanger1/drive0).
30-Apr 00:00 s3-sd JobId 7094: End of medium on Volume "m03s017" Bytes=8,420,027,000 Blocks=130,536 at 30-Apr-2008 00:00.
30-Apr 00:00 s3-sd JobId 7094: 3307 Issuing autochanger "unload slot 17, drive 0" command.
30-Apr 00:00 s3-sd JobId 7094: 3301 Issuing autochanger "loaded? drive 0" command.
30-Apr 00:00 s3-sd JobId 7094: 3302 Autochanger "loaded? drive 0", result: nothing loaded.
30-Apr 00:00 s3-sd JobId 7094: 3304 Issuing autochanger "load slot 16, drive 0" command.
30-Apr 00:00 s3-sd JobId 7094: Fatal error: 3992 Bad autochanger "load slot 16, drive 0": ERR=Child exited with code 1.
Results=Storage Element 16 Empty (loaded in drive 1)

--- Josh Fisher


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Bacula-devel mailing list
Bacula-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/bacula-devel


This mailing list archive is a service of Copilotco.