[OpenAFS] File corruption, 1.4.1 on linux

Miles Davis miles@CS.Stanford.EDU
Fri, 12 May 2006 12:10:27 -0700


On Fri, May 12, 2006 at 11:57:05AM -0700, 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
> 
> I seem to be able to corrupt the file almost at will with a flushvol. I've 
> tried watching some of the files on the server side, but I haven't been able to 
> catch one in the act yet (a watched file never corrupts...)

Ah, I finally caught a file in /vicep? corrupting:

g-wrap-1.3.4-8

------------------------
Fri May 12 12:00:48 PDT 2006
--------w-  1 bin root 67361 May 12 11:21 AX=+6kvB
1dd2c799f4c7187be04d25ee5b2d843c  AX=+6kvB
AX=+6kvB: sha1 md5 OK

------------------------
Fri May 12 12:02:52 PDT 2006
--------w-  1 bin root 67361 May 12 11:21 AX=+6kvB
066f174bfd3b921a17cd27121660ea60  AX=+6kvB
error: AX=+6kvB: headerRead failed


Then, looks like the contents changed again while I was composing this:

------------------------
Fri May 12 12:07:56 PDT 2006
--------w-  1 bin root 67361 May 12 11:21 AX=+6kvB
02ad0eda9415ac6a2c150b3328c5e4ce  AX=+6kvB
error: AX=+6kvB: headerRead failed


Wheee!

-- 
// Miles Davis - miles@cs.stanford.edu - http://www.cs.stanford.edu/~miles
// Computer Science Department - Computer Facilities
// Stanford University