Having the correct time is a prerequisite for file system logging

The integrity of any file system depends on the names and dates of the files, including information on the date of creation, last access, last archive and last modification. In a distributed file sharing system, a master file is kept by an NFS (Network File System) server, for use by remote clients.

Synchronizing an accurate and identical time for file system logging

The importance of time on an NFS server

The integrity of any file system depends on the names and dates of the files, including information on the date of creation, last access, last archive and last modification.

In a distributed file sharing system, a master file is kept by an NFS (Network File System) server, for use by remote clients.

NFS depends on the network time: when it handles duplicate files, it saves the last copy. However, if a client timestamps a remotely accessible file with a time prior to the time of the file stored on the server, the client file, along with any changes, will be deleted.

The problem is not unfrequent: many programs rely on timestamps on the client side, this is for instance the case of Make, mail clients, and many other programs. The problem can be fixed by client-controlled timestamps but this approach is not acceptable when several non synchronized clients are working on shared files.

It is therefore necessary to have the same reference time at every point of your system.

Guaranteeing reliable and precise timestamping for the analysis of all computer processing

Analysis of log files and log reports

The log files of your servers and the logs on your hardware allow you to evaluate the activities on your infrastructure. Because the (log) reports are a compilation of information from different devices, a precise timestamp is essential for a precise analysis in the event of a malfunction.

Similarly, system error messages rely on network time synchronisation for accurate time stamps to give sense to the data.

It is often only when a problem arises that organisations become aware of the importance of time synchronization (either as a contributing factor to the problem itself or as a tool with which to diagnose the problem).

Having a time server (either based on NTP or PTP protocol) allows for accurate time stamping and the correct time information everywhere in your infrastructure. This ensures that your logging system works properly and that you have reliable elements in your log files to analyse and correlate events with each other in the event of an investigation.

Similar blog

How to optimise the operation and safety in an industrial site?

Within a production line, the different workstations are increasingly being automated to enhance the profitability and productivity of a company. Therefore, employees must follow a specific sequence of steps, while observing their working hours, all in complete safety.

Comparative analysis of oscillators: MEMS vs TCXO vs OCXO vs RUBIDIUM

Oscillators are essential components for time synchronisation mechanisms. Indeed, they mark the passage of time and ensure the quality of clocks in a system. The more accurate the oscillator, the less the clock will drift over time. However, there is not one type of oscillator suitable for all applications.

The main principles of network time synchronisation

Nowadays, it is rare to find an application involving a single machine. Most of the tasks carried out involve communication between several equipment. When machines need to communicate with each other, it is important that their clocks are synchronised so that they can agree on the order and duration of events.