NFSv4 status and recommendations?
Open Source
opensource3141 at yahoo.com
Tue Nov 21 10:19:06 EST 2006
Hi Bruce,
I think I figured out why I couldn't see the nfsv4 ACLs.
I found that the server can be 2.6.17 and up but the
client must be at least 2.6.18. Does this agree with your
recollection of when this code got in to the kernel?
Also, when you have a moment, can you address a couple
of my points below.
Thanks,
Paarvai
----- Original Message ----
From: Open Source <opensource3141 at yahoo.com>
To: J. Bruce Fields <bfields at fieldses.org>
Cc: nfsv4 at linux-nfs.org
Sent: Friday, November 17, 2006 3:18:19 PM
Subject: Re: NFSv4 status and recommendations?
Hi Bruce,
> > Also, it sounds like the choice to use lockd is voluntary by
> > an application. That doesn't seem like a good thing.
>
> That'd be a question for the application developer again, I think.
>
> > Is it the same for NFSv4?
>
> I'm not sure I understand the question.
>
> Ordinary file locking does work with our NFSv4 implementation over
> rpcsec_gss without the above problems.
Sorry, I guess I wasn't clear. With OpenOffice you can use a
runtime option to turn off NFS locking. I'm not sure what this really
means. But I'm inferring that the application does something
different if it wants to use NFS locking. My questions are:
1) Does an app have to do something special to use NFS locking?
Or does it just use flock and that gets transmitted automatically?
2) If an app doesn't lock an NFS file and then someone else
tries to access that NFS file from remote, what happens? Corruption?
I'm guessing it's similar to two processes doing "cat > /tmp/foo".
> I'm not sure how we should fix the problem for v2/v3--probably the
> server should be modified to by default permit auth_sys lockd requests
> even on exports exported only to rpcsec_gss. Maybe there should also be
> a client-side mount option to enable rpcsec_gss lockd requests.
Something to fix this would be nice, but I guess I can understand if
it's not high priority.
> > [ACLs with NFSv4]
>
> You're exporting an ext3 filesystem? Did you check that you could set
> and get acls locally on the exported filesystem (when logged in to the
> server?)
Yes, of course. Besides, otherwise I couldn't see the ACLs using NFSv3,
which I can do right now. Let me look into this just a little bit more and
get back to you.
Thanks,
Paarvai
_______________________________________________
NFSv4 mailing list
NFSv4 at linux-nfs.org
http://linux-nfs.org/cgi-bin/mailman/listinfo/nfsv4
More information about the NFSv4
mailing list