From: Trond Myklebust <Trond.Myklebust@netapp.com>
To: Venkateswararao Jujjuri <jvrao@linux.vnet.ibm.com>
Cc: Sreeram B S
<public-sreeramb-HgOvQuBEEgTQT0dZR+AlfA@plane.gmane.org>,
public-linux-nfs-u79uwXL29TY76Z2rM5mHXA@plane.gmane.org
Subject: Re: NFS mounts and its propagation
Date: Wed, 28 Sep 2011 20:08:38 -0400 [thread overview]
Message-ID: <1317254918.2764.2.camel@lade.trondhjem.org> (raw)
In-Reply-To: <4E83A799.1090303@linux.vnet.ibm.com>
On Wed, 2011-09-28 at 16:02 -0700, Venkateswararao Jujjuri wrote:
>
> On 09/26/2011 04:03 AM, Sreeram B S wrote:
> > Hi,
> > I am Sreeram. This question is related to NFS.
> > I have a typical scenario. Please assume that there are 3 machines M1,
> > M2, M3. Each of them are having directories /tmp/abc in them. All the
> > NFS permissions are set appropriately.
> > Now, a user mounts M2's /tmp/abc on M1's /tmp/abc by issuing mount
> > command on M1. Mount is successful.
> > Then the user mounts M3's /tmp/abc on M2's /tmp/abc by issuing mount
> > command on M2. Mount successful.
> > Now I would expect the contents of M3's /tmp/abc to be shown as output
> > of 'ls' issue on M1. But this is not happening. I am unable to
> > comprehend the reason. Could you please guide me?
>
> What are you seeing instead? Are you seeing M2's contents on M1?
> Did you try to change the order of the experiment? i.e First mount M3 on
> M2 and then mount M2 on M1? Just curious to see if there is any change
> in the behavior.
As Bruce said, re-exporting of NFS-mounted filesystems is not supported
by the Linux server.
Just mount M3's contents directly onto M1, or use a NFSv4 referral (man
5 exports0.
Trond
--
Trond Myklebust
Linux NFS client maintainer
NetApp
Trond.Myklebust@netapp.com
www.netapp.com
next prev parent reply other threads:[~2011-09-29 0:10 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-26 11:03 NFS mounts and its propagation Sreeram B S
2011-09-28 23:02 ` Venkateswararao Jujjuri
2011-09-29 0:08 ` Trond Myklebust [this message]
-- strict thread matches above, loose matches on Subject: below --
2011-09-26 12:22 Benny Halevy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1317254918.2764.2.camel@lade.trondhjem.org \
--to=trond.myklebust@netapp.com \
--cc=jvrao@linux.vnet.ibm.com \
--cc=public-linux-nfs-u79uwXL29TY76Z2rM5mHXA@plane.gmane.org \
--cc=public-sreeramb-HgOvQuBEEgTQT0dZR+AlfA@plane.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).