Mount Fails With USE -NOLOCK Error After Instance Reboot
Symptom: 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/fstab file, so the
file system is automatically remounted after reboot.
- See To auto-mount a file system for instructions.
- Set the
rpcbind
andnfslock
services to start automatically on every reboot.- Use the following commands to start the
rpcbind
andnfslock
services:$service rpcbind start $service nfslock start
- Verify that the
rpcbind
andnfslock
services 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