NFS mount


[Server]

#vi /etc/exports

/backup2/movs    172.168.120.60(rw, sync, no_root_squash)
{source directory path}      {client IP}({privileges})

#/etc/init.d/nfs     reload
#/etc/init.d/portmap     reload


[Client]

mount -t nfs {server IP}:/{source directory path} {destination directory path}


[Unmount NFS]

unmount {directory}              @Client Side.

mount.nfs: rpc.statd is not running but is required for remote locking


이런 에러가 뜨는 경우..

아래와 같이 확인해보면 rpcbind가 stop 되어있다고 한다.
# service rpcbind status
rpcbind is stopped

start 시켜준 후, 다시 마운트를 해보면 잘 된다.
# service rpcbind start

댓글