Skip to main content
NetApp Knowledge Base

cp with reflink over NFSv4 2 fails Operation not supported

Views:
11
Visibility:
Public
Votes:
0
Category:
not set
Specialty:
not set
Last Updated:

Applies to

  • ONTAP 9
  • NFSv4.2

Issue

  • When attempting to perform a cp operation using the --reflink=always option over NFSv4.2, the following error is returned:

[root@localhost endor]# cp --reflink=always myself.txt myself2.txt
cp: failed to clone 'myself2.txt' from 'myself.txt': Operation not supported

 

  • Despite the error, the destination file is still created:

[root@localhost endor]# ls -la
total 88
drwxrwxrwx 3 root root 4096 Jul 24 16:59 .
drwxr-xr-x 12 root root 4096 Dec 6 2024 ..
drwxr-xr-x+ 2 root root 4096 Dec 10 2024 aclpreserve
-rw-r--r-- 1 root root 0 Jul 24 16:59 myself2.txt
-rw-r--r-- 1 1002 65533 0 Nov 15 2024 myself.txt

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.