without tape i get this output lenny: time mt -f /dev/nst1 status mt: /dev/nst1: rmtopen failed: Kein Medium gefunden
real 2m0.530s user 0m0.000s sys 0m0.000s etch time /etc/bacula/mt -f /dev/nst1 status /etc/bacula/mt: /dev/nst1: Kein Medium gefunden real 0m0.016s user 0m0.000s sys 0m0.000s the new mt version needs 2 minutes .... Arno Lehmann schrieb: > Hi, > > 17.02.2009 09:48, Thomas wrote: >> Hi List, >> >> yesterday i did an upgrade from etch to lenny. >> after the update bacula was no longer able to verify >> that the tapes are loaded correctly. > ... >> but the mt output shows no ONLINE >> >> >> zlato:~# mt -f /dev/nst0 status >> drive type = 114 >> drive status = 1224736768 >> sense key error = 0 >> residue count = 0 >> file number = 0 >> block number = 0 >> zlato:~# >> >> this is the output from the etch mt: >> >> /etc/bacula/mt -f /dev/nst0 status >> drive type = Generic SCSI-2 tape >> drive status = 1224736768 >> sense key error = 0 >> residue count = 0 >> file number = 4 >> block number = 0 >> Tape block size 0 bytes. Density code 0x49 (unknown). >> Soft error count since last status=0 >> General status bits on (81010000): >> EOF ONLINE IM_REP_EN >> >> >> zlato:~# mt --version >> mt (GNU cpio 2.9) >> zlato:~# /etc/bacula/mt --version >> mt (GNU cpio 2.6) >> zlato:~# >> >> zlato:~# strings /bin/mt | grep -i online >> zlato:~# strings /etc/bacula/mt | grep -i online >> ONLINE >> zlato:~# >> >> >> currently i use the etch mt, but what was the correct way to use the lenny >> mt? >> (compiling mt from source does not help, the output is identically to the >> lenny mt, >> so it looks not like a debian problem) > > This seems to be a problem because the current mt produces different > output... it would be best if you ran mt without a tape loaded and > compared the output, so we can see what actually indicates a tape > loaded and ready. > > Arno > >> Regards >> >> Thomas > -- [:O]###[O:] ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users