Recovery from disk+fs crash

Eric Anderson anderson at centtech.com
Tue Jun 6 08:35:19 PDT 2006


Robin Elfrink said:
> Eric Anderson wrote:
>
>> You could go in with fsdb and fix the parts manually, but it wouldn't be
>> simple.  You might also try a 'preen' first - not sure if that will do
>> anything different.  Also - this fs is not currently mounted at all,
>> right?
>
> I have no experience with fsdb, so that will take some time for me to
> read the manuals.
>
> The filesystem was mounted read-only just then, but fsck_uff -b 160
> /dev/da0s1f only says it copies the block, and leaves the filesystem
> dirty.
>
> root@:~# fsck_ffs -b 160 /dev/da0s1f
> Alternate super block location: 160
> ** /dev/da0s1f
> cannot alloc 188446744067446403432 bytes for inphead
>
> UPDATE STANDART SUPERBLOCK? [yn] y
>
>
> ***** FILE SYSTEM STILL DIRTY *****
>
>
> I tried with several backup copies (as newfs -N said it would make; this
> is a standard install with no fs optimizations). All with the same result.
>
>
> Robin


And then after that, you tried the regular:

fsck_ffs -y /dev/da0s1f

?

Eric


-- 
-------------------------------------------------------------
Eric Anderson    anderson at centtech.com    Centaur Technology
You have my continuous partial attention
-------------------------------------------------------------



More information about the freebsd-isp mailing list