bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/476] New: df incorrectly handles volumes > 4TB


From: j_redhat at hoblitt dot com
Subject: [Bug binutils/476] New: df incorrectly handles volumes > 4TB
Date: 26 Oct 2004 18:38:53 -0000

This is how a 4.5TB filesystem with ~400GB of data on it is displayed with df
from coreutils-5.2.1.

nkfb0 root # df -k
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/sda3             15757280   6248088   8708756  42% /
/dev/root_volume/home
                     210399784  13499740 194779340   7% /home/nkfb0
none                   2008512         0   2008512   0% /dev/shm
/dev/sda1               101108     10824     85068  12% /boot
/dev/archive/scr0    585999328 401958244 178169060  70% /scr0
nkfb0 root # df -H
Filesystem             Size   Used  Avail Use% Mounted on
/dev/sda3               17G   6.4G   9.0G  42% /
/dev/root_volume/home
                       216G    14G   200G   7% /home/nkfb0
none                   2.1G      0   2.1G   0% /dev/shm
/dev/sda1              104M    12M    88M  12% /boot
/dev/archive/scr0      601G   412G   183G  70% /scr0
nkfb0 root # lvdisplay
  --- Logical volume ---
  LV Name                /dev/archive/scr0
  VG Name                archive
  LV UUID                TyyfxB-dQZP-iFSR-iPjn-RRz3-Q4tu-mV2Vdp
  LV Write Access        read/write
  LV Status              available
  # open                 1
  LV Size                4.55 TB
  Current LE             4656
  Segments               1
  Allocation             next free (default)
  Read ahead sectors     0
  Block device           253:1

  --- Logical volume ---
  LV Name                /dev/root_volume/home
  VG Name                root_volume
  LV UUID                xInYjE-hEFg-xGHO-ldAT-CS41-j3r4-gKl1lh
  LV Write Access        read/write
  LV Status              available
  # open                 1
  LV Size                202.25 GB
  Current LE             51775
  Segments               1
  Allocation             next free (default)
  Read ahead sectors     0
  Block device           253:0

I'd guess that a 32bit unsigned int is overflowing but I haven't looked at the
source.

This is a dup of Gentoo bug 65644.

http://bugs.gentoo.org/show_bug.cgi?id=65644

-- 
           Summary: df incorrectly handles volumes > 4TB
           Product: binutils
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: binutils
        AssignedTo: unassigned at sources dot redhat dot com
        ReportedBy: j_redhat at hoblitt dot com
                CC: bug-binutils at gnu dot org


http://sources.redhat.com/bugzilla/show_bug.cgi?id=476

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]