mt fails to set datcompression on DLT tape drive
Hi, after installing a new SuSE 10.0 from scratch on my backup server I wanted to use mt like I was used to, which means switch off compression before writing to the DLT tape. this command always worked fine: mt -f /dev/st0 datcompression off using this on 10.0, the answer always is "Compression On". Looking into the syslog I see the kernel complaining this: program mt is using a deprecated SCSI ioctl, please convert it to SG_IO What can I do to get mt to work as it did before? Cheers - Ingo.
On Wed, 22 Feb 2006, Ingo Freund wrote:
Hi,
after installing a new SuSE 10.0 from scratch on my backup server I wanted to use mt like I was used to, which means switch off compression before writing to the DLT tape.
this command always worked fine: mt -f /dev/st0 datcompression off
using this on 10.0, the answer always is "Compression On". Looking into the syslog I see the kernel complaining this: program mt is using a deprecated SCSI ioctl, please convert it to SG_IO
What can I do to get mt to work as it did before?
I have to use 'mtst' which comes with mt_st-0.7-423 on SUSE 10.0
I don't know why 'mt' stopped working, but my guess is that the one that
comes with cpio isn't being maintained.
--
Carpe diem - Seize the day.
Carp in denim - There's a fish in my pants!
Jon Nelson
On 2006-02-22 16:34:54 +0100, Ingo Freund wrote:
after installing a new SuSE 10.0 from scratch on my backup server I wanted to use mt like I was used to, which means switch off compression before writing to the DLT tape.
this command always worked fine: mt -f /dev/st0 datcompression off
using this on 10.0, the answer always is "Compression On". Looking into the syslog I see the kernel complaining this: program mt is using a deprecated SCSI ioctl, please convert it to SG_IO
What can I do to get mt to work as it did before?
http://bugs.opensuse.org/ darix -- openSUSE - SUSE Linux is my linux openSUSE is good for you www.opensuse.org
On Wed, 22 Feb 2006, Ingo Freund wrote:
Hi,
after installing a new SuSE 10.0 from scratch on my backup server I wanted to use mt like I was used to, which means switch off compression before writing to the DLT tape.
this command always worked fine: mt -f /dev/st0 datcompression off
using this on 10.0, the answer always is "Compression On". Looking into the syslog I see the kernel complaining this: program mt is using a deprecated SCSI ioctl, please convert it to SG_IO
What can I do to get mt to work as it did before?
I have to use 'mtst' which comes with mt_st-0.7-423 on SUSE 10.0
Thanks for the quick help, it seems to be the solution. I've been looking around now for days to get some information about this. Really bad that the installer doesn't do the work it should do. Bye - ingo.
On 2006-02-22 17:06:13 +0100, Ingo Freund wrote:
Thanks for the quick help, it seems to be the solution. I've been looking around now for days to get some information about this. Really bad that the installer doesn't do the work it should do.
may i ask: what should the installer do? with kind regards darix -- openSUSE - SUSE Linux is my linux openSUSE is good for you www.opensuse.org
Marcus Rueckert wrote:
may i ask: what should the installer do?
of course you may - and I'll anser your question :-) first I have upgraded the the machine, where has been installed a SuSE 9.0. The result was the same for mt or mtst (where "mtst" has been a link to "mt"). The system installer could have identified an installed mt or mtst and -in my opinion- a replace should occure. For an installation from scratch including the cpio-packet there should be a replace for the mt program by mtst because mt seems to be outdated. I think there are so many dependencies in the SuSE-system that one more doesn't really count. By - Ingo.
On 2006-02-22 18:04:34 +0100, Ingo Freund wrote:
Marcus Rueckert wrote:
may i ask: what should the installer do?
of course you may - and I'll anser your question :-)
first I have upgraded the the machine, where has been installed a SuSE 9.0. The result was the same for mt or mtst (where "mtst" has been a link to "mt"). The system installer could have identified an installed mt or mtst and -in my opinion- a replace should occure.
For an installation from scratch including the cpio-packet there should be a replace for the mt program by mtst because mt seems to be outdated. I think there are so many dependencies in the SuSE-system that one more doesn't really count.
not really. from the upgrade path it is more secure to assume that your old config is working. so we wont blindly exchange packages you used before. if you now find out that mt is no longer working for you. you can upgrade to mt_st. both tools are under Productivity/Archiving. so not that far away from each other. another good move from your side would be reporting this bug. with kind regards darix -- openSUSE - SUSE Linux is my linux openSUSE is good for you www.opensuse.org
Marcus Rueckert wrote:
On 2006-02-22 18:04:34 +0100, Ingo Freund wrote:
from the upgrade path it is more secure to assume that your old config is working. so we wont blindly exchange packages you used before.
well,that is a very good intention. And what about not working features that have been used for years now?
if you now find out that mt is no longer working for you. you can upgrade to mt_st. both tools are under Productivity/Archiving. so not that far away from each other.
Switching the tape compression is often used. Anyway, at least a hint during the installation would be very nice.
another good move from your side would be reporting this bug.
The bug is already reported: https://bugzilla.novell.com/show_bug.cgi?id=129866 If the bugs from http://bugs.opensuse.org/ could be found by well known searching sites I never had asked here. Thanks and bye -Ingo.
participants (3)
-
Ingo Freund
-
Jon Nelson
-
Marcus Rueckert