After the upgrade to bacula-2.2.0 I have seen bacula get stuck twice where the needed tape was in drive 0 and for some reason bacula wanted it in drive 1. Here is an example:
Connecting to Storage daemon DEV6-Changer at dev6.radimg.pitt.edu:9103 dev6-sd Version: 2.2.0 (08 August 2007) x86_64-pc-linux-gnu gentoo Daemon started 15-Aug-07 20:51, 39 Jobs run since started. Heap: heap=1,228,800 smbytes=848,162 max_bytes=1,047,935 bufs=247 max_bufs=265 Sizes: boffset_t=8 size_t=8 int32_t=4 int64_t=8 Running Jobs: Writing: Differential Backup job dev2-outlook JobId=6304 Volume="A00015" pool="UserBackup-LTO2" device="LTO2-1" (/dev/nst1) spooling=0 despooling=0 despool_wait=0 Files=0 Bytes=0 Bytes/sec=0 FDReadSeqNo=6 in_msg=6 out_msg=4 fd=7 Writing: Differential Backup job radimgws3-full JobId=6306 Volume="A00015" pool="UserBackup-LTO2" device="LTO2-1" (/dev/nst1) spooling=0 despooling=0 despool_wait=0 Files=0 Bytes=0 Bytes/sec=0 FDReadSeqNo=6 in_msg=6 out_msg=4 fd=8 Writing: Differential Backup job radimgws49-full JobId=6309 Volume="A00015" pool="UserBackup-LTO2" device="LTO2-1" (/dev/nst1) spooling=0 despooling=0 despool_wait=0 Files=0 Bytes=0 Bytes/sec=0 FDReadSeqNo=6 in_msg=6 out_msg=4 fd=10 Writing: Differential Backup job radimgws0-full JobId=6310 Volume="A00015" pool="UserBackup-LTO2" device="LTO2-1" (/dev/nst1) spooling=0 despooling=0 despool_wait=0 Files=0 Bytes=0 Bytes/sec=0 FDReadSeqNo=6 in_msg=6 out_msg=4 fd=13 ==== Jobs waiting to reserve a drive: ==== Terminated Jobs: JobId Level Files Bytes Status Finished Name =================================================================== 6278 Incr 302 849.9 M OK 19-Aug-07 04:07 radimgws3-full 6292 Incr 302 849.9 M OK 19-Aug-07 04:16 radimgws3-full 6277 Incr 21,659 8.278 G OK 19-Aug-07 04:18 dev2-full 6290 Incr 3 1.103 G OK 19-Aug-07 04:20 dev2-outlook 6291 Incr 21,660 8.278 G OK 19-Aug-07 04:39 dev2-full 6303 Diff 0 0 Other 19-Aug-07 21:11 radimgtm0-full 6307 Diff 0 0 Other 19-Aug-07 21:11 radimgws40-outlook 6308 Diff 0 0 Other 19-Aug-07 21:41 radimgws20-impt 6311 Diff 0 0 Other 19-Aug-07 22:11 radimgws23-data 6312 Diff 0 0 Other 19-Aug-07 22:41 radimgws40-full ==== Device status: Autochanger "Magnum224-0" with devices: "LTO2-0" (/dev/nst0) "LTO2-1" (/dev/nst1) Device "LTO2-0" (/dev/nst0) is mounted with: Volume: A00015 Pool: LTO2-Study-Backup Media type: LTO-2 Slot 17 is loaded in drive 0. Total Bytes=222,758,839,296 Blocks=3,452,982 Bytes/block=64,512 Positioned at File=233 Block=0 Device "LTO2-1" (/dev/nst1) is not open. Device is BLOCKED waiting for mount of volume "A00015", Pool: UserBackup-LTO2 Media type: LTO-2 Drive 1 status unknown. Device "DEV6-DLT-IV-0" (/dev/nst2) is not open. Device "DEV6-DVD-WRITER" (/dev/dvd) is not open. ==== In Use Volume status: A00015 on device "LTO2-1" (/dev/nst1) Reader=0 writers=0 reserved=4 A00030 on device "LTO2-0" (/dev/nst0) Reader=0 writers=0 reserved=0 ==== Data spooling: 0 active jobs, 0 bytes; 16 total jobs, 3,059,082,823 max bytes/job. Attr spooling: 0 active jobs, 0 bytes; 16 total jobs, 6,313,895 max bytes. ==== In the past I had had this problem and worked around it by scheduling jobs to specific tape drives but I had removed that for bacula-2.1.X and I had not seen this for many months. -- John M. Drescher ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users