linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Wendy Cheng <s.wendy.cheng@gmail.com>
To: Erik Bryer <erik_bryer@yahoo.com>
Cc: nfs@lists.sourceforge.net
Subject: Re: [NFS] how to display fsid on client?
Date: Wed, 13 Jan 2010 15:32:53 -0800	[thread overview]
Message-ID: <4B4E5825.1080305@gmail.com> (raw)
In-Reply-To: <55270.93264.qm-0WRSi9NJipCvuULXzWHTWIglqE1Y4D90QQ4Iyu8u01E@public.gmane.org>

Erik Bryer wrote:
>
> I've tried this many times, read the faq, and so on. Do I misunderstand? Is the st_dev, "ID of device containing file", as read on the client not going to be the same as what is forced by "fsid=n" in the exports file?
>
>   
No, they are *different* IDs. The Linux NFS server's fsid is for export 
purpose (used to construct NFS file handler). It has *nothing* to do 
with "st_dev" obtained from "stat" system call (that is used by Linux 
VFS layer).

To display the linux (nfs) server fsid on client, the easiest way (I 
think) is probably using some network protocol analyzers that know how 
to interpret Linux server's file handler (did you try "ethereal" yet ?). 
If you decode the server's file handler, the fsid you're look for should 
be there.

-- Wendy


------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs
_______________________________________________
Please note that nfs@lists.sourceforge.net is being discontinued.
Please subscribe to linux-nfs@vger.kernel.org instead.
    http://vger.kernel.org/vger-lists.html#linux-nfs


      parent reply	other threads:[~2010-01-13 23:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-13 22:14 [NFS] how to display fsid on client? Erik Bryer
     [not found] ` <55270.93264.qm-0WRSi9NJipCvuULXzWHTWIglqE1Y4D90QQ4Iyu8u01E@public.gmane.org>
2010-01-13 23:32   ` Wendy Cheng [this message]

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=4B4E5825.1080305@gmail.com \
    --to=s.wendy.cheng@gmail.com \
    --cc=erik_bryer@yahoo.com \
    --cc=nfs@lists.sourceforge.net \
    /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).