LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 12-04-2011, 05:20 AM   #1
ujejski1
LQ Newbie
 
Registered: Dec 2011
Posts: 1

Rep: Reputation: Disabled
Locking access to file system when NFS is being used


Hello,

I have a problem which can be encountered from time to time and is not easy for replication. It looks like the file system (or rather part of it - I'm not sure which one) cannot be accessible from any application for several seconds/minutes. For example krusader or mc when launched, freeze until this "lock" disappears. When already launched, file managers or applications using some of the "locked" files also freeze.
When freezed I can still use some apps or open a new session (konsole, ssh or NX) and it works until I try to open some files. Even typing 'ls' makes the konsole session irresponsive.

I'm not quite sure, but probably this begun when I started to use a new NAS as a storage mounted using async NFS protocol. However this problem does not apply only to NAS stored files but also to local ones (also local /home dir is affected).

It is not a server/hardware issue - recently it was replaced with a new one. This same problem was encountered (even much more often) on Mandriva 2010.2/64 as well as Mandriva 2011.0/64 (now being used). I use Mdv on many computers for many years and never seen such problem.

I have no idea what to investigate to get rid of it? Any idea would be appreciated,

Sincerely,
Ujejski

Last edited by ujejski1; 12-04-2011 at 07:43 AM.
 
Old 12-06-2011, 09:16 AM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,269

Rep: Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314
Note when it happens and check /var/log/messages for anything occurring at that time.

Use fuser /yourfilesystem to see what is using the filesystem and what state it is in when the problem occurs. Although fuser will probably hang, too.

Also do ifconfig -a to see if you have network errors.
 
  


Reply


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
Samba on NFS File Locking Cottsay Linux - Software 5 07-28-2015 03:23 AM
File locking issues with clustering, GFS, and NFS tmccord1 Linux - Server 3 05-05-2010 04:38 PM
access collision with shared file system NFS cy163 Linux - Newbie 3 06-02-2008 10:39 AM
Linux Hpux NFS file locking clarkem Linux - Networking 1 08-24-2006 01:38 PM
How to enable NFS file locking? ahz10 Linux - Networking 2 05-22-2006 12:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 05:26 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