跳转到主内容

使用 VI 创建文件会导致交换文件警告

Views:
5
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
nas
Last Updated:

适用场景

  • ONTAP 9
  • NFS
  • NTFS 安全模式
  • Linux 客户端

问题描述

使用 VI 创建文件会导致交换文件警告

E325: ATTENTION
Found a swap file by the name ".fileName.swp"
owned by: root
dated: Tue Jul 20 11:20:15 2021
[cannot be read]
While opening file "testeo"
dated: Tue Jul 20 11:20:24 2021
NEWER than swap
file!
(1) Another program may be editing the same file.  If this is the case,
   be careful not to end up with two different
instances of the same
   file when making changes.  Quit, or continue with caution.
(2) An edit session for this file crashed.

If this is the case, use ":recover" or "vim -r fileName"
   to recover the changes (see ":help recovery").
   If you did this
already, delete the swap file ".testeo.swp"
   to avoid this message.
Swap file ".fileName.swp" already exists!
[O]pen Read-Only,
(E)dit anyway, (R)ecover, (D)elete it, (Q)uit, (A)bort: E

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

New to NetApp?

Learn more about our award-winning Support

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.