From owner-freebsd-questions@freebsd.org Fri Jun 2 17:50:42 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 14245AF81F0 for ; Fri, 2 Jun 2017 17:50:42 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-wm0-x229.google.com (mail-wm0-x229.google.com [IPv6:2a00:1450:400c:c09::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9CB7F6F74E for ; Fri, 2 Jun 2017 17:50:41 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: by mail-wm0-x229.google.com with SMTP id b84so31164131wmh.0 for ; Fri, 02 Jun 2017 10:50:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=XdpO8GOcQeezYB5sWpAVhz286KcTcrne1tvGyBNowns=; b=Q5zi+IJo3CLU3wESioccY2jEyyARH5EF5uyLnUlBZajQZZikD2id3kJuFpBDCfnyF7 VzXlmZNiR6gBjGbgZ/PIkhGAIcdddronBMj+X9eMD4uvdg7jJ7BNUKwVKNDp1FiWzewx Skx+fEcK4kiFEP9mot7dG0AnmjYu6K7r7pRRe9ItwZgZ0t/WUbxOBSPKn5ZnCrXnkbga q8GhzO+A7LBWQaT7v95B+tNGGGSldilpY+Zat8lUdrGWSjKODAwVKvfGlBl9jckLLYXS brhcNwXxKREXYZ+kmbSx2FNDQ8Kq1hZp49d0OTMGXb9RLMtz0efy4pNy8Eojbxq/PY6N A38g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=XdpO8GOcQeezYB5sWpAVhz286KcTcrne1tvGyBNowns=; b=Ft2RYNXPbnVBzyx1469hG8giFys4LWS7tBB2BsG3Kbee7ocU5+vu5pogL+PQs/SEGo DUOMUSOmkLgUCOMKNQnS58f5J4ZKy3kLE1F6l+tx+OWVre24IFRxu1GwU/JTeNZx3MCk 4/IsKWURmkcAfptmH74gh/14hW5O6FBZFhTKF+/qIQCoLXkdvJtfu8EnOEH1gzF1bCln dpn7ymAnYkI25tfJ1aydwIQGSjNZmvctD0S27DPdvUoyaoMdaw106rxTx25Xg/FbAVP3 ohF483pMDnmJoOF6fIa/UDxawnrldQx0XCI1O8e6hz4QSr6fkh27Ua/y8JzHYcYzd4dA 3bfA== X-Gm-Message-State: AODbwcDogOcIhaPSmXSXgDbEmjOKmTqC5uvHM30eZZI3nv/igBYav0n6 dQFV/fd/ZzVmfWs5yjpkG3RK82EgKMyU X-Received: by 10.80.144.200 with SMTP id d8mr6749388eda.162.1496425840279; Fri, 02 Jun 2017 10:50:40 -0700 (PDT) MIME-Version: 1.0 Received: by 10.80.175.65 with HTTP; Fri, 2 Jun 2017 10:50:39 -0700 (PDT) In-Reply-To: References: From: Adam Vande More Date: Fri, 2 Jun 2017 12:50:39 -0500 Message-ID: Subject: Re: Excluding File Systems from 100.chksetuid and 110.neggrpperm To: Tim Gustafson Cc: FreeBSD Questions Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Jun 2017 17:50:42 -0000 On Fri, Jun 2, 2017 at 11:31 AM, Tim Gustafson 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