Recovery from disk+fs crash

Robin Elfrink elfrink at introweb.nl
Tue Jun 6 00:23:17 PDT 2006


Hi,


I have a system with hardware raid, which has had some hardware troubles.

The state this machine is in is now: The raid configuration is OK, but
the filesystem somehow broke seriously. If I mount it under FreeBSD 5.4
(which is wat the system was running at the time) it completely _hangs_
(not even kernel panic) when accessing certain directories. Under 6.x
not everything is OK, but at least the system does not hang.

Now the problem is that I lost some directory trees, and I am looking
for ways to see if I recover them. The obvious first step would be fsck,
but the fs is so broken it gives me:

root@:~# fsck /dev/da0s1f
** /dev/da0s1f (NO WRITE)
cannot alloc 18446744067446403432 bytes for inphead

root@:~# df -h /dev/da0s1f
Filesystem     Size    Used   Avail Capacity  Mounted on
/dev/da0s1f     64G    -58T     58T -100219%    /var/disk

Google did not help much, has anybody any clue to how I can get fsck to
run properly?



Robin


More information about the freebsd-isp mailing list