LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 04-13-2007, 02:03 PM   #1
Karthi_India
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).

Thanks,

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

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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.

Quote:
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
IBall
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.

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

Original Poster
Rep: Reputation: 15
Thanks Ian and Chris
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:15 AM.

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