Need help on running a make on tapefix.
I need some help mounting my DAT tape drive.
I have used the DAT drive to do a system backup on A SCO system. THen I have removed the drive and attached it to a SUSE system with the tape that was used to tar data onto. On the Linux system I get an I/O error. I have downloaded tapefix. It has been extracted in the gue, not tar and untared. I can not do a make the get the 2 commands that I think will help me see the data to write it to a folder. Thanks for your help. Jack |
Hi Jack. If I read this correct, you did not untar the tapefix routine? Although I have not used tapefix, it would appear the routine would have to be untarred; then installed.
Perhaps I'm simply not understanding where you are at with this. Please offer some more detail. Thanks. |
I am not sure how to install tapefix. I seem to follow to the make, and then error with doing a make. The downloaded file in the tmp. I have qunzip, & tared.
This is where I do not understand. Make???? Thanks, Jack |
|
I have tapefix.tar.gz. I have ungziped to a tape.tar. tared and I have a folder with 4 files.
Makefile, query.c README setvarblock.c This is what I get when I do a make: FORDONE:/tmp/tapefix # ls Makefile README query.c setvarblock.c FORDONE:/tmp/tapefix make cc -o query query.c make: cc: Command not found make: *** [query] Error 127 This is the error I get after doing a: mt -f /dev/st0 setblk 0. When I do below, tar tvf /dev/st0 tar: /dev/st0: Cannot read: Input/output error tar: At beginning of tape, quitting now tar: Error is not recoverable: exiting now I am still having a format error and I need to find out what and see if we can correct the problem. Thanks, Jack |
cc is the c compiler. It does not appear to be installed.
what is the output of the command: mt -f /dev/st0 status Have you verified you can read/write to the drive via SuSE and another tape? |
Thanks for you responce Michael. Yes I have been successful in writing to a tape and then viewing the contents. I will be at site today and copy a few files and then write them back.
I was successful in archiving the files from the SCO, UNIX, system and then writing them on the SUSE, Linux, system with a tape device that died shortly there after. It was replaced it with an HP 1599A. They previously had a 1599A and had to replace it with a 1533. I have just verified that the HP 1599A replaced the 1533. That is why I am trying to install tapefix routines on the linux system. Again, I appreciate your time and help. Jack |
I am still having a tape read problem. Also, I would like to the the [./configure] commands working.
As above, pertaining to the make:cc : command not found, problem, I would like to fine out where the problem occurs. And if the C++ compiler is not installed, how do I install in SUSE? The SCO tape has been written successfully in January. I have not been able to repeat it sense. I would really like to use this media because there are a large number of large files that we need. Floppy, fpt, uucp do not seem to be an option. Thanks, Jack |
Hello ravinbhure,
see the responce that I got on the commands you suggested. mt -f /dev/st0 status drive type = Generic SCSI-2 tape drive status = 318767104 sense key error = 0 residue count = 0 file number = 0 block number = 0 Tape block size 0 bytes. Density code 0x13 (DDS (61000 bpi)). Soft error count since last status=0 General status bits on (41010000): BOT ONLINE IM_REP_EN FORDONE:~ # mt -f /dev/st0 fsf mt: /dev/st0: rmtioctl failed: Input/output error I noticed that you had '$' in from to the suggestions. Thanks for any help in this matter. Jack, sjpiv44 |
All times are GMT -5. The time now is 12:24 PM. |