Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 06 Jun 2006 09:21:21 +0200
From:      Robin Elfrink <elfrink@introweb.nl>
To:        freebsd-isp@freebsd.org
Subject:   Recovery from disk+fs crash
Message-ID:  <44852CF1.5070300@introweb.nl>

next in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44852CF1.5070300>