Dell EMC Unity:NFSv4 导出 — setfacl:不支持操作(用户可更正)

Summary: 无法在 Unity NFSv4 导出上运行 setfacl。

Acest articol se aplică pentru Acest articol nu se aplică pentru Acest articol nu este legat de un produs specific. Acest articol nu acoperă toate versiunile de produs existente.

Symptoms

尝试针对已装载的 Unity NFSv4 导出中的文件或目录在 Linux 主机上发出 setfacl 命令时,该命令失败:
[root@hostname xyz]# setfacl -m g:mygroup:r-x testfile
setfacl: testfile: Operation not supported



Cause

setfacl 不适用于 NFSv4。

Resolution

您需要在 NFSv4 装载上使用 nfs4-getfacl / nfs4-setfacl 命令。setfacl 不适用于 NFSv4。

要使这些命令可用,需要安装程序包“nfs4-acl-tools package”。

基于 Debian 的发行版(Debian、Ubuntu、Linux Mint 等)的示例:
[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]#

Produse afectate

Dell EMC Unity, VNX/VNXe
Proprietăți articol
Article Number: 000196295
Article Type: Solution
Ultima modificare: 13 mai 2026
Version:  4
Găsiți răspunsuri la întrebările dvs. de la alți utilizatori Dell
Servicii de asistență
Verificați dacă dispozitivul dvs. este acoperit de serviciile de asistență.