---------- Forwarded message ---------- From: John Drescher <dresche...@gmail.com> Date: Tue, Apr 16, 2013 at 7:33 AM Subject: Re: [Bacula-users] bacula seems not to get mtx-changer output To: Marco Carcano- Statusnobilis SA <marco.carc...@statusnobilis.com>
On Tue, Apr 16, 2013 at 7:27 AM, Marco Carcano- Statusnobilis SA <marco.carc...@statusnobilis.com> wrote: > Hello everybody > > I hope that someone can help me: > > I'm trying to setup an HP MSL 2024 to work with bacula 5.0.0 (26 January > 2010) - I installed it with yum using CentOS 6 base repository > > notice that I have already added bacula user to tape group and issued > mtx-changer command on a shell logged as bacula user, and it works > > the really strange thing is that if a issue a label barcode command in > bconsole it starts the label process, but the output of the process return > errors as if mtx-changer output is not returned to bacula: > > here is the situation before issuing the label brcodes command - as you can > see there is PT7785L3 loaded from slot 11 in Drive 0 > > /usr/libexec/bacula/mtx-changer /dev/sg3 listall 0 /dev/nst0 > D:0:F:11:PT7785L3 > S:1:E > S:2:E > S:3:E > S:4:E > S:5:F:PT7783L3 > S:6:E > S:7:E > S:8:E > S:9:F:PT7782L3 > S:10:E > S:11:E > S:12:E > S:13:E > S:14:E > S:15:E > S:16:E > S:17:E > S:18:E > S:19:E > S:20:E > S:21:E > S:22:E > S:23:E > S:24:E > > bacula correctly notice that the cartdrige in already in Drive 0 is from > slot 11 and try to unload it, ... but got timeouts and ERR=Child died from > signal 15: Termination > > anyway the cartdrige is actually unloaded from the drive: > > /usr/libexec/bacula/mtx-changer /dev/sg3 listall 0 /dev/nst0 > D:0:E > S:1:E > S:2:E > S:3:E > S:4:E > S:5:F:PT7783L3 > S:6:E > S:7:E > S:8:E > S:9:F:PT7782L3 > S:10:E > S:11:F:PT7785L3 > S:12:E > S:13:E > S:14:E > S:15:E > S:16:E > S:17:E > S:18:E > S:19:E > S:20:E > S:21:E > S:22:E > S:23:E > S:24:E > > so it seems to me that mtx-changer is working but not sends it output to > bacula > > any ideas? This actually is driving me crazy > Most likely you need to customize the mtx-changer script for your archive. See if the mtx status command works. http://linux.die.net/man/1/mtx John -- John M. Drescher ------------------------------------------------------------------------------ Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis & visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users