Skip to contentSkip to conversation

/var/lib/nfs/v4recovery

DISCUSSION mehta kiran 2 participants 4 messages Mar 10, 2006

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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 - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs

#1 lore raw

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

Quoted 6 lines · --- mehta kiran

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.

Quoted 18 lines

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
Quoted 9 lines

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

-------------------------------------------------------

Quoted 7 lines

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

Quoted 4 lines

_______________________________________________
NFS maillist - [email protected]
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 - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs

#2 lore raw
Quoted 10 lines · mehta kiran

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 - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs

#3 lore raw
In reply to mehta kiran
Quoted 5 lines · mehta kiran

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.

Quoted 5 lines

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.

Quoted 5 lines

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 - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs