Help - Search - Members - Calendar
Full Version: Df Reports Incorrect Sizes
Linuxhelp > Support > Technical Support
nifflerX
Hi,

I'm running RHEL WS v.3. Kernel: 2.4.21-20.ELsmp. I use the automounter to mount directories via NFS. However, when I type in df -h I get the following results:

CODE
Filesystem            Size  Used Avail Use% Mounted on
/dev/hda5             996M  264M  682M  28% /
/dev/hda1              76M   41M   32M  56% /boot
/dev/hda8             9.5G  2.6G  6.5G  29% /home
/dev/hda2             3.4G  3.0G  215M  94% /opt
none                 1004M     0 1004M   0% /dev/shm
/dev/hda3             2.9G  2.4G  402M  86% /usr
/dev/hda6             996M   86M  860M  10% /var
remote.machine.address:/home/data
                        1     1     1   0% /nfs/raidzone/data


This doesn't impact my work in anyway because I am still able to cp and mv data to the nfs mount. I was just wondering why I'm getting this weird response. If anyone knows I'd appreciate it. Thanks so much.


-NifflerX
Corey
I think that by default, dfs won't display the correct sizes of your NFS shares. Try this:

QUOTE
df -F nfs


And see if that reports correctly.
nifflerX
Thanks for the reply. When I tried that I got the following:

CODE
gregor 7% df -F nfs
Filesystem           1K-blocks      Used Available Use% Mounted on
remote.machine.1:/home/data
                    1439794752 783332312 656462440  55% /nfs/raidzone/data
remote.machine.2://home/small
                            1         1         1   0% /nfs/raidzone/small


I'm not sure why only one of the nfs mounts would show up correctly. Also, if I type in 'df -h' the data mount shows up the same as it does above, that is with all the correct info. But that is only since I did the 'df -F nfs' first. Any thoughts? Thanks so much.


-NifflerX
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2017 Invision Power Services, Inc.