Dell EMC Unity : Exportation NFSv4 - setfacl: Opération non prise en charge (corrigible par l’utilisateur)

概要: Impossible d’exécuter setfacl sur l’exportation Unity NFSv4.

この記事は次に適用されます: この記事は次には適用されません: この記事は、特定の製品に関連付けられていません。 すべての製品パージョンがこの記事に記載されているわけではありません。

現象

Lorsque vous tentez d’émettre une commande setfacl sur un hôte Linux sur un fichier ou un répertoire dans une exportation NFSv4 Unity montée, la commande échoue:
[root@hostname xyz]# setfacl -m g:mygroup:r-x testfile
setfacl: testfile: Operation not supported



原因

setfacl ne fonctionne pas avec NFSv4.

解決方法

Vous devez utiliser les commandes nfs4-getfacl / nfs4-setfacl sur le montage NFSv4. Le setfacl ne fonctionne pas avec NFSv4.

Pour rendre ces commandes disponibles, l’installation du package « nfs4-acl-tools package » est requise.

Exemple pour les distributions basées sur Debian ( Debian, Ubuntu, Linux Linux Linux, etc.):
[root@hostname xyz]#apt-get install nfs4-acl-tools
[root@hostname xyz]#

[root@hostname xyz]#mount
192.168.1.14:/Test on /tmp/nfs type nfs4 (rw,relatime,vers=4.1,rsize=65536,wsize=65536,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,clientaddr=192.168.1.15,local_lock=none,addr=192.168.1.14)
[root@hostname xyz]#

 [root@hostname xyz]#nfs4_setfacl -R -a A:g:10001:rW /tmp/nfs

 [root@hostname xyz]#nfs4_getfacl /tmp/nfs
A:g:10001:rwaDtTNcCy
A:g:10001:rwaDtTNcCy
A:g:10001:rwaDtTNcCy
A::OWNER@:rwaDxtTnNcCy
A:g:GROUP@:rxtncy
A::EVERYONE@:rxtncy
 [root@hostname xyz]#

対象製品

Dell EMC Unity, VNX/VNXe
文書のプロパティ
文書番号: 000196295
文書の種類: Solution
最終更新: 02 12月 2022
バージョン:  3
質問に対する他のDellユーザーからの回答を見つける
サポート サービス
お使いのデバイスがサポート サービスの対象かどうかを確認してください。