From unknown Wed Jun 25 05:39:53 2025 X-Loop: help-debbugs@gnu.org Subject: bug#6544: Fwd: bug in util du (du (GNU coreutils) 7.4), OS Ubuntu 9.10 Rus. Resent-From: aureliano@pochtamt.ru Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-coreutils@gnu.org Resent-Date: Wed, 30 Jun 2010 17:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 6544 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: 6544@debbugs.gnu.org X-Debbugs-Original-To: bug-coreutils@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.12779206633785 (code B ref -1); Wed, 30 Jun 2010 17:58:02 +0000 Received: (at submit) by debbugs.gnu.org; 30 Jun 2010 17:57:43 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OU1Xa-0000z0-9f for submit@debbugs.gnu.org; Wed, 30 Jun 2010 13:57:43 -0400 Received: from mx10.gnu.org ([199.232.76.166]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OU1Hi-0000r8-Fn for submit@debbugs.gnu.org; Wed, 30 Jun 2010 13:41:19 -0400 Received: from lists.gnu.org ([199.232.76.165]:54735) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1OU1Hd-0002Eb-Sl for submit@debbugs.gnu.org; Wed, 30 Jun 2010 13:41:13 -0400 Received: from [140.186.70.92] (port=51612 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OU1Hc-0005Ss-32 for bug-coreutils@gnu.org; Wed, 30 Jun 2010 13:41:13 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, HTML_MESSAGE, T_TO_NO_BRKTS_FREEMAIL autolearn=unavailable version=3.3.1 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OU1Ha-0003Bh-8f for bug-coreutils@gnu.org; Wed, 30 Jun 2010 13:41:12 -0400 Received: from web24.pochta.ru ([82.204.219.124]:39845) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OU1HZ-0003B7-Ue for bug-coreutils@gnu.org; Wed, 30 Jun 2010 13:41:10 -0400 Received: from [127.0.0.1] (port=54198 helo=localhost) by web24.pochta.ru ( sendmail 8.13.3/8.13.1) with esmtp id 1OU1HQ-0006ck-Tr; Wed, 30 Jun 2010 21:41:06 +0400 From: aureliano@pochtamt.ru In-Reply-To: <60819e34cad62586e2a601976998eead52c9d215@mail.qip.ru> References: <60819e34cad62586e2a601976998eead52c9d215@mail.qip.ru> Date: Wed, 30 Jun 2010 21:41:00 +0400 Message-Id: <649a8f6d5b8516d69151e1bc885bae778b9a69e3@mail.qip.ru> X-Priority: 3 Content-Type: multipart/alternative; charset="KOI8-R"; boundary="=_e21902503e8e8af472112a82f76f506c" MIME-Version: 1.0 X-SpamTest-Envelope-From: aureliano@pochtamt.ru X-SpamTest-Group-ID: 00000000 X-SpamTest-Info: Profiles 14481 [Jun 30 2010] X-SpamTest-Method: none X-SpamTest-Rate: 0 X-SpamTest-Status: Not detected X-SpamTest-Status-Extended: not_detected X-SpamTest-Version: SMTP-Filter Version 3.0.0 [0278], KAS30/Release X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -3.3 (---) X-Mailman-Approved-At: Wed, 30 Jun 2010 13:57:40 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.6 (----) --=_e21902503e8e8af472112a82f76f506c Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable =0A----- forwarded letter begin -----=0A=0D=0ADate: Wed, 30 Jun 2010 21:= 11:33 +0400=0AFrom: aureliano@pochtamt.ru=0A=0D=0ASubject: bug in util d= u (du (GNU coreutils) 7.4), OS Ubuntu 9.10 Rus.=0ATo: fileutils-bugs@gnu= .ai.mit.edu=0A=0D=0A=0A=0D=0AHello.=0A=0ASend to you interest listing fr= om my console=0A=0A+---=0A$ du -s ~/.aMule=0A20129448 /home/aurel= iano/.aMule=0A$ du -sh ~/.aMule=0A20G /home/aureliano/.aMule=0A$ du= -bs ~/.aMule=0A126440165670 /home/aureliano/.aMule=0A$ df -h=0A=E6= =C1=CA=CC=CF=D7=C1=D1 =D3=C9=D3=D4=C5=CD=C1 =F2=C1=DA=CD =E9= =D3=D0 =E4=CF=D3=D4 =E9=D3=D0% =D3=CD=CF=CE=D4=C9=D2=CF=D7=C1=CE=C1= =CE=C1=0A [...skip...]=0A/dev/sda5 33G 28G 2,9G 91%= /home=0A=0A$ du --version=0Adu (GNU coreutils) 7.4=0ACopyright (C) 2009= Free Software Foundation, Inc.=0A=EC=C9=C3=C5=CE=DA=C9=D1 GPLv3+: GNU G= PL =D7=C5=D2=D3=C9=C9 3 =C9=CC=C9 =C2=CF=CC=C5=C5 =D0=CF=DA=C4=CE=C5=CA= .=0A=FC=D4=CF =D3=D7=CF=C2=CF=C4=CE=CF=C5 =D0=D2=CF=C7=D2=C1=CD=CD=CE= =CF=C5 =CF=C2=C5=D3=D0=C5=DE=C5=CE=C9=C5: =D7=D9 =CD=CF=D6=C5=D4=C5 =D3= =D7=CF=C2=CF=C4=CE=CF =C9=DA=CD=C5=CE=D1=D4=D8 =C9 =D2=C1=D3=D0=D2=CF=D3= =D4=D2=C1=CE=D1=D4=D8 =C5=C7=CF.=0A=F0=D2=CF=C7=D2=C1=CD=CD=CE=CF=C5 =CF= =C2=C5=D3=D0=C5=DE=C5=CE=C9=C5 =D2=C1=D3=D0=D2=CF=D3=D4=D2=C1=CE=D1=C5= =D4=D3=D1 =C2=C5=DA =C7=C1=D2=C1=CE=D4=C9=C9 =D7 =CD=C1=CB=D3=C9=CD=C1= =CC=D8=CE=CF=CA =D3=D4=C5=D0=C5=CE=C9 =D2=C1=DA=D2=C5=DB=C5=CE=CE=CF=CA= =DA=C1=CB=CF=CE=CF=C4=C1=D4=C5=CC=D8=D3=D4=D7=CF=CD .=0A=0A=E1=D7=D4=CF= =D2=D9 =D0=D2=CF=C7=D2=C1=CD=CD=D9 -- Torbjrn Granlund, David MacKenzie= , Paul Eggert=0A=C9 Jim Meyering.=0A=0A$ uname -a=0ALinux extensa5220 2.= 6.31-22-generic #60-Ubuntu SMP Thu May 27 00:22:23 UTC 2010 i686 GNU/Lin= ux=0A+---=0A=0ABut 126440165670 bytes =3D=3D 123.476.724,287 kb =3D=3D 1= 17,757 Gb !=3D 20G (du -sh) > 33G (df, full size of partition). :-)=0A= =0A=0A=0ABest regards. Aureliano.=0A=0A=0D=0A=0D=0A=0A=0D=0A----- forwa= rded letter end -----=0A=0A=0D=0A --=_e21902503e8e8af472112a82f76f506c Content-Type: text/html; charset=KOI8-R Content-Transfer-Encoding: quoted-printable
----- forwarded letter begin -----
=0D=0ADate: Wed, 30 Jun 2010 2= 1:11:33 +0400
From: aureliano@pochtamt.ru
=0D=0ASubject: bug in ut= il du (du (GNU coreutils) 7.4), OS Ubuntu 9.10 Rus.
To: fileutils-bug= s@gnu.ai.mit.edu
=0D=0A
=0D=0AHello.

Send to you interest l= isting from my console

+---
$ du -s ~/.aMule
20129448 =        /home/aureliano/.aMule
$ du -sh= ~/.aMule
20G     /home/aureliano/.aMule
$ du -bs ~/.aMule
126440165670&= nbsp;   /home/aureliano/.aMule
$ df -h
=E6=C1=CA= =CC=CF=D7=C1=D1 =D3=C9=D3=D4=C5=CD=C1      = ;      =F2=C1=DA=CD  =E9=D3=D0  =E4= =CF=D3=D4  =E9=D3=D0% =D3=CD=CF=CE=D4=C9=D2=CF=D7=C1=CE=C1 =CE=C1   [...skip...]/dev/sda5          &= nbsp;   33G   28G  2,9G  91% /home

= $ du --version
du (GNU coreutils) 7.4
Copyright (C) 2009 Free Soft= ware Foundation, Inc.
=EC=C9=C3=C5=CE=DA=C9=D1 GPLv3+: GNU GPL =D7=C5= =D2=D3=C9=C9 3 =C9=CC=C9 =C2=CF=CC=C5=C5 =D0=CF=DA=C4=CE=C5=CA <http:= //gnu.org/licenses/gpl.html>.
=FC=D4=CF =D3=D7=CF=C2=CF=C4=CE=CF= =C5 =D0=D2=CF=C7=D2=C1=CD=CD=CE=CF=C5 =CF=C2=C5=D3=D0=C5=DE=C5=CE=C9=C5:= =D7=D9 =CD=CF=D6=C5=D4=C5 =D3=D7=CF=C2=CF=C4=CE=CF =C9=DA=CD=C5=CE=D1= =D4=D8 =C9 =D2=C1=D3=D0=D2=CF=D3=D4=D2=C1=CE=D1=D4=D8 =C5=C7=CF.
=F0= =D2=CF=C7=D2=C1=CD=CD=CE=CF=C5 =CF=C2=C5=D3=D0=C5=DE=C5=CE=C9=C5 =D2=C1= =D3=D0=D2=CF=D3=D4=D2=C1=CE=D1=C5=D4=D3=D1 =C2=C5=DA =C7=C1=D2=C1=CE=D4= =C9=C9 =D7 =CD=C1=CB=D3=C9=CD=C1=CC=D8=CE=CF=CA =D3=D4=C5=D0=C5=CE=C9= =D2=C1=DA=D2=C5=DB=C5=CE=CE=CF=CA =DA=C1=CB=CF=CE=CF=C4=C1=D4=C5=CC=D8= =D3=D4=D7=CF=CD .

=E1=D7=D4=CF=D2=D9 =D0=D2=CF=C7=D2=C1=CD=CD=D9= --  Torbjrn Granlund, David MacKenzie, Paul Eggert
=C9 Jim Meye= ring.

$ uname -a
Linux extensa5220 2.6.31-22-generic #60-Ubunt= u SMP Thu May 27 00:22:23 UTC 2010 i686 GNU/Linux
+---

But 126440165670 bytes= =3D=3D 123.476.724,287 kb =3D=3D 117,757 Gb !=3D 20G (du -sh) > 33G= (df, full size of partition). :-)



Best regards. Aurelian= o.

=0D=0A=0D=0A
=0D=0A-----  forwarded letter end  -= ----

=0D=0A --=_e21902503e8e8af472112a82f76f506c-- From unknown Wed Jun 25 05:39:53 2025 X-Loop: help-debbugs@gnu.org Subject: bug#6544: Fwd: bug in util du (du (GNU coreutils) 7.4), OS Ubuntu 9.10 Rus. Resent-From: Eric Blake Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-coreutils@gnu.org Resent-Date: Wed, 30 Jun 2010 18:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6544 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: aureliano@pochtamt.ru Cc: 6544@debbugs.gnu.org Received: via spool by 6544-submit@debbugs.gnu.org id=B6544.12779209953981 (code B ref 6544); Wed, 30 Jun 2010 18:04:02 +0000 Received: (at 6544) by debbugs.gnu.org; 30 Jun 2010 18:03:15 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OU1cx-00012A-4y for submit@debbugs.gnu.org; Wed, 30 Jun 2010 14:03:15 -0400 Received: from mx1.redhat.com ([209.132.183.28]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OU1cu-000125-9H for 6544@debbugs.gnu.org; Wed, 30 Jun 2010 14:03:13 -0400 Received: from int-mx08.intmail.prod.int.phx2.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o5UI37tC016024 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 30 Jun 2010 14:03:07 -0400 Received: from [10.11.11.77] (vpn-11-77.rdu.redhat.com [10.11.11.77]) by int-mx08.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o5UI35LY019305; Wed, 30 Jun 2010 14:03:06 -0400 Message-ID: <4C2B8699.2000006@redhat.com> Date: Wed, 30 Jun 2010 12:02:01 -0600 From: Eric Blake Organization: Red Hat User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.10) Gecko/20100621 Fedora/3.0.5-1.fc13 Lightning/1.0b2pre Mnenhy/0.8.2 Thunderbird/3.0.5 MIME-Version: 1.0 References: <60819e34cad62586e2a601976998eead52c9d215@mail.qip.ru> <649a8f6d5b8516d69151e1bc885bae778b9a69e3@mail.qip.ru> In-Reply-To: <649a8f6d5b8516d69151e1bc885bae778b9a69e3@mail.qip.ru> X-Enigmail-Version: 1.0.1 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enigCDC4E2BBC8EF4BCFF90D0F9E" X-Scanned-By: MIMEDefang 2.67 on 10.5.11.21 X-Spam-Score: -10.1 (----------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -10.1 (----------) This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigCDC4E2BBC8EF4BCFF90D0F9E Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable On 06/30/2010 11:41 AM, aureliano@pochtamt.ru wrote: Hello, and thanks for taking the time to write. > $ du --version > du (GNU coreutils) 7.4 Consider upgrading; the latest stable version is 8.5. However, that is unlikely to be related to your problem. >=20 > But 126440165670 bytes =3D=3D 123.476.724,287 kb =3D=3D 117,757 Gb !=3D= 20G (du -sh) > 33G (df, full size of partition). :-) Most likely, you are not seeing a bug, but the effect of hard links and sparse files. http://www.gnu.org/software/coreutils/faq/#df-and-du-report-different-inf= ormation http://www.gnu.org/software/coreutils/faq/#df-Size-and-Used-and-Available= -do-not-add-up --=20 Eric Blake eblake@redhat.com +1-801-349-2682 Libvirt virtualization library http://libvirt.org --------------enigCDC4E2BBC8EF4BCFF90D0F9E Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (GNU/Linux) Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/ iQEcBAEBCAAGBQJMK4adAAoJEKeha0olJ0Nq/NsH/RITUAp7RCMmnQs5Q99j0UNO 6luCSMoe/N3aNbwkoJ3gOhNBeZjgmQpHOANWn68aA/91uKDWYz/0zmMMqecVqO7h jNW+Qwutjj8eFDDpJkgIhbirbRNHlhxpd7hMK07xxBtJnLHx2NrFpqFKSqjC5LUj y5uQOiNonrwM7TIii8TUCp3Kk8cnb8jV3kA9sgF4z2Mxau6rLAhFeVXpoBi0qp50 eDMF/TeUfllWff6SGRTSjXke/i9/kmgEDlKNPUvNwV0br0UowFaKO/y+kscsOEvM 73pEfIXIitudYbuSryye7HFQHzn3EPF62kR2U8DFTQKtDzx4suI2c9EBfIXFD5U= =mQPr -----END PGP SIGNATURE----- --------------enigCDC4E2BBC8EF4BCFF90D0F9E-- From unknown Wed Jun 25 05:39:53 2025 X-Loop: help-debbugs@gnu.org Subject: bug#6544: Re: bug#6544: Fwd: bug in util du (du (GNU coreutils) 7.4), OS Ubuntu 9.10 Resent-From: aureliano@pochtamt.ru Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-coreutils@gnu.org Resent-Date: Wed, 30 Jun 2010 19:35:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6544 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: Eric Blake Cc: 6544@debbugs.gnu.org Received: via spool by 6544-submit@debbugs.gnu.org id=B6544.12779264819805 (code B ref 6544); Wed, 30 Jun 2010 19:35:01 +0000 Received: (at 6544) by debbugs.gnu.org; 30 Jun 2010 19:34:41 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OU33R-0002Y6-5O for submit@debbugs.gnu.org; Wed, 30 Jun 2010 15:34:41 -0400 Received: from web21.pochta.ru ([82.204.219.121]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OU33O-0002Y1-CU for 6544@debbugs.gnu.org; Wed, 30 Jun 2010 15:34:39 -0400 Received: from [127.0.0.1] (port=53603 helo=localhost) by web21.pochta.ru ( sendmail 8.13.3/8.13.1) with esmtp id 1OU338-0002EU-Rj; Wed, 30 Jun 2010 23:34:30 +0400 From: aureliano@pochtamt.ru In-Reply-To: <4C2B8699.2000006@redhat.com> References: <60819e34cad62586e2a601976998eead52c9d215@mail.qip.ru> <649a8f6d5b8516d69151e1bc885bae778b9a69e3@mail.qip.ru> <4C2B8699.2000006@redhat.com> Date: Wed, 30 Jun 2010 23:34:22 +0400 Message-Id: <416b1cc933220c07e744c20dda9edcd52b7b1eb1@mail.qip.ru> X-Priority: 3 Content-Type: multipart/alternative; charset="KOI8-R"; boundary="=_cf8b1915040d5251151cfdc108f745c1" MIME-Version: 1.0 X-SpamTest-Envelope-From: aureliano@pochtamt.ru X-SpamTest-Group-ID: 00000000 X-SpamTest-Info: Profiles 14482 [Jun 30 2010] X-SpamTest-Method: none X-SpamTest-Rate: 0 X-SpamTest-Status: Not detected X-SpamTest-Status-Extended: not_detected X-SpamTest-Version: SMTP-Filter Version 3.0.0 [0278], KAS30/Release X-Spam-Score: -3.6 (---) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.3 (---) --=_cf8b1915040d5251151cfdc108f745c1 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable Hello!=0A=0A>> But 126440165670 bytes =3D=3D 123.476.724,287 kb =3D=3D 1= 17,757 Gb !=3D 20G (du -sh) > 33G (df, full size of partition). :-)=0A= =0A> Most likely, you are not seeing a bug, but the effect of hard links= and=0A> sparse files.=0A> http://www.gnu.org/software/coreutils/faq/#df= -and-du-report-different-information=0A> http://www.gnu.org/software/cor= eutils/faq/#df-Size-and-Used-and-Available-do-not-add-up=0A=0AYes, proba= bly you are right at the expense of sparse files, because the sum of the= sizes issued utility ls close to the amount issued by a du -b. But why= the du without the keys, like to du -k, du -m and du -h gives the corre= ct size (without sparse)?=0A=0A=0A=0ABest regards. Aureliano.=0A=0A=0A= =0A=0A=0AOn 06/30/2010 22:03:25, "Eric Blake" wrote:=0AOn 06/30/2010 11= :41 AM, aureliano@pochtamt.ru wrote:=0A=0AHello, and thanks for taking t= he time to write.=0A=0A> $ du --version=0A> du (GNU coreutils) 7.4=0A=0A= Consider upgrading; the latest stable version is 8.5. However, that is= =0Aunlikely to be related to your problem.=0A=0A> =0A> But 126440165670= bytes =3D=3D 123.476.724,287 kb =3D=3D 117,757 Gb !=3D 20G (du -sh) > 3= 3G (df, full size of partition). :-)=0A=0AMost likely, you are not seein= g a bug, but the effect of hard links and=0Asparse files.=0Ahttp://www.g= nu.org/software/coreutils/faq/#df-and-du-report-different-information=0A= http://www.gnu.org/software/coreutils/faq/#df-Size-and-Used-and-Availabl= e-do-not-add-up=0A=0A-- =0AEric Blake eblake@redhat.com +1-801-349-= 2682=0ALibvirt virtualization library http://libvirt.org=0A=0A=0A --=_cf8b1915040d5251151cfdc108f745c1 Content-Type: text/html; charset=KOI8-R Content-Transfer-Encoding: quoted-printable Hello!

>> But 126440165670 bytes =3D=3D 123.476.724,287 kb= =3D=3D 117,757 Gb !=3D 20G (du -sh) > 33G (df, full size of partitio= n). :-)

> Most likely, you are not seeing a bug, but the effec= t of hard links and
> sparse files.
> http://www.gnu.org/sof= tware/coreutils/faq/#df-and-du-report-different-information
> http= ://www.gnu.org/software/coreutils/faq/#df-Size-and-Used-and-Available-do= -not-add-up

Yes, probably you are right at the expense of sparse= files, because the sum of the sizes issued utility ls close to the amou= nt issued by a du -b. But why the du without the keys, like to du -k, du= -m and du -h gives the correct size (without sparse)?



Be= st regards. Aureliano.





On 06/30/2010 22:03:25, "E= ric Blake" <eblake@redhat.com> wrote:
<= blockquote style=3D"border-left: 2px dotted rgb(170, 170, 170); margin:= 10px 10px 10px 0px; padding-left: 10px;">On 06/30/2010 11:41 AM, aureli= ano@pochtamt.ru wrote:

Hello, and thanks for taking the time to w= rite.

> $ du --version
> du (GNU coreutils) 7.4

C= onsider upgrading; the latest stable version is 8.5. However, that isunlikely to be related to your problem.

>
> But 12644= 0165670 bytes =3D=3D 123.476.724,287 kb =3D=3D 117,757 Gb !=3D 20G (du -= sh) > 33G (df, full size of partition). :-)

Most likely, you a= re not seeing a bug, but the effect of hard links and
sparse files.http://www.gnu.org/software/coreutils/faq/#df-and-du-report-different-= information
http://www.gnu.org/software/coreutils/faq/#df-Size-and-Us= ed-and-Available-do-not-add-up

--
Eric Blake eblake@redhat.= com +1-801-349-2682
Libvirt virtualization library http://libvirt.= org


--=_cf8b1915040d5251151cfdc108f745c1-- From debbugs-submit-bounces@debbugs.gnu.org Tue May 31 17:00:18 2011 Received: (at control) by debbugs.gnu.org; 31 May 2011 21:00:18 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QRW30-0001WJ-4y for submit@debbugs.gnu.org; Tue, 31 May 2011 17:00:18 -0400 Received: from mx.meyering.net ([82.230.74.64]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QRW2x-0001W7-Th for control@debbugs.gnu.org; Tue, 31 May 2011 17:00:17 -0400 Received: by rho.meyering.net (Acme Bit-Twister, from userid 1000) id EF03B6031A; Tue, 31 May 2011 23:00:09 +0200 (CEST) From: Jim Meyering To: control@debbugs.gnu.org Subject: Re: bug#6544: Re: bug#6544: Fwd: bug in util du (du (GNU coreutils) 7.4), OS Ubuntu 9.10 In-Reply-To: <416b1cc933220c07e744c20dda9edcd52b7b1eb1@mail.qip.ru> (aureliano@pochtamt.ru's message of "Wed, 30 Jun 2010 23:34:22 +0400") References: <60819e34cad62586e2a601976998eead52c9d215@mail.qip.ru> <649a8f6d5b8516d69151e1bc885bae778b9a69e3@mail.qip.ru> <4C2B8699.2000006@redhat.com> <416b1cc933220c07e744c20dda9edcd52b7b1eb1@mail.qip.ru> Date: Tue, 31 May 2011 23:00:09 +0200 Message-ID: <87aae2h9gm.fsf@rho.meyering.net> Lines: 19 MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -6.0 (------) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.0 (------) tags 6544 + notabug close 6544 thanks aureliano@pochtamt.ru wrote: >>> But 126440165670 bytes == 123.476.724,287 kb == 117,757 Gb != 20G (du -sh) > 33G (df, full size of partition). :-) > >> Most likely, you are not seeing a bug, but the effect of hard links and >> sparse files. >> http://www.gnu.org/software/coreutils/faq/#df-and-du-report-different-information >> http://www.gnu.org/software/coreutils/faq/#df-Size-and-Used-and-Available-do-not-add-up > > Yes, probably you are right at the expense of sparse files, because > the sum of the sizes issued utility ls close to the amount issued by a > du -b. But why the du without the keys, like to du -k, du -m and du -h > gives the correct size (without sparse)? Good to see it's resolved. I've closed this issue.