Hi Bruno,


thanks a lot for your answer. the script was up-to-date but digging a 
little bit into it made me to set debugging on. then I could see in the log:

20250320-11:53:05 Doing mt -f /dev/tape/by-id/sch0-nst status ...
20250320-11:53:05 /dev/tape/by-id/sch0-nst: No such file or directory

so i looked around a little bit and set the right device, now everything 
working again, THANKS!

what is a little bit confusing (for me) is that the script did not throw an 
error or something. I think this would be helpful as one could immediately 
find out that the device path is not correct.

Best regards and thanks again,

Otto 


Bruno Friedmann (bruno-at-bareos) schrieb am Donnerstag, 20. März 2025 um 
11:18:13 UTC+1:

> Hi Otto,
>
> Mainly the changes in mtx-changer are in the following commit 
> https://github.com/bareos/bareos/commit/68710b7960 
> We remove the perl usage in favor of awk and a few cleanup. 
> But nothing in terms of usage should have changed.
>
> What might have been happened, is that you touch previous version (check 
> also mtx-changer.conf) which would have not been upgraded by the 
> installation package.
> Would you mind to check this ?
>
> Regards
> On Wednesday, 19 March 2025 at 20:22:44 UTC+1 Otto Brandstaetter wrote:
>
>> Hi, I have been using bareos with different hardware since several years 
>> - and I have some scripts, for example to re-initialize tapes.
>>
>> In the past I used for example /usr/lib/bareos/scripts/mtx-changer 
>> /dev/sch0 load 8 /dev/tape/by-id/sch0-nst 0 after execution, the next 
>> command in the script was executed. 
>>
>> But since somewhen (last year?) after execution the script shows done, 
>> but does not exit. Seems to be hardware-independant as I tried with a dell 
>> changer and a hpe changer. 
>>
>> I am working on debian 12 with (now) bareos 24, installed it using apt 
>> from download.bareos.org/current/Debian_12 
>> Any help would be appreciated as I could not find anything regarding 
>> this... 
>> Cheers, Otto 
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bareos-users+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/bareos-users/e36136d7-841d-4d40-86e9-90b1728baa90n%40googlegroups.com.

Reply via email to