RE: [SLE] place for final commands -- nfs mounts
Hello,
I have an issue where after a reboot the nfs mounts aren't mounted even though they are supposed to be permanent. To get around that I want to execute the mount command after everything is loaded during boot up, but before the login prompt. I tried boot.local, but that didn't work. Any ideas?
What's in /etc/fstab ?
alpha:/data/home /home nfs suid,dev,exec 0 0
Try adding "auto" to the options or replacing all the options with "default".
Hello James,
Tried both and the nfs mounts are not mounted after a reboot. However, immediately after logging in a "mount -a" mounts all the nfs mounts. There must be a place other than "boot.local" to put a command that will mount the nfs mounts.
Maybe the issue is the sequence that init.d commands are initiated. Is there a way to make nfs run last?
Is NFS enabled in the run level editor?
Thank you, James. Enabled NFS in the Run Level editor with Yast and everything mounts perfectly. By the way, if you need to make the change without using Yast, what script would you modify? Thank you again for all of your help. Best Regards, James
James D. Parra wrote:
Thank you, James. Enabled NFS in the Run Level editor with Yast and everything mounts perfectly.
By the way, if you need to make the change without using Yast, what script would you modify?
Thank you again for all of your help.
The run level editor doesn't modify scripts. It creates links from the various services in /etc/init.d to the various rcx.d directorys, which are used to start and stop the services, when the run levels change. For example, if you look in /etc/init.d/rc5.d, you'll see a link such as S10nfs, which points to /etc/init.d/nfs.
participants (2)
-
James D. Parra
-
James Knott