Re: [bareos-users] Autchanger Script fails

2021-10-01 Thread 'tilmang...@googlemail.com' via bareos-users
Dear all I compiled and installed a new version of bareos.(V20.0.1). The problem of unloading the tape persists. I traced it down offline command in the mtx-changer script, i.e. the command mt -f /dev/nst0 offline hangs and eventually bareos kills the script. If I run mt from command line, mt

Re: [bareos-users] Autchanger Script fails

2021-03-21 Thread 'tilmang...@googlemail.com' via bareos-users
I have set offline =1 and ran a backup job. I could not mount the drive from bconsole (Fatal error: 3992 Bad autochanger "load slot 12, drive 0": ERR=Child exited with code 1), so I did this manually with mtx. Then I ran the backup job that failed --- 1-Mär 19:1

Re: [bareos-users] Autchanger Script fails

2021-03-07 Thread Spadajspadaj
+ offline=0 + offline_sleep=0 + load_sleep=0 Have you tried playing with those values? It seems a good place to start. By default they're defined in /etc/bareos/mtx-changer.conf On 07.03.2021 22:16, 'tilmang...@googlemail.com' via bareos-users wrote: 1) I gave it a try. Using the  mtx-changer

Re: [bareos-users] Autchanger Script fails

2021-03-07 Thread 'tilmang...@googlemail.com' via bareos-users
1) I gave it a try. Using the mtx-changer script directly (without using bconsole after booting up) seems to work. I mounted a tape via the script and then umounted it: ./mtx-changer /dev/changer1 unload 8 /dev/nst0 0 + test ! -r /etc/bareos//mtx-changer.conf + . /etc/bareos//mtx-changer.con

Re: [bareos-users] Autchanger Script fails

2021-02-27 Thread Spadajspadaj
If mtx runs fine. I'd try to run the mtx-changer script with bash "debug mode" (bash -x mtx-changer...) and see what is it that the mtx hangs and times out on. On 27.02.2021 12:21, 'tilmang...@googlemail.com' via bareos-users wrote: Dear spadaj I forgot to mention that mtx runs OK. It lives i

Re: [bareos-users] Autchanger Script fails

2021-02-27 Thread 'tilmang...@googlemail.com' via bareos-users
Dear spadaj I forgot to mention that mtx runs OK. It lives in /usr/sbin/mtx, and the log files are in /var/bareos/working/. The logfiles are however empty. mtx-changer script lives in /etc/bareos Dear Andreas I am using bareos 19.2.6 (self compiled). I do not think that the drive has a data s

Re: [bareos-users] Autchanger Script fails

2021-02-22 Thread Andreas Rogge
Hi Tilman, are you using Bareos 20 and have data-spooling enabled on the tape drive? You may have hit a bug that will be fixed in the upcoming 20.0.1, then. Best Regards, Andreas -- Andreas Rogge andreas.ro...@bareos.com Bareos GmbH & Co. KG Ph

[bareos-users] Autchanger Script fails

2021-02-21 Thread 'tilmang...@googlemail.com' via bareos-users
Dear all, I have ADIC DDS Tape library which no longer cleaner removes the tape from the library. When I issue an umount command, I get an error message. With an older version of bareos, it used to work. Any advice on how I can debug and fix this? > umount storage=TapeStorage1 Automatically