Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
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.
In our company we are using NFS/Samba server to share the data between Linux/Windows Users. Clients use RedHat desktop edition or Mandriva OS to access the RHEL 4 Server.
I'm able to mount the files permanently from the Redhat client machines & its working fine.But when i mount the share data from from Mandriva machines its working fine only for the current session.If the Mandriva client machine is rebooted then the NFS shared data is not mounted automatically.If i give "mount -a" command then its working again.But it still lasts for that session.
vi /etc/fstab
172.148.1.10:/ic/dump /ic/dump nfs defaults 0 0
I don't want the Mandriva users to access the data through the samba method
Hi,
It seems like entry sequence issue. Is NFS entry is last in /etc/fstab. If not then make it last entry under /etc/fstab and try rebooting after that.
hi,
Thanks for your reply..But even after changing the nfs entry to the last line in /etc/fstab i'm still getting the same problem..Everytime i've to give "mount -a" to make the entries in fstab file to get mounted.
The startup scripts are calling mount -a before portmap and nfsd are loaded. Put a noauto flag in fstab, then at the end of /etc/rc.local put mount /ic/dump.
However, you won't be able to boot your computer if the NFS server is down. Consider looking at the automounter, which will only mount the share when you access it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.