From owner-freebsd-questions@FreeBSD.ORG Wed Feb 6 23:30:50 2013 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 01E33CB4 for ; Wed, 6 Feb 2013 23:30:50 +0000 (UTC) (envelope-from tjg@ucsc.edu) Received: from mail-ia0-x230.google.com (mail-ia0-x230.google.com [IPv6:2607:f8b0:4001:c02::230]) by mx1.freebsd.org (Postfix) with ESMTP id C9DC030F for ; Wed, 6 Feb 2013 23:30:49 +0000 (UTC) Received: by mail-ia0-f176.google.com with SMTP id i18so2305615iac.21 for ; Wed, 06 Feb 2013 15:30:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ucsc.edu; s=ucsc-google; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=rRXNzzjTHs2GfO/LzsbKFsAuVoQCHlTRgY6zfE5b+hM=; b=We6LXHx7aTwE8mSy2sEHPyDpg145agGv3GbCQ2DgV+Uzrqddvauoxnsh8zl4cPbGB/ T6XXtB0XwFp7fGWJEtlFYW4rGriO8sXfbNwNjoDLTEO2qO/acLOZbicrkeVlBeSPTNuH T49GyJjBMf2YKFyEQT4l9NNHI7s+4WoXzeqhU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type:x-gm-message-state; bh=rRXNzzjTHs2GfO/LzsbKFsAuVoQCHlTRgY6zfE5b+hM=; b=R+FObjcTNKoabOvO5WNjfM8tJy5S39ynmhUrv/Wg5dSmtPMWkdSEt6s3ZUJyb02R2r Jm2Zx8asHv3DXem7HT9NfqmupJTtzs7P4CECPsWA6kmO4upHmhWkISRLfXJgiTk13Lk8 a/mJc6h1EklQG3SPAEBzIahPqaxpVlvBNyiPmjBKkj4eQw/rVlou7l3D+0FU8EeDhV06 bYekNlwyaRvriv3MXIncEwL1nFeIXkwV/VBnD5lktWLm2dtOzwrCszwOT5EpYd+PEnhV v7GGdEvmqZ6mgGxOAXQZt2fO7brH6KVopN03cIBR1uW8lcZHzwrGTRsNEuE9dQ0wa8Rn QcDg== MIME-Version: 1.0 X-Received: by 10.50.16.144 with SMTP id g16mr10392277igd.2.1360193449325; Wed, 06 Feb 2013 15:30:49 -0800 (PST) Received: by 10.42.241.73 with HTTP; Wed, 6 Feb 2013 15:30:49 -0800 (PST) In-Reply-To: <51129A40.1050606@FreeBSD.org> References: <51129A40.1050606@FreeBSD.org> Date: Wed, 6 Feb 2013 15:30:49 -0800 Message-ID: Subject: Re: Restricting Periodic Scripts From: Tim Gustafson To: questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQky+ho+dW89adLqxbigDplUi0hzW53oAiX5BvB+8gfVAiRkGa8IEMhHJL4unaQ19pUiEDc6 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Feb 2013 23:30:50 -0000 > I have a FreeBSD ZFS file server with tens of millions of files > stored on it. > > But, the daily periodic scripts like > /etc/periodic/security/110.neggrpperm and > /etc/periodic/weekly/310.locate take hours iterating through those > folders, and I just don't need them to be scanned. > > I see that I can edit /etc/locate.rc to fix the behavior for > /etc/periodic/weekly/310.locate but I don't see a way to exclude > folders from other scripts like > /etc/periodic/security/110.neggrpperm from scanning them. Is there > any way to prune out folders that I don't want scanned, or should I > just disable those jobs? Thanks to everyone who replied. I got some helpful suggestions from a few people, which all amounted to either "disable the jobs" or "create your own custom version of those jobs". So for now, I'm just disabling them. I appreciate all the help. Thanks! -- Tim Gustafson tjg@ucsc.edu 831-459-5354 Baskin Engineering, Room 313A