当SMB客户端尝试将时间戳设置为2038年1月19日以上时、ONTAP 会将文件的mtime设置为2038年1月19日
适用场景
- ONTAP 9
- CIFS
问题描述
- 当CIFS客户端或在将文件复制到ONTAP 期间的任何应用程序尝试将文件的mtime设置为2038年1月19日之后时、文件上设置的修改时间默认为2038年1月19日
- 我们可以看到、文件时间戳设置为2073年8月12日(当此文件是Windows客户端的本地驱动器时)
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
- 将此文件复制到ONTAP CIFS共享后、修改时间将设置为2038年1月19日
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