This is a continuation of my earlier problem which
still exists:
Garbage in Amanda tape headers -
http://groups.yahoo.com/group/amanda-users/message/36902.

So what I did was break down the problem to isolate
the problem.  I got a blank tape, wrote a file to it
and read it back out. The file that was returned from
the tape was corrupted with garbage in certain areas.

I must be going insane!  What would be the cause of
this? Block sizes?  Faulty tape drive?  Faulty tape? 
SCSI related?

Anyway, here are the details:

1. Created file1.txt with some random text.

2. Ran these commands.  I don't know what the block
   size is suppose to be but I've tried many 
   different ones which results in the same outcome.  
   (I've also done this with tar...same results).

> dd if=file1.txt of=/dev/st0

> dd if=/dev/st0 of=file2.txt

> more file1.txt
Jolie Files for Divorce from Thornton
Thu Jul 18, 4:31 PM ET

By Steve Gorman

LOS ANGELES (Reuters) - Oscar-winning actress Angelina
Jolie has filed for divorce from her husband of two
years, Billy Bob Thornton, according to court
documents made public on Thursday.

Representatives for Jolie, 27, could not immediately 
be reached for comment, but a spokesman for Thornton, 
46, said the only comment from the actor-writer and 
musician was, "It's a sad thing."

<snip>

> more file2.txt
Jolie Files for Divorce from Thornton
Thu Jul 18, 4:31 PM ET

By Steve Gorman

LOS ANGELES (Reuters) - Oscar-winning actress Angelina

Jolie has filed for divorce from her husband of two 
years, Billy Bob Thornton, according to court 
documents made public on Thursday.  Representatives 
for Jolie, 27, could not immedi`tdl  `  `aa``d  fb  
cmmedd$  `tp`oaeqe`$ fgp Thorltol, 46, said the only 
comment from the actor-writer and musician was, "It's 
a sad thing."

<snip>


> file file1.txt
file1.txt: English text

# note: I only mention this because with other files, 
# file2.txt was labeled as "ASCII text"
> file file2.txt
file2.txt: English text

>diff file1.txt file2.txt
Binary files file1.txt and file2.txt differ

----------------------------------------

H/W Specs:
SCSI storage controller: Adaptec AHA-2940U2/W / 7890 
(rev 01)
HP SureStore 1559C DAT Autoloader Tape Drive DAT24x6e 
(DDS-3).
HP DDS-3 C5708A 24GB tapes

S/W Specs:
Debian Linux 2.2.18pre21
dd (GNU fileutils) 4.0l
Turned h/w compression off.

Thanks,

Terry

__________________________________________________
Do You Yahoo!?
Yahoo! Autos - Get free new car price quotes
http://autos.yahoo.com

Reply via email to