Excluding File Systems from 100.chksetuid and 110.neggrpperm

Adam Vande More amvandemore at gmail.com
Fri Jun 2 17:50:42 UTC 2017


On Fri, Jun 2, 2017 at 11:31 AM, Tim Gustafson <tjg at ucsc.edu> wrote:

> Hi,
>
> We have several FreeBSD 10.x and 11.x servers that host about 150TB of
> ZFS file systems each.
>
> Each day, the 100.chksetuid and 110.neggrpperm run against our entire
> data set, which has hundreds of millions of files in it, and winds up
> slowing everything down and using up all our resources.
>
> Looking at those scripts, they don't seem to take any parameters, and
> I can't configure them to exclude certain folders that really just
> don't need to be scanned.  I did find this post which suggested a
> patch for FreeBSD 9.x, but it does not appear to have even been
> implemented:
>
> https://forums.freebsd.org/threads/31846/
>
> Is there any hope of getting these options added?
>

That thread mentions this posting which contains responses as to why it
likely was never pursued further:

https://docs.freebsd.org/cgi/getmsg.cgi?fetch=275969+0+/usr/local/www/mailindex/archive/2012/freebsd-stable/20120506.freebsd-stable

-- 
Adam


More information about the freebsd-questions mailing list