メインコンテンツへスキップ

ファイルの編集中にストレージ時間が変わった場合はどうなりますか?

Views:
1
Visibility:
Public
Votes:
0
Category:
fas-systems
Specialty:
core
Last Updated:

環境

  • ONTAP 9
  • NFS

回答

  • その後の編集と保存作業は問題なく行われます。
  • ファイルが保存されると、 新しい保存時間が適用されます。
例 
 
[root@linux mnt]# stat f1
  File: ‘f1’
  Size: 39        Blocks: 0      IO Block: 65536  regular file
Device: 5eh/94d Inode: 12391    Links: 1
Access: (0644/-rw-r--r--)  Uid: (  99/  nobody)  Gid: (  99/  nobody)
Access: 2024-03-26 00:20:31.536752000 +0000
Modify: 2024-03-26 00:20:31.536757000 +0000
Change: 2024-03-26 00:20:31.536760000 +0000
Birth: -

[root@linux mnt]# vi f1

cluster1::*> date
Node    Date           Time zone
--------- ------------------------ -------------------------
cluster1-01
      Tue Mar 26 00:27:10 2024 Etc/UTC
cluster1-02
      Tue Mar 26 00:27:10 2024 Etc/UTC
2 entries were displayed.
 
cluster1::*> cluster date modify -node * -dateandtime 202403260010.00
 
cluster1::*> date
Node    Date           Time zone
--------- ------------------------ -------------------------
cluster1-01
      Tue Mar 26 00:10:02 2024 Etc/UTC
cluster1-02
      Tue Mar 26 00:10:02 2024 Etc/UTC
2 entries were displayed.
 
ファイルを保存し、 「vi」が存在します。
 
[root@linux mnt]# stat f1
  File: ‘f1’
  Size: 57        Blocks: 0      IO Block: 65536  regular file
Device: 5eh/94d Inode: 12393    Links: 1
Access: (0644/-rw-r--r--)  Uid: (  99/  nobody)  Gid: (  99/  nobody)
Access: 2024-03-26 00:10:08.813645000 +0000
Modify: 2024-03-26 00:10:08.813655000 +0000
Change: 2024-03-26 00:10:08.813666000 +0000
Birth: -

 

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.