Again: fsck_ffs memory requirements

Polytropon freebsd at
Fri Aug 22 00:22:09 UTC 2008

On Thu, 21 Aug 2008 18:49:17 +0200 (CEST), Oliver Fromme <olli at> wrote:
> Polytropon <freebsd at> wrote:
>  > On Thu, 21 Aug 2008 17:23:41 +0200, Kris Kennaway <kris at> wrote:
>  > > Increase kern.maxdsiz. 
>  > 
>  > It seems that I don't have kern.maxdsiz:
>  > 
>  >         # sysctl kern.maxdsiz
>  >         sysctl: unknown oid 'kern.maxdsiz'
>  > 
>  > Am I looking at the wrong place? Allthough I've been using
>  > FreeBSD since 4.0, it seems that I got a "little" stupid over
>  > the years... :-/
> It's a loader tunable, so you must put it in /boot/loader.conf.

I put a value of ca. 1.5 GB into the loader's config file
and that solved the problem. Thanks!

> Best regards, and good luck with your recovery!

Allthough fsck_ffs 5 does seem to be able to calloc() the needed
memory, it fails with the same message as fsck_ffs 7:

	fsck_ffs: bad inode number 306176 to nextinode

Don't know what to do next. I may gather all information I
have, write al little "story" and bring this topic up here
next week. Maybe someone has better ideas than me.

> PS:  Better make good backups next time.

More precise: Better make _at least any_ backups. :-) More than
5 years without any (!) problem with FreeBSD and now this stupid
problem... :-(

>From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...

More information about the freebsd-questions mailing list