LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This 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.

Notices

Reply
 
Search this Thread
Old 12-14-2004, 07:43 AM   #1
tcamp
LQ Newbie
 
Registered: Dec 2004
Posts: 9

Rep: Reputation: 0
Unhappy Backup fails on specific files


This problem has really got me confused - any suggestions would be VERY much appreciated.

I recently installed a Certance Travan 20 tape drive, connected to a Tekram DC-315U SCSI card. The hardware installation appears to have gone fine. I checked this by running a utility program supplied by Certance (SGTape21) which reported that the tape drive was working properly. I recompiled my kernel (I'm running Fedora core 2) to include support for the SCSI card without any problems.

However, when using the tape drives to do backups, I'm finding that approximately 5% of the backed-up files do not verify when compared with the source files. If I repeat the backup operation (maybe including other directories in the backup for example) I find that the SAME files (repeatedly) fail on the verify step. These files aren't system files that you might expect to change during the backup process, instead they are files like Word files (.doc), Powerpoint files (.ppt), Quicktime movie files (.mov). Plain text files seem never to give any problems. I have performed the backup s in various ways:
1) Using 'tar' from Linux (Fedora core 2)
2) Using Tapeware software under Linux (supplied with the Certance drive)
3) Using Tapeware software under Windows ME (I have a dual boot system)
However I get the same problems with the same files whichever method I use. (Tar-ing to a file instead of to the tape drive works okay, but tar-ing to the tape drive leads to the verify errors).

What really confuses me is why the problem should be specific to certain (static) files. Any ideas would be much appreciated. (I've been hassling Certance technical support on this, they've not been able to help me yet).

Thanks,

Tim
 
Old 12-14-2004, 05:16 PM   #2
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Lubuntu
Posts: 19,176
Blog Entries: 4

Rep: Reputation: 430Reputation: 430Reputation: 430Reputation: 430Reputation: 430
Hi and welcome to LQ

Just a thought, does someone have these files open on a pc or laptop somewhere? It may be that they are in use and are locked..... Are they permanently displayed on a screen somewhere maybe?
 
Old 12-15-2004, 07:09 AM   #3
tcamp
LQ Newbie
 
Registered: Dec 2004
Posts: 9

Original Poster
Rep: Reputation: 0
Thanks for the suggestion. However, no the files aren't open elsewhere.

I tried to debug this by restoring a few of the reportedly corrupt files and then comparing them with the originals. This isn't so straight-forward because none of the failed files are plain text. However I compared the original and restored files using "diff" and the "-a" option (treat the files as plain text even if they aren't) and found that there were differences in the amount of white space in certain lines. (I'm not sure what the output of "diff -a" really is, whether all non-ASCII characters are displayed as white space.)

Any other suggestions of things to try to diagnose the probem would be much appreciated!

Tim
 
Old 12-19-2004, 05:56 AM   #4
tcamp
LQ Newbie
 
Registered: Dec 2004
Posts: 9

Original Poster
Rep: Reputation: 0
Problem finally solved!

For the record: originally I had installed a combination of a Tekram DC-315U SCSI adapter and a Certance Tapestor20 tape drive. A utility program that came with the SCSI card reported that it was installed correctly, and a Certance utility program (SGTAPE21) reported that the combination of the SCSI adapter and the drive were functioning correctly. However, I kept finding a lot a verify errors (confusingly, for the same files), both when running under Linux and Windows.

To solve the problem, I replaced the Tekram SCSI adapter with a cheap Adaptec card. Since then, I've not had any more errors.

I don't know if there was a manufacturing problem with the Tekram card (if so, why did the utility program report it was functioning properly?) or if there's some fundamental inconsistency with the combination of the Tekram DC-315U SCSI adapter with the Certance Tapestor20 drive (if so, why did Certance's utility program SGTAPE21 report that things were functioning correctly, when they weren't?). All I know is that having changed the SCSI card, backups now work correctly.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Yast2 Backup Fails Consistently wmeler Linux - General 0 06-18-2004 04:10 PM
rm specific user files Longinus Linux - Newbie 1 04-27-2004 01:09 PM
Removing specific files twantrd Linux - General 3 03-01-2004 04:49 PM
selecting specific files slack66 Linux - Newbie 1 02-14-2004 07:52 AM
Filesystem/Specific Files clearh20 Linux - Newbie 1 05-31-2003 05:19 PM


All times are GMT -5. The time now is 05:02 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration