Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Jun 2005 21:53:30 -0700 (PDT)
From:      Don Lewis <truckman@FreeBSD.org>
To:        anderson@centtech.com
Cc:        freebsd-current@FreeBSD.org
Subject:   Re: cannot alloc 19968 bytes for inoinfo
Message-ID:  <200506020453.j524rUtI002411@gw.catspoiler.org>
In-Reply-To: <429E1EAD.8010604@centtech.com>

index | next in thread | previous in thread | raw e-mail

On  1 Jun, Eric Anderson wrote:
> Andre Guibert de Bruet wrote:
>> 
>> On Wed, 1 Jun 2005, Eric Anderson wrote:
>> 
>>> Don Lewis wrote:
>>>
>>>> On 31 May, Eric Anderson wrote:
>>>>
>>>>> One of my filesystems won't fsck.  I'm not sure how to fix it, or 
>>>>> what it's really trying to tell me.
>>>>>
>>>>> # fsck -y /vol1
>>>>> ** /dev/da0s1d
>>>>> ** Last Mounted on /vol1
>>>>> ** Phase 1 - Check Blocks and Sizes
>>>>> fsck_ufs: cannot alloc 19968 bytes for inoinfo
>>>>>
>>>>> df -i /vol1 output:
>>>>> Filesystem  1K-blocks        Used    Avail Capacity  iused     ifree 
>>>>> %iused  Mounted on
>>>>> /dev/da0s1d 1891668564 1684163832 56171248    97% 55109756 189360002 
>>>>> 23% /vol1
>>>>>
>>>>> Any help would be very appreciated!
>>>>
>>>>
>>>> You're probably running into the default 512MB data size limit.  Try
>>>> setting kern.maxdsiz to a larger value in /boot/loader.conf and
>>>> rebooting.  I've got mine set to 1GB.
>>>>     kern.maxdsiz="1073741824"
>>>
>>>
>>> Hmm - I don't seem to have that sysctl..  What would create it?
>> 
>> 
>> It's a loader tunable, not a sysctl variable. man 5 loader.conf
> 
> Oh.. oops. :)   Ok, then I have it set correctly but it isn't helping 
> me.  My fsck still dies the same way.  Looks like it's taking up about 
> 362MB memory (I have 1GB).  Any more ideas?

What does the shell limit command say about your datasize limit?  Your
limit might have been cranked down in login.conf.



home | help

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