Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 04-13-2007, 02:03 PM   #1
LQ Newbie
Registered: Apr 2007
Posts: 27

Rep: Reputation: 15
Use of 'sync' in NFS

Hi All,

Can you please tell me What is the use of 'sync' in NFS share (/etc/exports).


Old 04-13-2007, 02:17 PM   #2
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981
this is on the exports manpage for you to see, please check manpages next time. until then though, i'll cut and paste what it says there.

originally written in 'man exports'
sync Reply to requests only after the changes have been committed to
stable storage (see async above).

In releases of nfs-utils upto and including 1.0.0, this option
was the default. In this and future releases, sync is the
default, and async must be explicit requested if needed. To
help make system adminstrators aware of this change, ’exportfs’
will issue a warning if neither sync nor async is specified.
Old 04-13-2007, 02:20 PM   #3
Senior Member
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 62
It makes the changes straight away rather than buffering them.

This can be a good idea, particularly if the network may crash. This way, the most recent changes saved are on the server.

Look up the documentation for NFS to read more. Google can help.

Old 04-13-2007, 02:41 PM   #4
LQ Newbie
Registered: Apr 2007
Posts: 27

Original Poster
Rep: Reputation: 15
Thanks Ian and Chris


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Allowing NFS in IPTABLES: Fix port for NFS Lock Manager Swakoo Linux - General 10 08-25-2006 05:24 AM
NFS client = Linux, NFS server = Mac OS X Tiger --> Hell of a problem make Linux - Networking 9 03-10-2006 05:16 AM
nfs client on knoppix 3.9 - problem mounting nfs drive Rod Butcher Linux - Networking 1 09-21-2005 04:18 AM
Sync for Samsung Sync master Naphoon Linux - Hardware 1 10-16-2004 06:20 PM
nfs client should it use tcp or udp to nfs serve rportmapper andersonas Linux - Networking 2 06-30-2004 12:05 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:02 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration