LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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!

Notices


Reply
  Search this Thread
Old 05-07-2014, 02:39 AM   #1
vinod_nir71
LQ Newbie
 
Registered: May 2014
Posts: 1

Rep: Reputation: Disabled
How to mount a nfs directory in client


I have to mount a directory in the client every time. and have to give the root password for that.

I want to know is there any possible solution. That can mount the required directory automatically and I don't need to mount it again

I have even given that directory name in /etc/fstab but it is not mounting

Vinod
 
Old 05-07-2014, 07:44 AM   #2
Ask_Nishu
LQ Newbie
 
Registered: Nov 2011
Location: London
Distribution: Ubuntu 12.04
Posts: 9

Rep: Reputation: Disabled
Hello Vinod,

/etc/fstab is the best way to automatically mount the filesystems .
I guess you are doing something wrong in the /etc/fstab file.
Please post your entry in fstab and your OS details.

Note: You need to run mount -a for the same booting session .
 
Old 05-07-2014, 07:59 AM   #3
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora
Posts: 2,630

Rep: Reputation: 495Reputation: 495Reputation: 495Reputation: 495Reputation: 495
post your fstab entry. also ftsab is not always the best way to mount an NFS share. you might want to look into autofs.
 
Old 05-07-2014, 12:41 PM   #4
lhiggie1
LQ Newbie
 
Registered: Oct 2010
Location: Taylorsville, KY, USA
Distribution: RHEL, Fedora, CentOS, Ubuntu & HP-UX
Posts: 22

Rep: Reputation: 0
Smile How to mount a nfs directory in client

vinod_nir71,

Also, it would help knowing what flavor and version of Linux you are using). Please post this information, so we can respond accordingly.

Sincerely,
lhiggie1
 
  


Reply


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
how to mount a nfs mount from linux client to AIX nfs server dennyqian AIX 13 04-12-2016 12:30 AM
How can I restrict nfsv3 from client nfs mount ? smilemukul Linux - Server 4 05-01-2014 05:29 AM
[SOLVED] NFS Client Unable to Mount the NFS Share devUnix Linux - Server 7 10-31-2013 02:12 PM
NFS Mount Crashes Client BloodBlight Linux - Networking 1 11-13-2010 11:40 AM
[SOLVED] NFS mount fails (times out): NFS server is in DMZ, NFS client is in intranet Hiroshi Linux - Networking 2 05-24-2010 11:22 AM


All times are GMT -5. The time now is 07:09 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration