Re: statfs returns wrong values for 250Gb FAT fs
From: Carlos Rodrigues
Date: Tue May 10 2005 - 15:50:10 EST
OGAWA Hirofumi wrote:
Filesystem may have the corrupted free-cluster value.
I couldn't reproduce the problem on 2.6.12-rc4.
Could you try a recently dosfsck (dosfstools-2.11 or later)?
Also could you send the output of above program?
"dosfsck" did find a problem in the free-cluster value. And also said
the backups FAT was different than the original FAT.
I didn't use "dosfsck" to fix the problems though (not that it couldn't,
I just didn't try). As I had already copied everything to another disk,
I just used "mkdosfs" to reformat the drive, and it works just fine now.
I still don't know what caused this, probably something related to some
"kernel panics" I was seeing on shutdown (in a Fedora 3 installation,
not Debian), after doing an umount+unplug.
I didn't though of using "dosfsck" because Windows' checkdisk was saying
the filesystem was perfectly fine... It makes me feel really safe
trusting MS tools... not.
Carlos Rodrigues
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/