LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 02-08-2013, 12:37 AM   #1
sanjusharma
LQ Newbie
 
Registered: Feb 2013
Posts: 5

Rep: Reputation: Disabled
Post Export your /shared directory via NFS to the example.com domain only


Export your /shared directory via NFS to the example.com domain only
- You can check your shared directory but shoumount will not allow because you login from local user
- You may check by using /net directory

Found above question to prepare RHCE exam, Kindly suggest how to do above mention question.
 
Old 02-08-2013, 12:41 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
well you really would benefit from trying to research this yourself more. On the face of it though, maybe you've confusion about what the domain reference means? That's just about basic name resolution in /etc/exports. It's not about advanced authentication of anything NFSv4 would provide, just NFSv3. This is fairly simple stuff, so I'd really urge you to take the time to go find the answers rather than us spoonfeeding you.
 
Old 02-08-2013, 12:46 AM   #3
shivaa
Senior Member
 
Registered: Jul 2012
Location: Grenoble, Fr.
Distribution: Sun Solaris, RHEL, Ubuntu, Debian 6.0
Posts: 1,800
Blog Entries: 4

Rep: Reputation: 286Reputation: 286Reputation: 286
- Can you post the full question?
- Was it a multiple choice question (then what options) or a subjective one?
- Also, where are you stuck and what you can't understand here?
 
Old 02-08-2013, 04:29 AM   #4
sanjusharma
LQ Newbie
 
Registered: Feb 2013
Posts: 5

Original Poster
Rep: Reputation: Disabled
acid_kewpie thanks for suggestion, still i would like you guys to correct me.

I would like you guys to verify my configuration.

cat /etc/exports
/shared example.com(rw,sync)
 
Old 02-08-2013, 04:33 AM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
OK, so your domain is not correct. the logic is that when a client connects, the server will take the IP address of the client and do a reverse lookup on that IP for the hostname. So you can get back web.domain.com, server.domain.com etc... you don't * just* get the domain itself.
 
Old 02-08-2013, 04:40 AM   #6
sanjusharma
LQ Newbie
 
Registered: Feb 2013
Posts: 5

Original Poster
Rep: Reputation: Disabled
So, what sud be actual configuration to resolve this ?

network & ip
example.com 192.168.0./24
my133.org 172.20.10.0/24

if i correct my configuration with below its should work ?
cat /etc/exports
/shared 192.168.0.0/24(rw,sync)
 
Old 02-08-2013, 04:46 AM   #7
tony21
LQ Newbie
 
Registered: Feb 2013
Location: United Kingdom
Posts: 3

Rep: Reputation: 0
Did you try to open linux terminal? What did you see?
 
Old 02-08-2013, 04:55 AM   #8
sanjusharma
LQ Newbie
 
Registered: Feb 2013
Posts: 5

Original Poster
Rep: Reputation: Disabled
It is available to example.com via showmount as well as can access through /net

Export list for 192.168.0.10:
/shared 192.168.0.0/24

Last edited by sanjusharma; 02-08-2013 at 05:03 AM.
 
Old 02-08-2013, 05:06 AM   #9
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
right so if the specifications are that that is the network associated with example.com then it's workign, no?

Remember that the RHCE tests check what *happens* and NOT how it does it.
 
Old 02-08-2013, 05:09 AM   #10
tony21
LQ Newbie
 
Registered: Feb 2013
Location: United Kingdom
Posts: 3

Rep: Reputation: 0
If you see that then restart your nfs
 
  


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
3. What /etc/exports entry would export a directory named /nfs to all clients on the 1bigboy74 Linux - Newbie 3 01-22-2011 01:24 PM
NFS export mounts on client, but normal users can't get into the directory gusblake Linux - Server 1 07-01-2010 09:01 PM
Can't see a shared directory with nfs. 123sun Linux - Server 10 11-10-2009 06:23 PM
NFS:How can I export a directory which is mount from other's walkinmud Linux - Networking 2 05-25-2006 04:23 AM
NFS export of directory with mounted iso-images leipy SUSE / openSUSE 1 06-03-2005 08:12 PM


All times are GMT -5. The time now is 10:16 PM.

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