How to copy/replicate files w/o changing the access time?

Hakan Koseoglu hakan at koseoglu.org
Tue Aug 30 13:49:23 UTC 2011


On 30 August 2011 14:08, Rhugga Harper <rhugga at gmail.com> wrote:
> I need to migrate terabytes of data from one NAS (NetAPP) to a new NAS
> (HNAS). We are also implementing an archive solution with the new NAS that
> will archive files that haven't been accessed in X amount of time. I can't
> seem to find a way to replicate the data w/o changing the access times on
> the destination copy. I've tried rsync and cpio and both end up modifying
> the destination copy's access time. I've even tried reading the source from
> a read-only snapshot.
Mount the file systems with noatime option to disable atime updates.
Otherwise you will get an update on atime since you have done an
access.

Mind you, disabling atime might cause interesting side effects.




More information about the redhat-list mailing list