How to take down a system to the point of requiring a
newfs with one line of C (userland)
Matthew Dillon
dillon at apollo.backplane.com
Tue Feb 19 02:38:40 UTC 2008
Jim's original report seemed to indicate that the filesystem paniced
on mount even after repeated fsck's.
That implies that Jim has a filesystem image that panics on mount.
Maybe Jim can make that image available and a few people can see if
downloading and mounting it reproduces the problem. It would narrow
things down anyhow.
Also, I didn't see a system backtrace anywhere. If it paniced, where
did it panic?
The first thing that came to my mind was the dirhash code, but simply
mounting a filesystem doesn't scan the mount point directory at all,
except possibly for '.' or '..'... I don't think it even does that. All
it does is resolve the root inode of the filesystem. The code path
for mounting a UFS or UFS2 filesystem is very short.
-Matt
More information about the freebsd-fs
mailing list