NFS - unknown partitions problem in Ubuntu 12.04 Lucid Lynx
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Mounted the share /prod/apps/tomcat as first entry in fstab and then /prod/apps , /prod.While server rebooted Since /prod/apps/tomcat is being a first entry in fstab fails to load,Since it missed /prod/apps & /prod.How can i scan such parameter.
How can i define the linux to mount as / first , /prod second . /prod/apps third, /prod/apps/tomcat fourth.Even fstab mounting order is wrong
The file you need to edit for nfs is /etc/exports. Not knowing exactly what you are trying to do, the only thing I could suggest is to use the Search function on the upper right of this page for nfs, /etc/exports file as there are numerous threads on nfs.
If it isn't mounting properly, then systemd is screwing up again.
You can try adding the option "_netdev" (as in "defaults,_netdev") to see if that helps. It is supposed to tell systemd that the mount requires the network to be functional before it attempts to mount. The problem is that systemd has poor information as to whether the network IS functional.
It assumes it is ready when NetworkManager starts... unless there is also "NetworkManager-wait-online.service" is also enabled... but then it depends on NetworkManager to know when the network is ready... and if the network depends on DHCP, that also may be incorrect.
systemd is over designed, and somewhat stupid at the same time.
And very poor at handling complex networks with more than one interface (I had to give up on it entirely because it would screw up the default route depending on which interface it brings up first).
The /etc/exports file will be on the server serving out these shares. Note also that you can only mount those which are being explicitly exported; you can't just specify sub-paths just because you want a separate mount of each one.
IOW, check with the server and match them.
Also, for debugging purposes, use the noauto option on the client in fstab and mount them manually.
I have not given more information at previous post .Adding some more info
Nas Server -Reboot 00:00:00
Nfs client -Reboot 00:00:00
Nas1 :Bringed up at 00:10:00 /prod/apps/tomcat -->Nas1
Nas2 :Bringed up at 00:11:00 /prod/apps --> Nas2
Nas3 :Bringed up at 00:12:00 /prod -->Nas3 .Since Nas3 up at 00:12 .Due to Nas2 & Nas1 mounting fails since it could not found nas1 mounting /prod mounted take place
We have maintanence take place on all server on every month 00:00:00.At these period we rebooting Nas Server & nfs client.Due to nfs client fails to loads due to Nas Server takes some more time to get turned on .
I'm looking for failover attempt to be taken for these mounting in fstab.I tried of using defaults_netdev.But no success at all.
nas1:/prod/apps/tomcat /prod/apps/tomcat nfs defaults,_netdev 0 0 --->whether there is options like Sleep (or) failover time attempt which i can mentioned over in fstab .