Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Hmm. I just hooked up an Adaptec 29160, and a Sony SDX-D500C AIT2 SCSI tape drive to a RH 7.1 box. The card driver seemed to be loaded by kudzu automatically, and the KDE list of devices shows the tape drive. But when I try the obvious:
# tar cvf /dev/st0 linux_22
tar: /dev/st0: Wrote only 0 of 10240 bytes
tar: Error is not recoverable: exiting now
The tape drive, however, does seem to spin up. Anything else I could be missing?
Appendix on the card and tape drive install:
In both cases, once I turned the machine on again after installation, the card/device was configured automagically.
All I needed to do was install the SCSI card for the tape drive to work. I have Adaptec 29160N and a travan tape drive.
I did this by adding module aic7xxx to "INITRD_MODULES = " in the rc.config file.
Then run commands
test tape using "mt -f /dev/st0 retension/rewind/erase/etc"
Akeria backup is a good program and has a GUI interface for windows for remote control as well as linux graphical interface.
OK. So, I get no further. What to do? What the
hell, I'll re-issue the commandline:
# mt -f /dev/st0 retension
and it works! I hear the tape drive going, and
the tape running. And mt returns 0.
Anyway, thanks for the lead on Arkeia. I checked
it out, but the free version won't serve my needs:
I have one server and 6 client machines that need
to be backed up. I'm going to give Amanda a shot,
though I don't think it has a GUI.
I didn't do anything to fix the problems: they just seemed to go away. My postings above describe exactly what happened:
1. I shutdown, plug SCSI card in.
2. Boot. Watch Kudzu detect the card and install the driver correctly (I assume).
3. Shutdown, plug tape drive in. (No tape loaded.)
4. Boot. No special messages about tape drive during startup sequence that I remember. But KDE's "device manager" shows the tape drive on the SCSI bus with correct SCSI ID and model.
5. Load tape. Try "tar cvf /dev/nst0 /random_dir". Saw "busy" light on drive go on. After 2 secs, tar returned with IO error, 0 bytes of nnnn bytes written.
6. Scratch head. Try "mt -f /dev/st0 retension". IO error, again. Wait 20 secs. WTF, I'll try it again. "mt -f /dev/st0 retension". WTF, it works, this time: I hear tape drive winding.
7. Try tarring a directory to /dev/nst0. It works. Try "tar tvf /dev/nst0", and it also works. Try "mt -f /dev/st0 erase": takes an age and a half, but it works.
8. Reboot with tape loaded. This time, there is a message from the SCSI card BIOS that it detected the tape drive. (This message may have been there before (with drive empty), but I just wasn't looking at the screen.)
So, there you go. I don't think I did anything. It just seemed to resolve itself. I know this is a Unix, but maybe a reboot or something may help?
first of all try to issue a command cat /proc/scsi/scsi
if you get the line that says attached scsi ...............
than you know that your scsi tape drive is attached.
next step is install kdeadmin package.
go to config preferences on kdat
change device from /dev/tape to /dev/st0
and mount the tape from kdat
write back tell me if it did work