EXPORTS(5) EXPORTS(5) (NAME) exports - NFS (DESCRIPTION) /etc/exports NFS . NFS NFS . . (ACL) . exportfs(8) mountd(8) . exports SunOS . (export point) (mount) . . . ("-") . . . ("#") . . () . (octal) . exportfs -ra NFS . (Machine Name Formats) NFS : (single host) resolver (FQDN) IPv4 IPv6 . IPv6 /etc/exports [] . (IP networks) () IP . IP address/netmask (CIDR) . `/255.255.252.0' `/22' IPv4 . IPv6 . (Wildcard) IP DNS . (wildcards) * ? [] . exports *.cs.foo.edu cs.foo.edu . cs.foo.edu . (netgroups) NIS @group . . (-) . (anonymous) * ( wildcard ) . - . ( ) . RPCSEC_GSS "gss/krb5" "gss/krb5i" "gss/krb5p" rpcsec_gss . 2.6.23 "sec=" : sec= sec= (:) . sys ( -- ) krb5 ( ) krb5i ( ) krb5p ( ). : . sec= . sec= sec= . ro rw no_root_squash root_squash all_squash. (Transport layer security) NFS RPC-with-TLS (RFC 9289) RPC . NFS VPN ssh . RPC-with-TLS tlshd (handshake) . RPC-with-TLS . RPC-with-TLS . sec=sys . xprtsec= . : none . tls RPC-with-TLS ( ) . x.509 . mtls RPC-with-TLS . x.509 . RPC-with-TLS xprtsec= xprtsec=none:tls:mtls . . (General Options) exportfs : secure gss IPPORT_RESERVED (1024) . . insecure . (: ( 4.17) gss .) rw NFS . . ro . async NFS NFS ( ) . ( ) . sync ( async ). nfs-utils 1.0.0 async . 1.0.0 sync async . no_wdelay async . NFS . . NFS no_wdelay . wdelay . nohide IRIX NFS . . . "" (hidden) . nohide . NFS inode . nohide (single host) . . . NFSv2 NFSv3 hide . NFSv4 . NFSv4 . NFSv4 . crossmnt nohide crossmnt . "B" "A" crossmnt "A" "nohide" B . nohide . crossmnt . crossmnt fsid= . crossmnt . crossmnt . nocrossmnt crossmnt . . subtree_check . NFS ( ) ( ). subtree_check . "filehandle" . ( ). no_root_squash ( ) . . . ( /usr /var) . no_subtree_check . 1.1.0 nfs-utils subtree_check . 1.1.0 no_subtree_check . exports . exportfs . insecure_locks no_auth_nlm ( ) NFS ( NLM ) . NFS . . NFS NFS . . NLM auth_nlm secure_locks . mountpoint=path mp . ( mountpoint mp) (mount point) . . . ( mountpoint=/path mp=/path) . fsid=num|root|uuid NFS . UUID ( ) ( ) . UUID NFS . fsid= . NFSv4 . fsid=root fsid=0 . UUID . 2.6.20 UUID fsid . UUID . nordirplus READDIRPLUS . READDIRPLUS NFS NFS3ERR_NOTSUPP READDIR . NFSv3 . refer=path@host[+host][:path@host[+host]] . ( mount --bind /path /path .) NFSv4 . "refer=" . replicas=path@host[+host][:path@host[+host]] . ( .) pnfs NFSv4.1 pNFS pNFS . pNFS / (I/O) . no_pnfs . security_label NFSv4.2 ( SELinux) . . . reexport=auto-fsidnum|predefined-fsidnum - (re-export) NFS . NFS NFS fsid . crossmnt fsid . . fsid NFS . fsid SQLite . auto-fsidnum fsid . predefined-fsidnum fsid . 5.19 . reexport= fsid fsid . fsid SQLite . . predefined-fsidnum auto-fsidnum . (User ID Mapping) nfsd uid gid NFS RPC . . uid gid . . (root) NFS . uid 0 : nobody. ( <> ) no_root_squash . exportfs uid gid (squashed) . anonuid anongid . all_squash . : root_squash uid/gid 0 uid/gid . uid gid bin staff . no_root_squash (root squashing) . . all_squash uid gid . FTP NFS news spool . no_all_squash . anonuid anongid uid gid . PC/NFS . /home/joe uid 150 ( joe ). (Subdirectory Exports) . NFS : (filehandle) . . subtree_check . . security_label security_label sec= NFSv4 . . (Extra Export Tables) /etc/exports exportfs /etc/exports.d . .exports . . /etc/exports . (EXAMPLE) # sample /etc/exports file / master(rw) trusty(rw,no_root_squash) /projects proj*.local.domain(rw) /usr *.local.domain(ro) @trusted(rw) /home/joe pc001(rw,all_squash,anonuid=150,anongid=100) /pub *(ro,insecure,all_squash) /srv/www -sync,rw server @trusted @external(ro) /foo 2001:db8:9:e54::/64(rw) 192.0.2.0/24(rw) /build buildhost[0-9].local.domain(rw) master trusty . (uid squashing) trusty . ( `@trusted' ). PC/NFS . FTP nobody . insecure NFS NFS . - 'server' `@trusted' `@external' `sync' . IPv6 IPv4 . . (FILES) /etc/exports /etc/exports.d (SEE ALSO) exportfs(8), netgroup(5), mountd(8), nfsd(8), showmount(8), tlshd(8). nfs-utils EXPORTS(5)