Hi, 02.11.2007 11:10,, Timo Neuvonen wrote:: > I have a CentOS 5 system, running Bacula-2.2.4 with MySQL database, and > Exabyte VXA-320 tape drive 1x10 1U autoloader.
Hint no. 1: Upgrade to 2.2.5 (or newer). I saw similar problems at a customer, and I believe (not yet confirmed in an organized way) that hese problems vanished after their upgrade. > I have a pool called "cycle", with a few tapes, and max volume duration > setting of 35 days. So, after this time expires, the previous tape will be > marked "used" although not full yet, and the oldest tape in the pool will be > recycled. > > However, the new tape won't be mounted properly, after the old tape had > expired. This is what happens: > ===== > 01-Nov 01:05 dogbert-dir: Start Backup JobId 215, > Job=Backup-Dogbert.2007-11-01_01.05.00 > 01-Nov 01:05 dogbert-dir: Max configured use duration exceeded. Marking > Volume "CYCL-004" as Used. > 01-Nov 01:05 dogbert-dir: Recycled volume "CYCL-001" > 01-Nov 01:05 dogbert-dir: Using Device "VXA320" > 01-Nov 01:05 dogbert-sd: 3301 Issuing autochanger "loaded? drive 0" command. > 01-Nov 01:05 dogbert-sd: 3302 Autochanger "loaded? drive 0", result is Slot > 4. > 01-Nov 01:05 dogbert-sd: 3307 Issuing autochanger "unload slot 4, drive 0" > command. > 01-Nov 01:05 dogbert-sd: 3304 Issuing autochanger "load slot 1, drive 0" > command. > 01-Nov 01:06 dogbert-sd: 3305 Autochanger "load slot 1, drive 0", status is > OK. > 01-Nov 01:06 dogbert-sd: 3301 Issuing autochanger "loaded? drive 0" command. > 01-Nov 01:06 dogbert-sd: 3302 Autochanger "loaded? drive 0", result is Slot > 1. > 01-Nov 01:06 dogbert-sd: Backup-Dogbert.2007-11-01_01.05.00 Error: > block.c:990 Read error on fd=6 at file:blk 0:0 on device "VXA320" > (/dev/nst0). ERR=Input/output error. ... > Any ideas what is causing this / how to make things run more smoothly? Not really... I never needed to investigate further (which in itself is interesting :-) but only worked around it. See below. > This is unfortunately slow to debug, since the problem appears about once in > a month... If you're stuck in such a situation, try the following: - umount the device from bconsole. - on the shell (or from the library's control panel) unload the tape currently loaded. - make sure a usable tape for the job in question is available in the autochanger. - in bconsole, mount the device from the slot you expect to be used. - check if the job is running. In my case, this worked, and was easier done than trying to analyze the problem, especially as the upgrade to 2.2.5 was already scheduled. Arno -- Arno Lehmann IT-Service Lehmann www.its-lehmann.de ------------------------------------------------------------------------- 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 [email protected] https://lists.sourceforge.net/lists/listinfo/bacula-users
