OpenSUSE x86_64 does not mount /dev/tape (or /dev/st0 or /dev/nst0)
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
OpenSUSE x86_64 does not mount /dev/tape (or /dev/st0 or /dev/nst0)
Hello everyone.
I tried looking in the forum archives but have not been able to find an answer for my question that matches my setup.
I am running OpenSUSE x86_64 on a Dell Poweredge SC 1435. I am trying to access an Ultrium2 LTO tape drive attached to a SCSI port. As far as I can tell, the SCSI driver is not detecting the drive and /dev/tape, /dev/st0 and /dev/nst0 are not being created. I have installed the rpms for mtx and mt_st, yet the server seems completely unable to detect and mount the drive. I believe the SCSI card is pretty generic -- an Ultra320 SCSI Host Adapter.
I am completely at a loss as to how to get it up and running. I'm usually a home user and have had no need for a tape drive. I'm also more of a programmer than a sysadmin. Any guidance would be greatly appreciated.
Let's find out if the tape drive can be detected. In a console, run 'hwinfo --tape' (without quotes). Hwinfo should identify the tape drive, tell you which driver is needed, what device file it uses, and whether or not the driver is active.
I feel kind of silly as I've been using Linux for years. I feel like I should know better.
Anyhow, running hwinfo from the command line , the program flashes a few lines of text (that are too fast to read) and then returns nothing. When I run it with the --log file option, grepping for 'tape' returns the following:
>>scsi.2 scsi tape
sysfs: no such class: scsi_tape
So I think I can assume that the OS can't find the tape drive.
Mike
Last edited by yankeeinga; 08-20-2008 at 12:49 PM.
The same hardware setup worked with no issues under CentOS5. However OpenSUSE is unable to even see the drive. Does anyone know what is different between the two distros that would make this be an issue?
This is probably not helpful at all... but I have come into a couple of systems I did not set up recently. Both have scsi tape drives and I expected them to be called st0 (and nst0 for the auto rewind). Instead they are called sa0 and rst0. I found them by noticing that there were corresponding nsa0 and nrst0 commands. Probably not the problem here, but keep an eye out for that in the /dev/ directory just in case.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.