LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   How to automount the nfs share in Mandriva 2007.1 (https://www.linuxquestions.org/questions/linux-server-73/how-to-automount-the-nfs-share-in-mandriva-2007-1-a-585503/)

deepugopi 09-18-2007 05:30 AM

How to automount the nfs share in Mandriva 2007.1
 
Hi,

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


Please help me in this..

Thanks & Regards,
Deepu G.

dhruvypatel 09-18-2007 11:44 PM

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.

deepugopi 10-11-2007 06:24 AM

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.

Leolo 10-12-2007 03:15 PM

Too soon
 
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.

Micro420 10-12-2007 09:51 PM

I am having this similar problem with the new OpenSuSE 10.3. It's really annoying!!!


All times are GMT -5. The time now is 05:02 AM.