メインコンテンツまでスキップ

NetApp wins prestigious Coveo Relevance Pinnacle Award. Learn more!

INSIGHT Japan :2023年 1月25日(水)ANAインターコンチネンタルホテル開催 へ参加・申込を行う

LastAccessDateをファイルに設定できません

Views:
2
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
cifs<a>2009292415</a>
Last Updated:

環境

ONTAP 9

問題

  • SnapLock以外のボリュームでLastAccessDateを設定すると、ONTAP.10.1以降でエラーが発生します(ONTAP 9.11で同じエラーが表示されることがあります)。
  • 以前(ONTAP 9.9.1以前)にはエラーは発生しませんでしたが、2038年1月19日3:14:07 AMに通知なしで日付が設定されます
  • ONTAP 9.9.1とONTAP 9.10.1での動作の例を以下に示します。

==================================================================
ONTAP 9.9.1:
==================================================================
PS C:\Users\Administrator.DEMO> (Get-Item "Z:\test1.txt").LastAccessTime

Tuesday, September 20, 2022 9:10:00 AM

PS C:\Users\Administrator.DEMO> (Get-Item "Z:\test1.txt").LastAccessTime=("3 August 2222 17:10:00")
PS C:\Users\Administrator.DEMO> (Get-Item "Z:\test1.txt").LastAccessTime

Tuesday, January 19, 2038 3:14:07 AM
==================================================================


==================================================================
ONTAP 9.10.1: 
==================================================================
PS Z:\> (Get-Item "Z:\test1.txt").LastAccessTime
Tuesday, September 20, 2022 8:32:58 AM

PS Z:\> (Get-Item "Z:\test1.txt").LastAccessTime=("3 August 2222 17:10:00")
Exception setting "LastAccessTime": "A device attached to the system is not functioning.
"
At line:1 char:1
+ (Get-Item "Z:\test1.txt").LastAccessTime=("3 August 2222 17:10:00")
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [], SetValueInvocationException
+ FullyQualifiedErrorId : ExceptionWhenSetting

PS Z:\> (Get-Item "Z:\test1.txt").LastAccessTime

Tuesday, September 20, 2022 8:32:58 AM
==================================================================

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

Scan to view the article on your device