showmount -e localhost가 비어 있습니까?

showmount -e localhost가 비어 있습니까?

NFS를 사용하여 LDAP를 구성하고 싶습니다. 파일을 만들었습니다 /etc/exports.

/data    -rw    *(rw,no_root_squash)

이 명령을 실행할 때:

showmount -e localhost

나는 아무것도 얻지 못했습니다.

showmount인식이 안되나요 /data?

답변1

변경한 후에는 다음을 수행해야 합니다.파일 시스템 내보내기함으로써

exportfs -a

관련 정보