Thread (23 messages) 23 messages, 18 authors, 2002-08-31

Re: Writing files to remote storage

From: Alan Cox <hidden>
Date: 2002-08-28 14:12:46

On Wed, 2002-08-28 at 09:17, Kevin Liao wrote:
If I mount a remote linux partition through smb or nfs and write one file to
that partition. How could I make sure that that file is really written to
the remote disk successfully? I know that some cache mechanisms existed in
linux kernel. So I guess there may be two possibilities as below:
For NFS at least do an fsync(). Fsync should ensure the data hits the
server. Whether the server commits to stable storage is protocol and
configuration dependant (NFS says yes, some implementations fudge it)
 
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help