Q: Failed to get the file attribute using nfs4_getfacl command from the client?


최신 업데이트일: 2022-06-24

Q: Failed to get the file attribute using nfs4_getfacl command from the client?

 

Scenario: When I tried to get the file attribute from the NAS via NFS using nfs4_getfacl command, 
it failed and showed the error message, “Operation to request attribute not supported”. 

root@tsd:/mnt/public# nfs4_getfacl testfile

Operation to request attribute not supported.


A: Most likely it is because you did not mount the NAS shared folder using NFS v4. You can type mount command to check it.
Eg: 

root@tsd:/mnt/public# mount

10.64.72.30:/share/Public on /mnt/public type nfs (rw,relatime,vers=3,rsize=262144,wsize=262144,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,mountaddr=10.64.72.30,mountvers=3,mountport=30000,mountproto=udp,local_lock=none,addr=10.64.72.30).

If the type is not “nfs4”, please re-mount the NAS shared folder using NFS v4 and try it again. 
Eg:

   root@tsd:/# mount.nfs4 10.64.72.30:/Public /mnt/public

         or

   root@tsd:/# mount -t nfs4 10.64.72.30:/Public /mnt/public

이 기사가 도움이 되었습니까?

38% 의 사용자들이 도움이 된다고 생각할 것입니다.
피드백을 주셔서 감사드립니다.

이 기사가 어떻게 개선될 수 있을지 말해 주십시오.

추가 피드백을 제공하려면 아래에 포함하십시오.

사양 선택

      더 보기 적게 보기

      다른 국가/지역 사이트:

      open menu
      back to top