All of lore.kernel.org
 help / color / mirror / Atom feed
* /var/lib/nfs/v4recovery
@ 2006-03-10  7:18 mehta kiran
  2006-03-10  7:44 ` /var/lib/nfs/v4recovery mehta kiran
  2006-03-10 15:26 ` /var/lib/nfs/v4recovery J. Bruce Fields
  0 siblings, 2 replies; 4+ messages in thread
From: mehta kiran @ 2006-03-10  7:18 UTC (permalink / raw)
  To: nfs

Hi,
   I could see that it is mentioned that
   /var/lib/nfs/v4recovery needs to be created
   for NFSv4 at=20
=20
http://www.citi.umich.edu/projects/nfsv4/linux/using-nfsv4.html.
   1. What is this file for ?
      As NFSv4 uses lease based locking , it does
      create files on persistent storage.
      And its state could be stored  =20
      in /var/lib/nfs/statd/state , right ?

   2. I have read that lease time for NFSV4 can be=20
      chnaged by setting value in
      /proc/fs/nfsd/nfsv4leasetime. In case i dont
      set lease period  , is grace period set by user
      considered as the lease time ?

Thanks,
 kiran
    =20

    =20

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around=20
http://mail.yahoo.com=20


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting langua=
ge
that extends applications into web and mobile media. Attend the live webc=
ast
and join the prime developer group breaking into this new coding territor=
y!
http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D110944&bid=3D241720&dat=3D=
121642
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: /var/lib/nfs/v4recovery
  2006-03-10  7:18 /var/lib/nfs/v4recovery mehta kiran
@ 2006-03-10  7:44 ` mehta kiran
  2006-03-10 15:28   ` /var/lib/nfs/v4recovery J. Bruce Fields
  2006-03-10 15:26 ` /var/lib/nfs/v4recovery J. Bruce Fields
  1 sibling, 1 reply; 4+ messages in thread
From: mehta kiran @ 2006-03-10  7:44 UTC (permalink / raw)
  To: nfs

Hi,
   I could see that it is mentioned that
   /var/lib/nfs/v4recovery needs to be created
   for NFSv4 at=20
=20
http://www.citi.umich.edu/projects/nfsv4/linux/using-nfsv4.html.
   1. What is this file for ?
      As NFSv4 uses lease based locking , it does
"NOT"
      create files on persistent storage.
      And its state could be stored  =20
      in /var/lib/nfs/statd/state , right ?

   2. I have read that lease time for NFSV4 can be=20
      chnaged by setting value in
      /proc/fs/nfsd/nfsv4leasetime. In case i dont
      set lease period  , is grace period set by user
      considered as the lease time ?

Thanks,
 kiran








--- mehta kiran <kiranmehta1981@yahoo.com> wrote:

> Hi,
>    I could see that it is mentioned that
>    /var/lib/nfs/v4recovery needs to be created
>    for NFSv4 at=20
> =20
>
http://www.citi.umich.edu/projects/nfsv4/linux/using-nfsv4.html.
>    1. What is this file for ?
>       As NFSv4 uses lease based locking , it does
>       create files on persistent storage.
>       And its state could be stored  =20
>       in /var/lib/nfs/statd/state , right ?
>=20
>    2. I have read that lease time for NFSV4 can be=20
>       chnaged by setting value in
>       /proc/fs/nfsd/nfsv4leasetime. In case i dont
>       set lease period  , is grace period set by
> user
>       considered as the lease time ?
>=20
> Thanks,
>  kiran
>     =20
>=20
>     =20
>=20
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam
> protection around=20
> http://mail.yahoo.com=20
>=20
>=20
>
-------------------------------------------------------
> This SF.Net email is sponsored by xPML, a
> groundbreaking scripting language
> that extends applications into web and mobile media.
> Attend the live webcast
> and join the prime developer group breaking into
> this new coding territory!
>
http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D110944&bid=3D241720&dat=3D=
121642
> _______________________________________________
> NFS maillist  -  NFS@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nfs
>=20


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around=20
http://mail.yahoo.com=20


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting langua=
ge
that extends applications into web and mobile media. Attend the live webc=
ast
and join the prime developer group breaking into this new coding territor=
y!
http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D110944&bid=3D241720&dat=3D=
121642
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: /var/lib/nfs/v4recovery
  2006-03-10  7:18 /var/lib/nfs/v4recovery mehta kiran
  2006-03-10  7:44 ` /var/lib/nfs/v4recovery mehta kiran
@ 2006-03-10 15:26 ` J. Bruce Fields
  1 sibling, 0 replies; 4+ messages in thread
From: J. Bruce Fields @ 2006-03-10 15:26 UTC (permalink / raw)
  To: mehta kiran; +Cc: nfs

On Thu, Mar 09, 2006 at 11:18:03PM -0800, mehta kiran wrote:
>    I could see that it is mentioned that
>    /var/lib/nfs/v4recovery needs to be created
>    for NFSv4 at 
>  
> http://www.citi.umich.edu/projects/nfsv4/linux/using-nfsv4.html.

We've had some negative feedback on the way we're storing persistant
state for reboot recovery.  Among other problems:
	- There's an objection (which I don't entirely claim to
	  understand) against nfsd doing directory operations in the
	  kernel
	- It doesn't give any chance for synchronous callouts for, e.g.,
	  mirroring the data to a backup server for failover, whereas
	  the standard statd stuff does.

Hopefully this will fixed by 2.6.17 or 2.6.18.

>    1. What is this file for ?
>       As NFSv4 uses lease based locking , it does
>       create files on persistent storage.
>       And its state could be stored   
>       in /var/lib/nfs/statd/state , right ?

I don't think we can store the state in exactly the same place, but we
probably will move to something more similar to statd.

>    2. I have read that lease time for NFSV4 can be 
>       chnaged by setting value in
>       /proc/fs/nfsd/nfsv4leasetime. In case i dont
>       set lease period  , is grace period set by user
>       considered as the lease time ?

Since we use leases to implement delegations, there's an ugly conflict
between /proc/sys/fs/lease-break-time and /proc/fs/nfsd/nfsv4leasetime,
which we're currently working on fixing.

--b.


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: /var/lib/nfs/v4recovery
  2006-03-10  7:44 ` /var/lib/nfs/v4recovery mehta kiran
@ 2006-03-10 15:28   ` J. Bruce Fields
  0 siblings, 0 replies; 4+ messages in thread
From: J. Bruce Fields @ 2006-03-10 15:28 UTC (permalink / raw)
  To: mehta kiran; +Cc: nfs

On Thu, Mar 09, 2006 at 11:44:11PM -0800, mehta kiran wrote:
> Hi,
>    I could see that it is mentioned that
>    /var/lib/nfs/v4recovery needs to be created
>    for NFSv4 at 
>  
> http://www.citi.umich.edu/projects/nfsv4/linux/using-nfsv4.html.
>    1. What is this file for ?
>       As NFSv4 uses lease based locking , it does
> "NOT"
>       create files on persistent storage.

It does need some persistent storage--see rfc3530 section 8.6.3.

--b.


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-03-10 15:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-10  7:18 /var/lib/nfs/v4recovery mehta kiran
2006-03-10  7:44 ` /var/lib/nfs/v4recovery mehta kiran
2006-03-10 15:28   ` /var/lib/nfs/v4recovery J. Bruce Fields
2006-03-10 15:26 ` /var/lib/nfs/v4recovery J. Bruce Fields

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.