Mount Fails With USE -NOLOCK Error After Instance Reboot
Cannot re-mount a file system after rebooting the instance. Manual re-mount fails with use -nolock error.
Cause: The NFS client services aren't running on the instance.
More Information: The rpcbind and nfslock
services don't automatically start at reboot by default.
Solution:
- Add the file system to the instance
/etc/fstabfile, so the file system is automatically remounted after reboot.- See To auto-mount a file system for instructions.
- Set the
rpcbindandnfslockservices to start automatically on every reboot.- Use the following commands to start the
rpcbindandnfslockservices:$service rpcbind start $service nfslock start - Verify that the
rpcbindandnfslockservices are running:$service rpcbind status $service nfslock status - Enable the services to start automatically at
reboot:
$chkconfig rpcbind on $chkconfig nfslock on
- Use the following commands to start the