LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 09-18-2007, 05:30 AM   #1
deepugopi
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


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

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

Original Poster
Rep: Reputation: 15
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.
 
Old 10-12-2007, 03:15 PM   #4
Leolo
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
Micro420
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!!!
 
  


Reply

Tags
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


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

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