/etc/fstab

 

192.168.0.2:/mount      /mount      nfs      defaults    0 0

 

위와 같이 fstab 에 마운트 정보를 입력하고 mount -a 를 했더니...

mount.nfs: rpc.statd is not running but is required for remote locking.
mount.nfs: Either use '-o nolock' to keep locks local, or start statd.
mount.nfs: an incorrect mount option was specified
mount.nfs: rpc.statd is not running but is required for remote locking.
mount.nfs: Either use '-o nolock' to keep locks local, or start statd.
mount.nfs: an incorrect mount option was specified

위와 같이 에러메세지가 나온다.

 

해결방법으로는

 

192.168.0.2:/mount      /mount      nfs      rw,nolock    0 0

 

위 처럼 fstab 정보를 변경해주던가.......

 

/etc/hosts.allow 에

 

ALL:127.0.0.1 을 입력해주면 정상적으로 마운트 된다.

반응형
Posted by 미니도라
,