NFS mounts fail during boot
This document (000020614) is provided subject to the disclaimer at the end of this document.
Environment
SUSE Linux Enterprise Server 15
Situation
Resolution
systemctl enable nfs.service
Upon the next reboot, chances are that the nfs mount will succeed.
Of course, other reasons for failure could exist, including improper configuration or syntax for the NFS Server machine's export or within the NFS client machine's /etc/fstab syntax.
Cause
Status
Additional Information
Many cases have been seen where "remote-fs.target" would not successfully mount NFS shares, but nfs.service (nfs-client.target) would. Administrators should enable nfs.service if there are NFS mounts listed in /etc/fstab. Even if there are none in /etc/fstab, it may be best to enable nfs.service if other services or processes (such as autofs or manual mount commands) will be performing NFS mounts after boot.
There is no need to disable remote-fs.target. Simply enable nfs.service as well.
Disclaimer
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:000020614
- Creation Date: 15-Mar-2022
- Modified Date:15-Mar-2022
-
- SUSE Linux Enterprise Server
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com