time stamp oddity

From: Backhouse, Mark <Mark.Backhouse_at_EXCHA.YHS-TR.NORTHY.NHS.UK>
Date: Tue, 03 Apr 2001 09:25:52 +0100

Dear All,

Got a wierdity to do with timestamps. I have a script that checks the
timestamp on an NFS mounted directory every 5 minutes and if it hasn't
changed after 15 minutes ( 3 checks ) it sends me an email. It expects the
timestamp on the directory to include the time, so that when a file is put
into the directory or one is taken out the time is updated and the script
resets the counter to zero. BUT, since the timechange to BST the timestamp
on the file is:

drwxrwxr-x 4 201 daemon 1536 Apr 3 2001 /apps/gplinks

ie not showing the time, which is causing havoc with my script, ie the
timestamp on the file doesn't change for 24 hours! When I unmount the nfs
mount the dir then shows the correct timestamp.

I have tried touching the directory from my end and from the server that is
nfs dir is resident. The touch at the other end works but doesn't make any
difference, and the touch from this end gives the following error:

CLOCK:root>touch /apps/gplinks
touch: cannot change times on /apps/gplinks

The server that is offering the directory to be nfs mounted is an IBM rs6000
running AIX 4.3 and the server that has the directory nfs mounted is an
Compaq Alpha 1200 running Tru64 Unix v4.0F PK4. The times on the two servers
are as follows:

rs6000: 09:20:00
Alpha 1200: 09:22:45

Actually thinking about it, this started happening when the support company
dialled in and changed the time on the AIX box at about 10am. Just to
explain that one we don't support the AIX box, the support company that
supports the application running on it supports the OS. Its a long story!

Any ideas will be gratefully received.

Thanks in advance.

Mark

-----------------------------------------------------
Mark C Backhouse
Unix Systems Server Manager
Systems & Network Services
York Health Services NHS Trust
mailto:Mark.Backhouse_at_excha.yhs-tr.northy.nhs.uk
Received on Tue Apr 03 2001 - 12:31:11 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:42 NZDT