filesystem corruption with 1TB filesystem, 4.9-STABLE, twe
ollie at uk.clara.net
Mon Apr 19 07:05:17 PDT 2004
On Sun, Apr 18, 2004 at 10:18:53PM +0100, Ollie Cook wrote:
> I am experiencing filesystem corruption while using a 1TB (appx.) partition
> under 4.9-STABLE (sources from Mar 17) and an 8-port 3ware ATA RAID card (twe
> device driver). The RAID set comprises 5x250GB ATA disks.
> The kernel logs such messages as:
> Apr 17 16:25:37 heman /kernel: free inode /clara/170175645 had 137391860 blocks
> Apr 17 17:18:29 heman /kernel: free inode /clara/169969279 had 1803039330 blocks
> Apr 17 18:06:38 heman /kernel: free inode /clara/171086221 had 544501359 blocks
I have some further details which I hope might shed some more light on this
problem. Accessing some files which appear (from a directory listing for
example) to have been stored correctly results in 'Bad file descriptor'. This
is with a freshly checked and clean filesystem.
I say 'clean', but after fsck declares it clean, another pass through fsck will
diagnose further errors. This is without mounting the filesystem between
I ran a few simple tests and was able to ascertain that the open(2) and read(2)
system calls don't return errors but fstat(2) does return EBADF.
su-2.05b# ls | grep 1071701821.78602.aether.uk.clara.net
su-2.05b# ls 1071701821.78602.aether.uk.clara.net
ls: 1071701821.78602.aether.uk.clara.net: Bad file descriptor
Any assistance in diagnosing this would be greatly appreciated.
Oliver Cook Systems Administrator, Claranet UK
ollie at uk.clara.net +44 20 7903 3065
More information about the freebsd-stable