Bug 133833 - df returns value of "1" for "1-K", "Used", "Available" fields for NFS mounted reiserfs filesystems
Summary: df returns value of "1" for "1-K", "Used", "Available" fields for NFS mounte...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: kernel
Version: 3.0
Hardware: i686
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Rik van Riel
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-09-27 20:01 UTC by Matthew Peterson
Modified: 2007-11-30 22:07 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-12-20 20:56:43 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
strace of df on kernel-2.4.21-20.EL (has problems, returns value of 1 for df) (4.73 KB, text/plain)
2004-09-27 20:15 UTC, Matthew Peterson
no flags Details
strace of df on kernel-2.4.21-15.0.4.EL (does not have the problem with reiserfs) (4.73 KB, text/plain)
2004-09-27 20:16 UTC, Matthew Peterson
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2004:550 0 normal SHIPPED_LIVE Updated kernel packages available for Red Hat Enterprise Linux 3 Update 4 2004-12-20 05:00:00 UTC

Description Matthew Peterson 2004-09-27 20:01:09 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/125.5 (KHTML, 
like Gecko) Safari/125.9

Description of problem:
'df' using kernel-2.4.21-20.EL (RedHat WS v3) reports values of "1" in the fields "1K-
blocks", "Used", "Available" for NFS mounted reiserfs systems.  

kernel-2.4.21-15.0.4.EL does not exhibit this problem.

Version-Release number of selected component (if applicable):
kernel-2.4.21-20.EL


How reproducible:
Always

Steps to Reproduce:
1. On kernel-2.4.21-20.EL run:  strace /bin/df /disks/data/omm_vol7/.
    # omm_vol7 is a NFS mounted reiserfs filesystem, in this case, 460GB
2. Run df /disks/data/omm_vol7/

Actual Results:  
------------------
kernel-2.4.21-20.EL
------------------
strace /bin/df /disks/data/omm_vol7/. (specifically the statfs section):
-----
statfs("/disks/data/omm_vol7", {f_type="NFS_SUPER_MAGIC", f_bsize=4294967295, 
f_blocks=4294967295, f_bfree=4294967295, f_bavail=4294967295, 
f_files=4294967295, f_ffree=4294967295, f_fsid={0, 0}, f_namelen=255, f_frsize=0}) = 0
-----
Results of: df /disks/data/omm_vol7
-----
Filesystem           1K-blocks      Used Available Use% Mounted on
saffron:/data1/omm_vol7
                             1         1         1   0% /disks/data/omm_vol7


Expected Results:  
---------------------
kernel-2.4.21-15.0.4.EL
---------------------
strace /bin/df /disks/data/omm_vol7/. (specifically the statfs section):
-----
statfs("/disks/data/omm_vol7", {f_type="NFS_SUPER_MAGIC", f_bsize=4096, 
f_blocks=118485686, f_bfree=6162848, f_bavail=6162848, f_files=4294967295, 
f_ffree=4294967295, f_fsid={0, 0}, f_namelen=255, f_frsize=0}) = 0
-----
Results of: df /disks/data/omm_vol7
-----
Filesystem           1K-blocks      Used Available Use% Mounted on
saffron:/data1/omm_vol7
                     473942744 449291352  24651392  95% /disks/data/omm_vol7

Additional info:

In fixing #126657 "df wrong output terabyte", was this bug created?

Comment 1 Matthew Peterson 2004-09-27 20:15:50 UTC
Created attachment 104396 [details]
strace of df on kernel-2.4.21-20.EL (has problems, returns value of 1 for df)

Comment 2 Matthew Peterson 2004-09-27 20:16:50 UTC
Created attachment 104397 [details]
strace of df on kernel-2.4.21-15.0.4.EL (does not have the problem with reiserfs)

Comment 3 Matthew Peterson 2004-09-27 21:49:57 UTC
Just noticed that this is simliar to: 132525

Comment 4 Ernie Petrides 2004-09-28 01:51:10 UTC

*** This bug has been marked as a duplicate of 132244 ***

Comment 5 John Flanagan 2004-12-20 20:56:43 UTC
An errata has been issued which should help the problem 
described in this bug report. This report is therefore being 
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files, 
please follow the link below. You may reopen this bug report 
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2004-550.html



Note You need to log in before you can comment on or make changes to this bug.