First of all, I should make a small correction to my original query. It
should have read (update marked with *'s).
> From don Mon Jan 9 11:46:08 1995
>
> It appears that some of the files on one of our SunOS 4.1.3_U1 NFS file
> servers were truncated ***TO ZERO*** over the weekend. I cannot see any
> pattern that would indicate that it is a script/pattern match gone bad.
>
> I have written a program called stat which prints out the info from the
> stat system call. It looks like the info in the inode is unchanged other
> than the size. If things were normal, wouldn't one of the ctime/mtime/atime
> have been updated?
>
> Any patches that might cure this?
>
> Don
>
I am not sure if the problem is solved, but I have followed the info provided
by Dave Mitchell. Here is the info he provided.
> From D.Mitchell@dcs.shef.ac.uk Tue Jan 10 06:38:42 1995
> Date: Tue, 10 Jan 95 11:38:32 GMT
> From: Dave Mitchell <D.Mitchell@dcs.shef.ac.uk>
> To: don@mars.dgrc.doc.ca
> Subject: Re: truncated files
> Content-Length: 1109
>
> >I have written a program called stat which prints out the info from the
> >stat system call. It looks like the info in the inode is unchanged other
> >than the size. If things were normal, wouldn't one of the ctime/mtime/atime
> >have been updated?
>
> If some inode data has changed but the ctime hasnt, then its either
> a fault with the disk drive, or a kernel bug - most likely the latter.
>
> Have you got quotas enabled on the filesystem in question? In which
> case, apply the following patches ASAP:
>
> 101508-01 sun4m kernel quota bug and misc fixes
> 101592-01 sun4,sun4c kernel quota bug
>
> then boot single user and fsck your disks to death.
>
> (under 413 and 413U1, a bug in the quota code will gradually wreck your
> filesystems. Great fun.)
>
> If you havent got quotas, then I'd try applying the newest kernel and NFS
> jumbo patches anyway.
>
>
> Dave.
>
> * David Mitchell, Systems Administrator, email: D.Mitchell@dcs.shef.ac.uk
> * Dept. Computer Science, Sheffield Uni. phone: +44 114-282-5573
> * 211 Portobello St, Sheffield S1 4DP, UK. fax: +44 114-278-0972
> *
> * Standards (n). Battle insignia or tribal totems
>
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:10:14 CDT