Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Apr 2009 15:17:06 +0200
From:      "Paul B. Mahol" <onemda@gmail.com>
To:        aopopov@yahoo.com
Cc:        freebsd-questions@freebsd.org, "Daniel C. Dowse" <dcdowse@gmx.net>
Subject:   Re: atacontrol spindown
Message-ID:  <3a142e750904290617t4a18289xc1ed093cd9cfb485@mail.gmail.com>
In-Reply-To: <892451.85852.qm@web51402.mail.re2.yahoo.com>
References:  <3a142e750904290558k3fa85c57sb8675172907c79b6@mail.gmail.com> <892451.85852.qm@web51402.mail.re2.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 4/29/09, Alexander Popov <aopopov@yahoo.com> wrote:
>
> Hi, Paul,
>
> Below is my /etc/crontab. The only thing that is run at 3 am is periodic
> daily.
>

If any of scripts from /etc/crontab needs access(just reading, not
counting writing,
considering it is not already cached)
on spindowned hard disk your mission will fail.

If you want to keep logging and logs (via another ways) you could make
memory disk for root
and var slice ... and transfer logs to another media ...
or use another hard disk for that....

> # /etc/crontab - root's crontab for FreeBSD
> #
> # $FreeBSD: src/etc/crontab,v 1.32.32.1 2008/11/25 02:59:29 kensmith Exp $
> #
> SHELL=/bin/sh
> PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin
> HOME=/var/log
> #
> #minute hour    mday    month   wday    who     command
> #
> */5     *       *       *       *       root    /usr/libexec/atrun
> #
> # Save some entropy so that /dev/random can re-seed on boot.
> */11    *       *       *       *       operator /usr/libexec/save-entropy
> #
> # Rotate log files every hour, if necessary.
> 0       *       *       *       *       root    newsyslog
> #
> # Perform daily/weekly/monthly maintenance.
> 1       3       *       *       *       root    periodic daily
> 15      4       *       *       6       root    periodic weekly
> 30      5       1       *       *       root    periodic monthly
> #
> # Adjust the time zone if the CMOS clock keeps local time, as opposed to
> # UTC time.  See adjkerntz(8) for details.
> 1,31    0-5     *       *       *       root    adjkerntz -a
>
>
>
> --- On Wed, 4/29/09, Paul B. Mahol <onemda@gmail.com> wrote:
>
>> From: Paul B. Mahol <onemda@gmail.com>
>> Subject: Re: atacontrol spindown
>> To: aopopov@yahoo.com
>> Cc: freebsd-questions@freebsd.org, "Daniel C. Dowse" <dcdowse@gmx.net>
>> Date: Wednesday, April 29, 2009, 2:58 PM
>> On 4/29/09, Alexander Popov <aopopov@yahoo.com> wrote:
>> >
>> > Hi, Daniel,
>> >
>> > It must be periodic(8), but I have trouble identifying
>> what exactly could be
>> > the trigger. If I look at /etc/defaults/periodic.conf,
>> it has
>> > daily_clean_disks_enable="NO".
>> > With respect to daily checks, I just have the default
>> setup, nothing that I
>> > added myself.
>> >
>> > Are there any other configuration options that I
>> should look at?
>>
>> /etc/crontab
>>
>> --
>> Paul
>
>
>
>


-- 
Paul



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3a142e750904290617t4a18289xc1ed093cd9cfb485>