Advertisement

04.02.2008 at 02:23PM PDT, ID: 23290980
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

How to see file locks over nfs. Is it possible?

Tags: SuSE Linux, NFS, SuSE Pro 9.1 and 10.x
I have a SuSE linux nfs client receiving files via ftp. The ftp process applies a lock to incoming files (which I can see locally). When I mount the receiving directory via NFS from a file server, I cannot see the locks on the file server (I can see them on the cilent just using lsof). The problem appears to not involve ftp--I have replicated with a small perl-based file locking tester script I wrote.

So, the question is: should I be able to see file locks created on the NFS client when I'm on the server looking at the remotely mounted files? Seems like I should be able to. I've read articles from people who say they can with no problems. I've also read postings from admins who say they can't.

Here is the mount fstab entry on the client:
testmw:/usr/local/val/upload/lftp/requests /usr/local/val/upload/ftp nfs rw,bg,hard,intr,tcp,vers=3,wsize=8192,rsize=8192 0 0

Here is the export entry from the server:
/usr/local/val/upload/ftp/requests vwfe1(sync,no_root_squash,rw,subtree_check)

I've experimented with various options on both of these settings.

Server
Linux testmw 2.6.18.2-34-bigsmp #1 SMP Mon Nov 27 11:46:27 UTC 2006 i686 athlon i386 GNU/Linux
testmw:~ # rpm -qf `which rpc.nfsd`
nfs-utils-1.0.10-22

Client:
Linux krusty 2.6.4-52-smp #1 SMP Wed Apr 7 02:11:20 UTC 2004 i686 i686 i386 GNU/Linux
I hand built nfs-utils 1.1.2 for the client from source.

The objective is
mount a filesystem on the client
apply a lock to a file on the client (on an nfs dir)  using just a test script that applies a lock
I can then see the lock on the client with lsof
I want to be able to use lsof on the server to see the same lock

Any ideas?
Start your free trial to view this solution
Question Stats
Zone: Software
Question Asked By: rzup
Solution Provided By: wombatOfLove
Participating Experts: 1
Solution Grade: B
Views: 26
Translate:
Loading Advertisement...
04.03.2008 at 02:25PM PDT, ID: 21277122

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
04.03.2008 at 02:52PM PDT, ID: 21277307

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
Loading Advertisement...
20080236-EE-VQP-29 / EE_QW_2_20070628