Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 09-18-2007, 05:30 AM   #1
LQ Newbie
Registered: Apr 2007
Location: India
Distribution: RHEL4,Fedora6
Posts: 28

Rep: Reputation: 15
How to automount the nfs share in Mandriva 2007.1


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 /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.
Old 09-18-2007, 11:44 PM   #2
Registered: Oct 2005
Location: Bangalore,India
Distribution: Debian
Posts: 37

Rep: Reputation: 15
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.
Old 10-11-2007, 06:24 AM   #3
LQ Newbie
Registered: Apr 2007
Location: India
Distribution: RHEL4,Fedora6
Posts: 28

Original Poster
Rep: Reputation: 15
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.
Old 10-12-2007, 03:15 PM   #4
LQ Newbie
Registered: Oct 2007
Posts: 2

Rep: Reputation: 0
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.
Old 10-12-2007, 09:51 PM   #5
Senior Member
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

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


automount, feature, mandriva

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
unable to share internet with LAN/mandriva 2007 mammen_in_linux Linux - Wireless Networking 2 08-17-2007 08:28 AM
error at automount usb pen(mandriva 2007) neo571 Linux - Hardware 1 03-13-2007 07:15 PM
Mandriva 2007 always Stuck when using NFS paul.hendrikus Linux - Networking 4 02-12-2007 12:37 AM
I can't install nfs-utils in Mandriva 2007... el amigo* Mandriva 7 01-21-2007 07:21 PM
unable to share internet with LAN/mandriva 2007 mammen_in_linux Linux - Networking 2 01-16-2007 07:35 AM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 01:33 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration