Subject: Re: LFS problems
To: Konrad Schroder <>
From: Mihai CHELARU <>
List: current-users
Date: 05/17/2005 10:03:10
Konrad Schroder wrote:
> The current cleaner is a bit brain-damaged in this respect, but the new 
> one isn't quite ready yet.  For the time being, try running lfs_cleanerd 
> with "-b", so that the failure of cleaning one segment results in the 
> selection of another segment for cleaning (it will keep adding segments 
> until it has a segment's worth of bytes); or try it with "-n$N" where $N 
> is greater than 4 (the default when invoked from mount_lfs).

I tried -b 16. Larger loop this time.

> Also, make sure you are using a kernel that includes revision 1.178 of 
> src/sys/ufs/lfs/lfs_vfsops.c.  That revision fixes a bug that causes bad 
> FINFO records to be written, which can make segments uncleanable (though 
> there is no effect on the filesystem other than its cleanability).

I'm using lfs_vfsops.c 1.178 but most probably I've been using < 1.178. 
Is there any way to clean fs ? fsck_lfs doesn't do it.