Skip to main content
NetApp Knowledge Base

SnapLock deletion of expired file in NFS share failed

Views:
216
Visibility:
Public
Votes:
0
Category:
snaplock
Specialty:
dp
Last Updated:

Applies to

  • ONTAP 9
  • SnapLock
  • NFS share

Issue

  • Delete via NFS failed:
User123@Host123 /path $ rm File.zip
rm: remove write-protected regular file 'RQ-LM2-CI.zip'? y
rm: cannot remove 'RQ-LM2-CI.zip': Read-only file system
  • File is Expired, the access time is in the past:
user123@host123 /path $ stat file.zip
File: file.zip
Size: 567             Blocks: 8          IO Block: 65536  regular file
Device: 37h/55d Inode: 1938752797  Links: 1
Access: (0660/-rw-rw----)  Uid: (12345/user123)   Gid: (1229/ Group)
Context: system_u:object_r:nfs_t:s0
Access: 2021-12-10 09:23:52.000000000 +0100
Modify: 2019-12-10 09:23:53.000000000 +0100
Change: 2019-12-10 09:23:44.000000000 +0100

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.
  • Was this article helpful?