Hello,
First of all, here's the setup for my Bacula server:
Whenever I run [CMD=]update slots[/CMD] in the Bacula command-line console, bconsole, after exchanging tapes in the tape changer, the console freezes. I have to exit the console using Ctrl+C. If I immediately go back into the Bacula console and run [CMD=]update slots[/CMD] again, the console either freezes again or I get an error message. The message (which I wish I would have written down :\) indicates that another process is currently using the tape changer. Here's the process I'm seeing:
The process cannot be killed.
Last week when this happened, I rebooted the server to resolve this issue. I was able to label the new tapes, mount one into the drive, and run successful backups all week long. When this happened again today, I didn't want to have to reboot again; that's a workaround, not a permanent solution. I tried restarting the storage daemon, and I was able to run [CMD=]update slots[/CMD] in the console to have Bacula process the new tapes; however, the mtx process is still alive. Also, I see the following:
The two processes, 91499 and 91500, below the mtx process concern me even more.
The aforementioned issues are not showstoppers, at least not for the time being. If I restart the storage daemon, as mentioned above, backups seem to be running well. I'll also note that I am unmounting the tape drive using the Bacula console before removing and inserting tapes. I'd still like to know what causes the console freeze and lingering mtx process and if those issues can be avoided.
I appreciate any advice offered.
First of all, here's the setup for my Bacula server:
- Dell PowerEdge R320 server
- Dell PowerVault 124T LTO5 tape changer
- FreeBSD 9.1 OS
- bacula-server-5.2.12
Whenever I run [CMD=]update slots[/CMD] in the Bacula command-line console, bconsole, after exchanging tapes in the tape changer, the console freezes. I have to exit the console using Ctrl+C. If I immediately go back into the Bacula console and run [CMD=]update slots[/CMD] again, the console either freezes again or I get an error message. The message (which I wish I would have written down :\) indicates that another process is currently using the tape changer. Here's the process I'm seeing:
Code:
root@aus-nix-backup:/root # ps waux | grep mtx
bacula 91498 0.0 0.1 14172 1408 ?? DL 12:01PM 0:02.35 /usr/local/sbin/mtx -f /dev/pass1 status
The process cannot be killed.
Last week when this happened, I rebooted the server to resolve this issue. I was able to label the new tapes, mount one into the drive, and run successful backups all week long. When this happened again today, I didn't want to have to reboot again; that's a workaround, not a permanent solution. I tried restarting the storage daemon, and I was able to run [CMD=]update slots[/CMD] in the console to have Bacula process the new tapes; however, the mtx process is still alive. Also, I see the following:
Code:
root@aus-nix-backup:/root # ps waux | grep bacula
bacula 91498 0.0 0.1 14172 1408 ?? DL 12:01PM 0:02.35 /usr/local/sbin/mtx -f /dev/pass1 status
bacula 91499 0.0 0.1 16280 1640 ?? I 12:01PM 0:00.00 grep *Storage Changer
bacula 91500 0.0 0.1 12104 1536 ?? I 12:01PM 0:00.00 awk {print $5}
bacula 92252 0.0 0.3 71612 6188 ?? Ss 1:07PM 0:00.07 /usr/local/sbin/bacula-dir -u bacula -g bacula -v -c /usr/local/etc/bacula-dir.conf
bacula 92266 0.0 0.2 59184 4868 ?? Is 1:07PM 0:00.35 /usr/local/sbin/bacula-sd -u bacula -g bacula -v -c /usr/local/etc/bacula-sd.conf
root 92301 0.0 0.2 44132 3192 ?? Is 1:08PM 0:00.04 /usr/local/sbin/bacula-fd -u root -g wheel -v -c /usr/local/etc/bacula-fd.conf
root 94809 0.0 0.1 16280 1628 1 R+ 4:53PM 0:00.00 grep bacula
The two processes, 91499 and 91500, below the mtx process concern me even more.
The aforementioned issues are not showstoppers, at least not for the time being. If I restart the storage daemon, as mentioned above, backups seem to be running well. I'll also note that I am unmounting the tape drive using the Bacula console before removing and inserting tapes. I'd still like to know what causes the console freeze and lingering mtx process and if those issues can be avoided.
I appreciate any advice offered.