thank you for your old postings. i used it to fix my problems w/ a scsi tape drive on an old fc5 system that i am working on. the answer by kilgoretrout in this thread yielded the following commands which were invaluable to fix this.
#lsmod
#modprobe st
#mt -f /dev/nst0 retension (which i adjusted to my sitiuation st0)
the other things i picked up along the way that were also helpful are
#cat /proc/scsi/scsi
which helped to see if it was loaded and recognized.
#more /var/log/dmsg
you will have to try your luck to see how they all fit together -- basically the /dev/tape article is what really got it going the right direction plus the commands added to /etc/rc.local. you need to run the commands above first then see where you are at
this article (below) plus this post allowed me to fix the tape bu problems and i just wanted it out there somewhere that someone may find it like i did.
http://www.redhat.com/archives/fedor.../msg00160.html
text below:
Re: /dev/tape
--------------------------------------------------------------------------------
From: "Mikkel L. Ellertson" <mikkel infinity-ltd com>
To: For users of Fedora Core releases <fedora-list redhat com>
Subject: Re: /dev/tape
Date: Thu, 01 Jun 2006 17:50:54 -0500
--------------------------------------------------------------------------------
Les Mikesell wrote:
> On Thu, 2006-06-01 at 17:19 -0500, Mikkel L. Ellertson wrote:
>> Les Mikesell wrote:
>>> After installing FC5, I don't see /dev/tape showing up as a symlink
>>> to /dev/nst0 anymore and it disappears after a reboot if I add one
>>> manually to make mt and amanda work. The tape drive wasn't attached
>>> when I installed - would that make a difference?
>>> /etc/udev/rules.d/50-udev.rules does have an entry:
>>> KERNEL=="nst[0-9]", BUS=="scsi", SYMLINK+="tape-%k", MODE="0660"
>>> and I do have /dev/nst0. Does it need something else?
>>>
>> Looking at this rule, you probably have something like /dev/tape-0
>> instead of /dev/tape. The %k is replaced with the kernel number, so
>> that /dev/nst0 gets a /dev/tape-0 symlink. /dev/nst1 would get
>> /dev/tape-1, and so forth.
>
> Actually it is making tape-nst0 -> nst0, but that doesn't help
> much.
>
Oops - you are correct. %k is kernel name, and %n is number. In any
case, if you are only using one tape device, you could create a rule
to give you /dev/tape and /dev/ntape. What I would do is create a
file in /etc/udev/rules.d called 15-local.rules and put in two lines:
******* NOTE THIS WORKS LIKE A CHARM******
KERNEL=="nst0", BUS=="scsi", SYMLINK+="ntape", MODE="0660"
KERNEL=="st0", BUS=="scsi", SYMLINK+="tape", MODE="0660"
At least, I normally use tape for the rewinding device and ntape for
the non-rewinding device. The name used is not critical as long as
your rules come before the default rules listed above.
Mikkel
--
Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!
from another source ??? i also got this little jewel:
put these in /etc/rc.local
modprobe st
modprobe ide-scsi
evidently it will cause everything to "load" after everything else is done. two reboots and i was in business!!