Distributed file system time error correction method and system

The invention relates to a distributed file system time error correction method and system. The distributed file system time error correction method comprises step A, arbitrarily assigning a node in nodes of a distributed file system to be served as a time node and correcting the time of other nodes with the time of the time node serving as the standard time and step B, enabling two nodes to mutually switch respective system time in relative operation on data which are mutually concerned with time attributes between the two time nodes and correcting respective time through comparison with the time node if the time error of the time nodes exceeds a threshold value. The distributed file system time error correction method solves the problem that a certain node in the distributed file system is large in time error under an extreme condition.