跳转到主内容

由于目录不为空,无法删除空目录

Views:
129
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
core
Last Updated:

适用场景

  • ONTAP 9
  • NFS

问题描述

  • 无法删除从 NFS 客户端看到的空目录,并显示以下错误: directory not empty
rm: cannot remove ‘/mnt/nfs/dir1/dir2’: Directory not empty
  • ls -la Linux 客户端上运行,该目录中不存在任何文件。
  • strace rm -rf dirLinux 客户端上运行,输出也包含 Directory not empty 错误。

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.