sirbruce <sirbruce(a)ix.netcom.com> writes:
> If your netapp is really drifting that much during the day, like a
> minute or more, then I suspect something is wrong with your netapp
> that needs to be address.
I'm "only" talking about 2 or 3 seconds, the example I sent was a one
second drift. It's not bad hardware or software, but it is a problem.
Some programs check timestamps, people have had "make" problems due to
file modification times in the future, stat(1) fails if it thinks time
is going backwards, etc.
> (Note: It could drift farther during RAID scrubs than a minute. If
> your schedule your RAID scrub rarely and rdate after it, there should
> be no problems).
That problem only affects our F330. To compensate, I rdate it every
five minutes after the scrub begins. (It was drifting up to 5 minutes
off of the correct time, it is down to about 45 seconds now). I also
found that turning down the reconstruct speed will help reduce the rate
of clock skew during scrubs.
> I would normally run rdate every, say, 15 to 20 minutes, and I would
> simply offset the times so it didn't run at the 0, 15, 30, or 45
> minutes after (which is when a cron job would normally be scheduled).
0, 15, 30, and 45 are typical for Data ONTAP cron jobs? That's the info
I wanted, thanks.
> [rdate] works as well as NTP for the granularity most people desire.
> I suspect in your environment, your needs are different, but don't tar
> and feather rdate for that. :)
Yes, rdate has its uses. Well, at least until 2038 it does. It's
simple enough for me to completely understand it, which I like.
Unfortunately, whenever you set the time with rdate, even under the
theoretically ideal conditions, the time can easily be incorrect by as
much as one second. Jumping the clock when using rdate? Again, under
theoretically ideal conditions, it can jump as much as one second. Real
life is much worse, of course.
NTP can give you sub-millisecond accuracy on a LAN.
- Dan