* NFSv3 and SYNC option
@ 2006-07-17 9:11 przemyslaw_sowa
2006-07-17 12:05 ` Trond Myklebust
0 siblings, 1 reply; 2+ messages in thread
From: przemyslaw_sowa @ 2006-07-17 9:11 UTC (permalink / raw)
To: nfs
Hello,
I'd like to know if the "sync" option in /etc/exports makes NFSv3 works
like NFSv2? I mean if it then always waits for the data to be written to
the drive before sending reply?
If not, is there any way to guarantee stable storage on the server (v3)
side (ex. client can mount with the async option)?
Regards,
Przemyslaw Sowa
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
NFS maillist - NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: NFSv3 and SYNC option
2006-07-17 9:11 NFSv3 and SYNC option przemyslaw_sowa
@ 2006-07-17 12:05 ` Trond Myklebust
0 siblings, 0 replies; 2+ messages in thread
From: Trond Myklebust @ 2006-07-17 12:05 UTC (permalink / raw)
To: przemyslaw_sowa; +Cc: nfs
On Mon, 2006-07-17 at 11:11 +0200, przemyslaw_sowa@o2.pl wrote:
> Hello,
>
> I'd like to know if the "sync" option in /etc/exports makes NFSv3 works
> like NFSv2? I mean if it then always waits for the data to be written to
> the drive before sending reply?
No. The 'sync' option just ensures that all RPC calls that require data
to be put to stable storage are honoured. The result is that you should
be guaranteed correct recovery semantics in case of a server
crash/reboot (which is what you want).
> If not, is there any way to guarantee stable storage on the server (v3)
> side (ex. client can mount with the async option)?
Yes. NFSv3 has protocol support for safe server-side cached writes (this
is the main reason why NFSv3 is considered to be faster than NFSv2). By
"safe", I mean that there is no loss of data in the case of a server
crash/reboot.
This caching behaviour is enabled by default: no need for additional
mount options.
Cheers,
Trond
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
NFS maillist - NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-07-17 12:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-17 9:11 NFSv3 and SYNC option przemyslaw_sowa
2006-07-17 12:05 ` Trond Myklebust
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.