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

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:

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
                        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.

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

df -F nfs

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

gregor 7% df -F nfs
Filesystem           1K-blocks      Used Available Use% Mounted on
                    1439794752 783332312 656462440  55% /nfs/raidzone/data
                            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.

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-2018 Invision Power Services, Inc.