Re: Are there really no server-side mount/umount message for NFSv4?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jul 22, 2015 at 09:31:24AM +0200, Mkrtchyan, Tigran wrote:
> With NFSv4.1 there are indirect hints to mount/umount: create and
> destroy session.

Yes, not sure that would have helped Frank in this case, but it'd be
useful some day to be able to e.g. query information about clients that
currently have established session (or other state).

--b.

> 
> Tigran.
> 
> ----- Original Message -----
> > From: "J. Bruce Fields" <bfields@xxxxxxxxxxxx>
> > To: "Frank Steiner" <fsteiner-mail1@xxxxxxxxxxxxxx>
> > Cc: linux-nfs@xxxxxxxxxxxxxxx
> > Sent: Tuesday, July 21, 2015 6:03:38 PM
> > Subject: Re: Are there really no server-side mount/umount message for NFSv4?
> 
> > On Tue, Jul 21, 2015 at 03:57:26PM +0200, Frank Steiner wrote:
> >> we are missing the "authenticated u/mount request..." messages or
> >> error messages like "refused mount request from /x (/): not exported"
> >> for NFSv4 servers. We were using the mount/umount messages e.g. to
> >> detect when some reached a certain point of an installation etc.
> >> And the error messages on the server side often were more helpful
> >> than the ones on the client.
> >> 
> >> Is there really no way to get these easy-to-understand messages?
> >> Debugging shows a lot but nothing that e.g. gives an understandable
> >> error reason.
> > 
> > There aren't any mount or umount calls in the NFSv4 protocol.
> > 
> > (For example, an NFSv4 server typically wouldn't have any way to tell
> > the difference between a client that has unmounted and one that just
> > isn't using the filesystem right now.)
> > 
> > If you could describe in more detail your use case, someone might be
> > able to suggest a different solution.  Or it might influence what sort
> > of information the nfs server exports to users in the future.
> > 
> > --b.
> > --
> > To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
> > the body of a message to majordomo@xxxxxxxxxxxxxxx
> > More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux