Review your favorite Linux distribution.
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 02-13-2008, 06:30 PM   #1
LQ Newbie
Registered: Feb 2008
Posts: 1

Rep: Reputation: 0
NFS out of sync

We have a NFS server (running RHEL4) to support a large number of client workstations (running RHEL4). The clients are all identical (in term of hardware, OS, system configuration and etc), and have /usr/local mounted from the NFS server. /etc/fstab is configured identically on all clients as such:
masterfs:/usr/local /usr/local nfs defaults 0 0

For some reason, one client's /usr/local is out of sync with the rest of clients (both files and the time stamps). For example:

On one client that is out of sync:

$ ls -all /usr/local/lcls/tools/edm/display/bpms
-rwxr-xr-x 1 softegr lcls 31991 Jul 25 2007 bpm_stripline_diagnostic.edl
-rw-rw-r-- 1 softegr lcls 32581 Apr 27 2007 bpm_stripline_diagnostic.edl~
-rw-rw-r-- 1 softegr lcls 6907 Dec 8 2006 bpm_stripline_sim.edl
-rw-r--r-- 1 softegr lcls 6943 Dec 8 2006 bpm_stripline_sim.edl~

On all others :

$ ls -all /usr/local/lcls/tools/edm/display/bpms
-rw-rw-r-- 1 softegr lcls 31991 Jan 16 16:27 bpm_stripline_diagnostic.edl
-rw-rw-r-- 1 softegr lcls 6907 Jan 16 16:27 bpm_stripline_sim.edl
-rw-rw-r-- 1 iocegr lcls 88455 Jan 30 09:49 bpm_values_table.edl
drwxrwxr-x 2 softegr lcls 4096 Jan 30 09:49 CVS

What is going on here? This is causing us a lot of problems. I would certainly expect that /usr/local should be transparent and in sync on all clients. But this dir on one client is clearly out of sync for quite long and doesn't know how to sync back with the rest automatically. I have to reboot the client to clear the problem when that happens.

Is there anyway to prevent this happen? Any help is greatly appreciated.

Thank you very much,
Old 02-13-2008, 09:16 PM   #2
Registered: Jan 2008
Distribution: RHEL, CentOS, Ubuntu
Posts: 379

Rep: Reputation: 38
Possibly a product of having multiple clients mounted to the same file system editing the same file at the same time.

Are you using any version control software? You may have to use a file system with a locking feature or a version control system.


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
Use of 'sync' in NFS Karthi_India Linux - Newbie 3 04-13-2007 02:41 PM
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 > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:13 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration