ONTAP sets the mtime of the file to 19 Jan 2038 when SMB client try to set timestamp beyond 19 Jan 2038
Applies to
- ONTAP 9
- CIFS
Issue
- When a CIFS client or any application during copy of a file to ONTAP tries to set mtime of the file beyond 19 Jan 2038 the modify time set on the file is defaulted to 19 Jan 2038
- We can see below the file timestamp is set to 12 Aug 2073 ( when this file is local drive of Windows client )
C:\Users\administrator.NASLAB\Downloads>dir
Volume in drive C has no label.
Volume Serial Number is 2CCE-CDD9
Directory of C:\Users\administrator.NASLAB\Downloads
12-08-2073 10:40 <DIR> .
12-08-2073 10:40 <DIR> ..
12-08-2073 10:40 0 test_date.txt <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
16-03-2023 10:36 78,751,312 Wireshark-win64-4.0.4.exe
- After this file is copied to ONTAP CIFS share the time modified is set to 19 Jan 2038
Z:\>dir Volume in drive Z is vol1 Volume Serial Number is 80FF-DBD8
Directory of Z:\
16-03-2023 10:38 <DIR> .
16-03-2023 10:38 <DIR> ..
23-01-2023 17:50 40 sample.txt
19-01-2038 08:44 0 test_date.txt <<<<<<<< max data it can set is only 19-01-2038