All of lore.kernel.org
 help / color / mirror / Atom feed
From: Roland Dreier <rdreier@cisco.com>
To: Hiroyuki Sato <hiroysato@gmail.com>
Cc: linux-nfs@vger.kernel.org, linux-rdma@vger.kernel.org
Subject: Re: [Q] I tried to mount nfs_server:/mnt volume, but It mounted another volume.
Date: Sun, 21 Nov 2010 09:10:00 -0800	[thread overview]
Message-ID: <adazkt2hac7.fsf@cisco.com> (raw)
In-Reply-To: <AANLkTi=vpRm3MEiQZ39bw5XwfjL6CVbGEkAKWz-ynEp_@mail.gmail.com> (Hiroyuki Sato's message of "Sun, 21 Nov 2010 21:23:31 +0900")

Yes, as Boaz said, having two exports with fsid=0 is the problem:

 >   # cat /etc/exports
 >   /nfstest   192.168.100.0/255.255.255.0(fsid=0,rw,async,insecure,no_root_squash)
 >   /mnt       192.168.100.0/255.255.255.0(fsid=0,rw,async,insecure,no_root_squash)

you could have seen this in the server log from this:

 >   Nov 21 20:47:37 dell1435 mountd[3575]: /nfstest and /mnt have same
 > filehandle for 192.168.100.0/255.255.255.0, using first

 - R.

WARNING: multiple messages have this Message-ID (diff)
From: Roland Dreier <rdreier-FYB4Gu1CFyUAvxtiuMwx3w@public.gmane.org>
To: Hiroyuki Sato <hiroysato-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: linux-nfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [Q] I tried to mount nfs_server:/mnt volume, but It mounted another volume.
Date: Sun, 21 Nov 2010 09:10:00 -0800	[thread overview]
Message-ID: <adazkt2hac7.fsf@cisco.com> (raw)
In-Reply-To: <AANLkTi=vpRm3MEiQZ39bw5XwfjL6CVbGEkAKWz-ynEp_-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> (Hiroyuki Sato's message of "Sun, 21 Nov 2010 21:23:31 +0900")

Yes, as Boaz said, having two exports with fsid=0 is the problem:

 >   # cat /etc/exports
 >   /nfstest   192.168.100.0/255.255.255.0(fsid=0,rw,async,insecure,no_root_squash)
 >   /mnt       192.168.100.0/255.255.255.0(fsid=0,rw,async,insecure,no_root_squash)

you could have seen this in the server log from this:

 >   Nov 21 20:47:37 dell1435 mountd[3575]: /nfstest and /mnt have same
 > filehandle for 192.168.100.0/255.255.255.0, using first

 - R.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  parent reply	other threads:[~2010-11-21 17:10 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-21 12:23 [Q] I tried to mount nfs_server:/mnt volume, but It mounted another volume Hiroyuki Sato
2010-11-21 12:23 ` Hiroyuki Sato
2010-11-21 13:41 ` Boaz Harrosh
2010-11-21 13:41   ` Boaz Harrosh
2010-11-21 22:41   ` J. Bruce Fields
2010-11-21 22:41     ` J. Bruce Fields
2010-11-22  0:21     ` Hiroyuki Sato
2010-11-22  0:21       ` Hiroyuki Sato
2010-11-21 17:10 ` Roland Dreier [this message]
2010-11-21 17:10   ` Roland Dreier

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=adazkt2hac7.fsf@cisco.com \
    --to=rdreier@cisco.com \
    --cc=hiroysato@gmail.com \
    --cc=linux-nfs@vger.kernel.org \
    --cc=linux-rdma@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.