Dell EMC Unity:NFSv4 匯出 - setfacl:不支援操作 (可由使用者更正)

Resumen: 無法在 Unity NFSv4 匯出時執行 setfacl。

Este artículo se aplica a: Este artículo no se aplica a: Este artículo no está vinculado a ningún producto específico. En este artículo no se identifican todas las versiones de los productos.

Síntomas

當嘗試在 Linux 主機上針對掛接式 Unity NFSv4 匯出中的檔案或目錄發出 setfacl 命令時,命令失敗:
[root@hostname xyz]# setfacl -m g:mygroup:r-x testfile
setfacl: testfile: Operation not supported



Causa

setfacl 無法搭配 NFSv4 運作。

Resolución

您需要在 NFSv4 固定架上使用 nfs4-getfacl / nfs4-setfacl 命令。setfacl 無法與 NFSv4 搭配使用。

若要提供這些命令,必須安裝套件「nfs4-acl-tools package」。

Debian 型 Distros (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]#

Productos afectados

Dell EMC Unity, VNX/VNXe
Propiedades del artículo
Número de artículo: 000196295
Tipo de artículo: Solution
Última modificación: 02 dic 2022
Versión:  3
Encuentra las respuestas que necesitas con la ayuda de otros usuarios de Dell
Servicios de asistencia
Comprueba si tu dispositivo está cubierto por los servicios de asistencia.