All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Mr. Berkley Shands" <berkley@dssimail.com>
To: linux-kernel@vger.kernel.org, neilb@cse.unsw.edu.au
Subject: "df" errors for NFS mounted filesystems under 2.6.9-rc*
Date: Tue, 21 Sep 2004 12:34:36 -0500	[thread overview]
Message-ID: <4150662C.9030407@dssimail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 367 bytes --]

I've noticed that the reported disk space for NFS mounted partitions is 
very broken under 2.6.9-[rc1, rc2, rc2-bk7].
"df -k" and "df -h" report wildly different stats between 2.6.6 and 
2.6.9*. See attached...
I don't know if this is the version of nfs mount or some other kernel 
interaction. It does not appear to
hurt anything (no crashes or panics :-).

berkley

[-- Attachment #2: bad.df --]
[-- Type: text/plain, Size: 3335 bytes --]

linux-2.6.9-rc* seems to have a problem reporting NFS mounted disk subsystems statistics :-)
2.6.9-rc1, -rc2 and -rc2-bk7 all show the WRONG file systems sizes (redHat ES3.0 U3, x86_64)
in this example.

root@typhoon raid0/berkley/sources> uname -a
Linux typhoon 2.6.6 #74 SMP Mon Sep 20 10:21:28 CDT 2004 x86_64 x86_64 x86_64 GNU/Linux

root@typhoon /root> df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/hda1             1.9G  385M  1.5G  22% /
/dev/hda2             7.6G  5.2G  2.0G  73% /usr
/dev/hda3             1.9G  241M  1.6G  14% /var
/dev/hda6              24G   33M   23G   1% /export0
/dev/md2              602G   30G  542G   6% /s0
none                  3.7G     0  3.7G   0% /dev/shm
hurricane:/raid0      203G   51G  142G  27% /raid0
hurricane:/raid1      871G  263G  564G  32% /raid1
hurricane:/raid2      1.2T   19G  1.1T   2% /raid2
hurricane:/raid3      766G  160G  569G  22% /raid3
hurricane:/export0     20G  9.6G  9.4G  51% /export/hurricane
root@typhoon /root> df -k
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/hda1              1968872    393728   1475128  22% /
/dev/hda2              7874688   5399696   2074968  73% /usr
/dev/hda3              1968904    246364   1622524  14% /var
/dev/hda6             24686908     32828  23400032   1% /export0
/dev/md2             630269456  30490980 567762580   6% /s0
none                   3830756         0   3830756   0% /dev/shm
hurricane:/raid0     211931872  52802732 148363604  27% /raid0
hurricane:/raid1     912392924 275583268 591181444  32% /raid1
hurricane:/raid2     1225352628  19873668 1144199824   2% /raid2
hurricane:/raid3     803099344 166823728 596113120  22% /raid3
hurricane:/export0    20896660   9982100   9853068  51% /export/hurricane

root@typhoon /root> uname -a
Linux typhoon 2.6.9-rc2-bk7 #19 SMP Tue Sep 21 12:03:21 CDT 2004 x86_64 x86_64 x86_64 GNU/Linux

root@typhoon /root> df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/hda1             1.9G  389M  1.5G  22% /
/dev/hda2             7.6G  5.2G  2.0G  73% /usr
/dev/hda3             1.9G  240M  1.6G  14% /var
/dev/hda6              24G   33M   23G   1% /export0
/dev/md2              602G   30G  542G   6% /s0
none                  3.7G     0  3.7G   0% /dev/shm
hurricane:/raid0       26G  6.3G   18G  27% /raid0
hurricane:/raid1      109G   33G   71G  32% /raid1
hurricane:/raid2      147G  2.4G  137G   2% /raid2
hurricane:/raid3       96G   20G   72G  22% /raid3
hurricane:/export0    2.5G  1.2G  1.2G  51% /export/hurricane
root@typhoon /root> df -k
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/hda1              1968872    397440   1471416  22% /
/dev/hda2              7874688   5399696   2074968  73% /usr
/dev/hda3              1968904    246180   1622708  14% /var
/dev/hda6             24686908     32828  23400032   1% /export0
/dev/md2             630269456  30490980 567762580   6% /s0
none                   3818292         0   3818292   0% /dev/shm
hurricane:/raid0      26491484   6600340  18545452  27% /raid0
hurricane:/raid1     114049116  34447908  73897684  32% /raid1
hurricane:/raid2     153169080   2484208 143024980   2% /raid2
hurricane:/raid3     100387420  20852968  74514140  22% /raid3
hurricane:/export0     2612084   1247764   1231636  51% /export/hurricane

                 reply	other threads:[~2004-09-21 17:34 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4150662C.9030407@dssimail.com \
    --to=berkley@dssimail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=neilb@cse.unsw.edu.au \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.