メインコンテンツまでスキップ

NFS を使用してファイルをコピーし、 0 バイトのサイズでファイルを作成します。エラー:操作は許可されません

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

環境

  • ONTAP 9
  • NFS
  • NTFS セキュリティ形式のボリューム

問題

  • NFSを使用してファイルをコピーすると、サイズが0バイトの空のファイルが作成され 、次のように表示されます。operation not permitted
  • 2回目に処理を実行すると成功する

例:

$ cp file1.txt file2.txt
cp: cannot create regular file `file2.txt': Operation not permitted

$ ls -l total 736
-rwxrwxrwx 1 user group 0 Jul 10 16:10 TestFile.txt
-rwxrwxrwx 1 user group 9 Jul 13 14:48 file1.txt
-rwxrwxrwx 1 user group 0 Jul 13 14:48 file2.txt <<
$ cat file2.txt
$
$ cp file1.txt file2.txt
$ cat file2.txt
New File
$
$ ls -l
-rwxrwxrwx 1 user group 0 Jul 10 16:10 TestFile.txt
-rwxrwxrwx 1 user group 9 Jul 13 14:48 file1.txt
-rwxrwxrwx 1 user group 9 Jul 13 14:50 file2.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.