please help - explanation for odd fsck times/behavior needed

Eric Anderson anderson at centtech.com
Tue Mar 14 17:21:04 UTC 2006


Ensel Sharon wrote:
> On Tue, 14 Mar 2006, Eric Anderson wrote:
>
>   
>> Dag-Erling Sm?rgrav wrote:
>>     
>>> Eric Anderson <anderson at centtech.com> writes:
>>>   
>>>       
>>>> Ok, thanks for the insight.  Someone with a commit wand should wave
>>>> it over fsck(8):
>>>>     
>>>>         
>>> No, the man page is correct.  There's just no point in using more than
>>> two passes unless you have so little memory that fsck starts swapping.
>>> You'll notice that sysinstall puts everything except / in pass 2 in
>>> the fstab it generates when you install.
>>>   
>>>       
>> Or you have such large partitions, that you need the entire amount of 
>> memory to fsck a single filesystem at all. 
>>     
>
>
> Funny you should mention it, because you don't even need a large partition
> to do that ... my 400 gigabyte partition (sorry folks, 400 GB is _not_
> large) requires this:
>
> add the line:  kern.maxdsiz="1024000000"  to /boot/loader.conf
>
> So anyway, not only are passes > 2 possibly useful, you don't even need a
> big partition to have them be possibly useful ...
>   

True - it depends mostly on number of inodes in use I believe.


Eric



-- 
------------------------------------------------------------------------
Eric Anderson        Sr. Systems Administrator        Centaur Technology
Anything that works is better than anything that doesn't.
------------------------------------------------------------------------



More information about the freebsd-fs mailing list