Operating System - Linux
1827704 Members
2988 Online
109967 Solutions
New Discussion

NFS Filesystem DF Usage ??

 
SOLVED
Go to solution
MikeL_4
Super Advisor

NFS Filesystem DF Usage ??

We are runninf Red Hat 5.5 on several servers, with one server being an NFS server and sharing file systems out to other servers..

Issue is the client has noticed that a df -k on a file system on serverA, may report different usage than on serverB...
On serverB:
=> df -k .
Filesystem 1K-blocks Used Available Use% Mounted on
serverA-p:/appsoftware
10321216 7080480 2716448 73% /apps

On NFS ServerA:
=> df -k .
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/datavg-lvol2
10321208 7080532 2716388 73% /appsoftware

On serverC:
=> df -k .
Filesystem 1K-blocks Used Available Use% Mounted on
serverA-p:/appsoftware
10321216 7080832 2716096 73% /apps

How often do file system stats get updated across the NFS clients with the NFS server ??

or will these always be off some due to activity on the file system across the different clients ??
2 REPLIES 2
Zinky
Honored Contributor
Solution

Re: NFS Filesystem DF Usage ??

Yes . There will always be differences specially if your NFS share is very dynamic.. lots of activities etc
Hakuna Matata

Favourite Toy:
AMD Athlon II X6 1090T 6-core, 16GB RAM, 12TB ZFS RAIDZ-2 Storage. Linux Centos 5.6 running KVM Hypervisor. Virtual Machines: Ubuntu, Mint, Solaris 10, Windows 7 Professional, Windows XP Pro, Windows Server 2008R2, DOS 6.22, OpenFiler
MikeL_4
Super Advisor

Re: NFS Filesystem DF Usage ??

thanks