That works.

 

’touch test100’

 

Feb 3 14:16 test100

 

‘cp test100 test101’

 

Feb 3 14:16 test100

Apr 21 2027 test101

 

‘touch –r test100 test101’

 

Feb 3 14:16 test100

Feb 3 14:16 test101

 

/Andreas

 

 

That’s a cool one. :)

 

What if you use the "random date" file as a time reference to touch another file (like, 'touch -r file02 file03’)?

 

-- 
Stephen

 

On Feb 3, 2017, at 7:46 AM, Andreas Mattsson <andreas.mattsson@maxiv.lu.se> wrote:

 

I’m having some really strange timestamp behaviour when doing file operations on NFS mounts shared via CES on spectrum scale 4.2.1.1

The NFS clients are up to date Centos and Debian machines.

All Scale servers and NFS clients have correct date and time via NTP.

 

Creating a file, for instance ‘touch file00’, gives correct timestamp.

Moving the file, ‘mv file00 file01’, gives correct timestamp

Copying the file, ‘cp file01 file02’, gives a random timestamp anywhere in time, for instance Oct 12 2095 or Feb 29 1976 or something similar.

 

This is only via NFS. Copying the file via a native gpfs-mount or via SMB gives a correct timestamp.

Doing the same operation over NFS to other NFS-servers works correct, it is only when operating on the NFS-share from the Spectrum Scale CES the issue occurs.

 

Have anyone seen this before?

 

Regards,

Andreas Mattsson

_____________________________________________

<image001.png>
 
Andreas Mattsson
Systems Engineer

 

MAX IV Laboratory
Lund University
P.O. Box 118, SE-221 00 Lund, Sweden
Visiting address: Fotongatan 2, 225 94 Lund
Mobile: +46 706 64 95 44
andreas.mattsson@maxiv.se
www.maxiv.se

 

_______________________________________________
gpfsug-discuss mailing list
gpfsug-discuss at 
spectrumscale.org
http://gpfsug.org/mailman/listinfo/gpfsug-discuss