Dell EMC Unity: Exportación de NFSv4: configuración: Operación no compatible (corregible por el usuario)

摘要: No se puede ejecutar setfacl en la exportación de NFSv4 de Unity.

本文章適用於 本文章不適用於 本文無關於任何特定產品。 本文未識別所有產品版本。

症狀

Cuando se intenta emitir un comando setfacl en un host de Linux contra un archivo o directorio en una exportación de NFSv4 montada de Unity, el comando falla:
[root@hostname xyz]# setfacl -m g:mygroup:r-x testfile
setfacl: testfile: Operation not supported



原因

setfacl no funciona con NFSv4.

解析度

Debe usar los comandos nfs4-getfacl/nfs4-setfacl en el montaje de NFSv4. El setfacl no funciona con NFSv4.

Para que estos comandos estén disponibles, se requiere la instalación del paquete "paquete nfs4-acl-tools".

Ejemplo para distribuciones basadas en Debian ( Debian, Ubuntu, 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 使用者尋求您問題的答案
支援服務
檢查您的裝置是否在支援服務的涵蓋範圍內。