a question on NFS


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users a question on NFS
# 1  
Old 06-26-2007
a question on NFS

Can I always stat a file which is NFS mounted. Will the results always show up and make sense ?
File size, blocks, access time etc ? Will we always be able to get that information for an NFS mounted file.

I mean, that file is sitting on a remote system right.. which can be any system.. EMC or a NetAppp or anything.. who knows whether or how the remote file system implements all this statistics..
# 2  
Old 06-26-2007
In theory yes, as that is the purpose of NFS.

NFS is a standard protocol (even though there are a number of versions of it), the idea is that all machines, no matter how different, use the same information "on-the-wire", so as long as a machine implements NFS, you should not care what type of machine it is.

If there is any translation to be done, that is the foreign machines job, for instance Windows does not have user and group ids like UNIX, so Windows has to emulate them somehow, but how it does that is invisible to the NFS client.

Access time can be a trouble-some one, especially if the machines are not synchronised to a common time source, a good example of this manifesting as a problem is 'make' running more build commands than are actually needed.

Basically, if a machine does not directly implement some feature of NFS then either it must

(a) emulate it
(b) return an error when it is attempted to be used

A good example of (b) is some hosts may not support file region locking.
# 3  
Old 06-26-2007
Thanks a lot porter !!!
# 4  
Old 06-27-2007
Offtopic : Few months ago I posted here some thoughts on NFS performance version 3. There are some issues with NFS clients and server on Linux, whereas UNIX's times look good. It's preferable that you use version 4, as it has many improvements, of course, if you are looking for better performance.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

NFS write error on host xyz: Stale NFS file handle - Solaris 10

Oct 13 12:19:15 xyz nfs: NFS write error on host xyz: Stale NFS file handle. Oct 13 12:19:15 xyz nfs: (file handle: 68000000 1bc5492e 20000000 377c5e 1ce9395c 720a6203 40000000 bdfb0400) Oct 13 12:19:15 xyz nfs: NFS write error on host zyz: Stale NFS file handle. Oct 13 12:19:15 xyz nfs: ... (5 Replies)
Discussion started by: psychocandy
5 Replies

2. UNIX for Dummies Questions & Answers

NFS question when you have a subdirectory that you don't want to be shared?

I have a somewhat interesting problem, we've decided to load balance a java application and as such I'll be running our application on four physical machines as opposed to the single machine it's currently running on. I've centralized the directory that the application requires (including the... (2 Replies)
Discussion started by: xdawg
2 Replies

3. Solaris

Quick NFS question

Hello, I have a quick question. How do you know which protocol version of NFS is setup on your Solaris 10 servers? Example 2, 3 or 4 (3 Replies)
Discussion started by: bitlord
3 Replies

4. Solaris

NFS question

How do I get directories form remote server " A " mounted to server B? Please provide the necessary steps. (1 Reply)
Discussion started by: sam101
1 Replies

5. Solaris

NFS- share drive question

Ok. Here is the situation, I have server A which need to access /tmp folder of server B. Can I mount NFS share (/tmp) from client (serverA)?please let me know (3 Replies)
Discussion started by: sam101
3 Replies

6. HP-UX

SFU/NFS question

I am new in UNIX so pardon me if I am asking this question. We are using SFU in Windows to have a Windows folder mounted over UNIX. While we can see the mount, everytime i cd on the mounted folder (e.g. cd CONFIG) I always get Permission denies error. Does anyone know why I cannot go inside the... (11 Replies)
Discussion started by: Jolas
11 Replies

7. Linux

NFS file handle question

Hello All, I have a small question regarding the NFS file handles. Suppose I have a NFS client who has requested for a particular file from the NFS server.Now lets assume that I am using a NFS v2 server. So I get the filehandle for that file and I can use it. Suppose later I upgrade the server to... (0 Replies)
Discussion started by: prathamesh
0 Replies

8. Solaris

NFS write error on host : Stale NFS file handle

:confused:Hi all When i see in the /var/adm/messages, i saw the following error unix: NFS write error on host : Stale NFS file handle. unix: (file handle: 45ca415 3e7 a0000 2c7f6 3ebfc25f a0000 2 3e49) It is using sunOS 5.7. Is anybody know what is this error? Is is related to any network... (2 Replies)
Discussion started by: AirWalker83
2 Replies

9. SCO

NFS Question

I am very new to Unix. Is it possible to setup a NFS share on a Sco Unix server that could be accessable by a Windows 2003 server? If so could someone point me in the right direction with either the commands or documentation? (1 Reply)
Discussion started by: Johnd
1 Replies
Login or Register to Ask a Question