Skip to main content
NetApp Knowledge Base

File creation using VI results in a swap file warning

Views:
1,066
Visibility:
Public
Votes:
1
Category:
ontap-9
Specialty:
nas
Last Updated:

Applies to

  • ONTAP 9
  • NFS
  • NTFS security style
  • Linux clients

Issue

File creation using VI results in a swap file warning

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.