What to do to have it working?
Would I have to add it in the fstab? If so, what would the device name and its fstab settings be?
Also, what application allows me to backup on tapes (I use kde)?
What I need, as for now, is exactely the following:
Software indipendent, I need to know how to make my tape backup device recognized and available to the system. As for the software, I will thenk choose my preferred one.
Well, it's been a long time since I've used a tape drive (and they were IDE at that) so you should search google for better information, but here's something to get you started.
Stick in a tape in your drive. Make sure it's blank or contains data you aren't worried about losing.
Assuming your drive is setup correctly and working, you control it with two device names, st0 and nst0. Try this at the command line:
mt -f /dev/nst0 status
That should give you some drive information.
mt -f /dev/nst0 rewind
Should rewind the tape, if it isn't already at BOT.
cd /
tar cvf /dev/st0 /home/yourhomedir
Replace the last bit with yourhomedir name. This will backup your homedir to tape. Using the "/dev/st0" will make the drive automatically rewind after writing.
cd /
tar df /dev/st0
Will compare your tape backup to the hard drive. Do a "man mt" "man tar" for more information.
When I used a tape drive, I used only command-line utilities, specifically tar, afio and the flexbackup perl script. I have no knowledge of GUI alternatives. If nothing from above works, it's probably a SCSI problem and I don't have enough experience with that to help you further.
Now, does this mean I have my scsi tape device recognized?
I do not know anything about taper. Can you please explain what to do to?
Also, I run KDat (what comes with kde) and when loaded and select mount tape, I get this error:
There appears to be no tape in the drive /dev/tape. Please check "Edit->Preferences" to make sure the
correct device is selected as the tape drive (e.g. /dev/st0)
SAngeli wrote:
Now, does this mean I have my scsi tape device recognized?
looks good!
SAngeli wrote:
I do not know anything about taper. Can you please explain what to do to?
see taper.sf.net
SAngeli wrote:
Also, I run KDat (what comes with kde) and when loaded and select mount tape, I get this error:
There appears to be no tape in the drive /dev/tape. Please check "Edit->Preferences" to make sure the
correct device is selected as the tape drive (e.g. /dev/st0)
so do as the message tells you. try /dev/st0, st0a, etc.. does one of them work?
too much work for this now. I am busy with another task.
I was able to install taper but all /dev/st... do not work.
I will resume later on.
I assumed it was easier than this. It is really true, thou: Linux is a big pain in the _ _ _ when you have to do admin stuff. I now understand why many times, people choose distros like redhad, suse, or others.
But I like gentoo and will hold tight, while sometimes crying.
Thank you for now,
Spiro
Last edited by SAngeli on Mon May 02, 2005 6:22 pm, edited 1 time in total.
great! It works. I thank you for this. It was quick resolution, indeed.
I will play around a bit with mt trying to learn about it and if am able will try a GUI application too. But, will do this later on as soon as have time. At least, for now I know the tape is working.