[OpenAFS] File corruption, 1.4.1 on linux

Derrick J Brashear shadow@dementia.org
Fri, 12 May 2006 15:07:03 -0400 (EDT)


On Fri, 12 May 2006, Miles Davis wrote:

> On Thu, May 11, 2006 at 04:51:30PM -0400, Derrick J Brashear wrote:
>> On Thu, 11 May 2006, Miles Davis wrote:
>>
>>> Sorry -- clone on same site. I haven't tried making a clone on another
>>> site yet
>>> (I didn't used to have it replicated, but decided to test that out).
>>
>> So if the copy in the RO had not also gone bad I would have been scared.
>> Is it changing size, or content?
>
> Content only, it seems.
>
>> Use md5 and ls -l on the file. You can find it with help from
>> /afs/andrew.cmu.edu/usr/shadow/volid.pl (give it the RW's volume id number
>> as input)
>
> The following is the output of (date, ls, md4sum, and rpm -K)
>
> - good ----------------------------------------------------------------------
> Fri May 12 11:52:37 PDT 2006
> -rw-r--r--  1 miles users 2023546 May 20  2005 pam-0.79-8.i386.rpm
> 46c4df5bd02e2b0608bca68f56f8d00c  pam-0.79-8.i386.rpm
> pam-0.79-8.i386.rpm: sha1 md5 OK
>
>
> - bad ----------------------------------------------------------------------
> Fri May 12 11:52:48 PDT 2006
> -rw-r--r--  1 miles users 2023546 May 20  2005 pam-0.79-8.i386.rpm
> b6a9d86f04484dc76c818b358ceaaa82  pam-0.79-8.i386.rpm
> error: pam-0.79-8.i386.rpm: headerRead failed

Just for kicks, what does cmp -l on the original and corrupted files say?

Derrick