「Dell EMC Unity:NFSv4エクスポート - setfacl: 操作はサポートされていません(ユーザー修正可能)

Résumé: Unity NFSv4エクスポートでsetfaclを実行できません。

Cet article concerne Cet article ne concerne pas Cet article n’est associé à aucun produit spécifique. Toutes les versions du produit ne sont pas identifiées dans cet article.

Symptômes

マウントされたUnity NFSv4エクスポートのファイルまたはディレクトリに対してLinuxホストでsetfaclコマンドを発行しようとすると、次のコマンドが失敗します。
[root@hostname xyz]# setfacl -m g:mygroup:r-x testfile
setfacl: testfile: Operation not supported



Cause

setfaclはNFSv4では機能しません。

Résolution

NFSv4マウントでnfs4-getfacl/nfs4-setfaclコマンドを使用する必要があります。setfaclはNFSv4では機能しません。

これらのコマンドを使用可能にするには、パッケージ「nfs4-acl-tools package」のインストールが必要です。

Debianベースのディストリビューション(Debian、Ubuntu、Linux Linux Linuxなど)の例:
[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]#

Produits concernés

Dell EMC Unity, VNX/VNXe
Propriétés de l’article
Numéro d’article: 000196295
Type d’article: Solution
Dernière modification: 02 déc. 2022
Version:  3
Trouvez des réponses à vos questions auprès d’autres utilisateurs Dell
Services de support
Vérifiez si votre appareil est couvert par les services de support.