From: James Pearson <james-p@moving-picture.com>
To: mehta kiran <kiranmehta1981@yahoo.com>
Cc: nfs@lists.sourceforge.net
Subject: Re: file :"/var/lib/nfs/rmtab"
Date: Fri, 04 Feb 2005 12:58:39 +0000 [thread overview]
Message-ID: <4203717F.5010109@moving-picture.com> (raw)
In-Reply-To: <20050204105558.33195.qmail@web51609.mail.yahoo.com>
What version of nfs-utils are you running?
I've just tried (on a 2.6 kernel Fedora box):
mount -t nfsd nfsd /proc/fs/nfsd
/etc/init.d/nfs start
mount an exported file system on a client
edit /var/lib/nfs/rmtab and removed the line corresponding to the client
/etc/init.d/nfs stop
/etc/init.d/nfs start
Accessed the mount point on the client - no stale handle ...
... and the deleted line 'magically' reappears in /var/lib/nfs/rmtab
James Pearson
mehta kiran wrote:
> hi James ,
> it did not help.
> Enmtry in rmtab file is still used.
> thanks for ur reply,
> kiran
>
> --- James Pearson <james-p@moving-picture.com> wrote:
>
>
>>Did you do 'mount -t nfsd nfsd /proc/fs/nfsd' before
>>starting all the
>>nfs daemons?
>>
>>James Pearson
>>
>>mehta kiran wrote:
>>
>>>I am using 2.6 kernel
>>>--- mehta kiran <kiranmehta1981@yahoo.com> wrote:
>>>
>>>
>>>
>>>>Hi ,
>>>> if handle supplied by client is
>>
>>sufficient
>>
>>>>,
>>>>then why does the problem given below exists.
>>>>
>>>>1. export filesystem to client.
>>>>2. let client allow to mount it.
>>>>3. remove all entries from rmtab on server.
>>>>4. restart all nfs daemons.
>>>>5. Now if client access filesystem , it gets
>>>> permission denied error.Client can access
>>>> filesystem only after remounting it.
>>>>6. This show that mountd still uses rmtab to
>>>> check if client had mounted filesystem or not.
>>>> No entry in rmtab for a client means it has not
>>>> mounted filesystem.
>>>>
>>>>thanks,
>>>>--kiran
>>>>
>>>>--- Paul Clements <paul.clements@steeleye.com>
>>>>wrote:
>>>>
>>>>
>>>>
>>>>>mehta kiran wrote:
>>>>>
>>>>>
>>>>>
>>>>>>Isn't handle supplied by client
>>>>>> enough to verify clients access to
>>>>>> filesystem.?
>>>>>
>>>>>Yes, it should be. That's why in 2.6, the rmtab
>>>>
>>>>file
>>>>
>>>>
>>>>>is no longer relied
>>>>>upon. Instead, there is a special filesystem,
>>>>>/proc/fs/nfsd, that allows
>>>>>the kernel to communicate with mountd in order to
>>>>>authenticate
>>>>>unrecognized clients automatically.
>>>>>
>>>>>--
>>>>>Paul
>>>>>
>>>>>
>>>>>
>>>>
> -------------------------------------------------------
>
>>>>>This SF.Net email is sponsored by: IntelliVIEW --
>>>>>Interactive Reporting
>>>>>Tool for open source databases. Create
>>
>>drag-&-drop
>>
>>>>>reports. Save time
>>>>>by over 75%! Publish reports on the web. Export
>>
>>to
>>
>>>>>DOC, XLS, RTF, etc.
>>>>>Download a FREE copy at
>>>>>http://www.intelliview.com/go/osdn_nl
>>>>>_______________________________________________
>>>>>NFS maillist - NFS@lists.sourceforge.net
>>>>>https://lists.sourceforge.net/lists/listinfo/nfs
>>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>__________________________________
>>>>Do you Yahoo!?
>>>>Yahoo! Mail - You care about security. So do we.
>>>>http://promotions.yahoo.com/new_mail
>>>>
>>>>
>>>>
>>>
>>>
> -------------------------------------------------------
>
>>>>This SF.Net email is sponsored by: IntelliVIEW --
>>>>Interactive Reporting
>>>>Tool for open source databases. Create drag-&-drop
>>>>reports. Save time
>>>>by over 75%! Publish reports on the web. Export to
>>>>DOC, XLS, RTF, etc.
>>>>Download a FREE copy at
>>>>http://www.intelliview.com/go/osdn_nl
>>>>_______________________________________________
>>>>NFS maillist - NFS@lists.sourceforge.net
>>>>https://lists.sourceforge.net/lists/listinfo/nfs
>>>>
>>>
>>>
>>>
>>>
>>>
>>>__________________________________
>>>Do you Yahoo!?
>>>Meet the all-new My Yahoo! - Try it today!
>>>http://my.yahoo.com
>>>
>>>
>>>
>>>
>>>
>>
> -------------------------------------------------------
>
>>>This SF.Net email is sponsored by: IntelliVIEW --
>>
>>Interactive Reporting
>>
>>>Tool for open source databases. Create drag-&-drop
>>
>>reports. Save time
>>
>>>by over 75%! Publish reports on the web. Export to
>>
>>DOC, XLS, RTF, etc.
>>
>>>Download a FREE copy at
>>
>>http://www.intelliview.com/go/osdn_nl
>>
>>>_______________________________________________
>>>NFS maillist - NFS@lists.sourceforge.net
>>>https://lists.sourceforge.net/lists/listinfo/nfs
>>>
>>
>>
>>
>>
> -------------------------------------------------------
>
>>This SF.Net email is sponsored by: IntelliVIEW --
>>Interactive Reporting
>>Tool for open source databases. Create drag-&-drop
>>reports. Save time
>>by over 75%! Publish reports on the web. Export to
>>DOC, XLS, RTF, etc.
>>Download a FREE copy at
>>http://www.intelliview.com/go/osdn_nl
>>_______________________________________________
>>NFS maillist - NFS@lists.sourceforge.net
>>https://lists.sourceforge.net/lists/listinfo/nfs
>>
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
> Tool for open source databases. Create drag-&-drop reports. Save time
> by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
> Download a FREE copy at http://www.intelliview.com/go/osdn_nl
> _______________________________________________
> NFS maillist - NFS@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nfs
>
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
NFS maillist - NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs
next prev parent reply other threads:[~2005-02-04 12:58 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-02-03 6:08 file :"/var/lib/nfs/rmtab" mehta kiran
2005-02-03 11:29 ` James Pearson
2005-02-03 11:38 ` mehta kiran
2005-02-03 16:04 ` Paul Clements
2005-02-04 4:52 ` mehta kiran
2005-02-04 5:01 ` mehta kiran
2005-02-04 10:04 ` James Pearson
2005-02-04 10:55 ` mehta kiran
2005-02-04 12:58 ` James Pearson [this message]
2005-02-04 13:22 ` mehta kiran
2005-02-04 14:57 ` James Pearson
2005-02-04 15:49 ` mehta kiran
2005-02-04 15:49 ` mehta kiran
2005-02-04 14:07 ` mehta kiran
2005-02-03 11:38 ` mehta kiran
2005-02-03 11:42 ` mehta kiran
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=4203717F.5010109@moving-picture.com \
--to=james-p@moving-picture.com \
--cc=kiranmehta1981@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 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.