From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org)
	by finch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-user+bounces-135711-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1S2eD8-0006EP-8k
	for garchives@archives.gentoo.org; Wed, 29 Feb 2012 07:44:30 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 5959CE0925;
	Wed, 29 Feb 2012 07:44:16 +0000 (UTC)
Received: from smtpq1.gn.mail.iss.as9143.net (smtpq1.gn.mail.iss.as9143.net [212.54.34.164])
	by pigeon.gentoo.org (Postfix) with ESMTP id 79441E0684
	for <gentoo-user@lists.gentoo.org>; Wed, 29 Feb 2012 07:43:18 +0000 (UTC)
Received: from [212.54.34.137] (helo=smtp6.gn.mail.iss.as9143.net)
	by smtpq1.gn.mail.iss.as9143.net with esmtp (Exim 4.71)
	(envelope-from <joost@antarean.org>)
	id 1S2eBx-000371-PI
	for gentoo-user@lists.gentoo.org; Wed, 29 Feb 2012 08:43:17 +0100
Received: from 5ed027d6.cm-7-1a.dynamic.ziggo.nl ([94.208.39.214] helo=data.antarean.org)
	by smtp6.gn.mail.iss.as9143.net with esmtp (Exim 4.71)
	(envelope-from <joost@antarean.org>)
	id 1S2eBx-0008DF-Fq
	for gentoo-user@lists.gentoo.org; Wed, 29 Feb 2012 08:43:17 +0100
Received: from localhost (localhost [127.0.0.1])
	by data.antarean.org (Postfix) with ESMTP id 2FE492DAF
	for <gentoo-user@lists.gentoo.org>; Wed, 29 Feb 2012 08:49:32 +0100 (CET)
X-Virus-Scanned: amavisd-new at antarean.org
Received: from data.antarean.org ([127.0.0.1])
	by localhost (data.antarean.org [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id hohjaTa5tXJK for <gentoo-user@lists.gentoo.org>;
	Wed, 29 Feb 2012 08:49:30 +0100 (CET)
Received: from www.antarean.org (net.antarean.org [10.10.11.5])
	by data.antarean.org (Postfix) with ESMTP id 4BC8416E8
	for <gentoo-user@lists.gentoo.org>; Wed, 29 Feb 2012 08:49:30 +0100 (CET)
Received: from 62.132.204.73
        (SquirrelMail authenticated user joost)
        by www.antarean.org with HTTP;
        Wed, 29 Feb 2012 08:49:30 +0100
Message-ID: <122ff897b0eea31e5fa4119bd8c464f5.squirrel@www.antarean.org>
In-Reply-To: <4F4DCF4D.4090608@gmail.com>
References:
    <CALMtN6wNY5K4350=Sd3UyPsPmnf64tjHpTJsrz+28cgJ2pXyeA@mail.gmail.com>
    <20120228140150.2b35b864@weird.wonkology.org>
    <4F4D75F5.20603@gmail.com>
    <20120229020141.0417c547@weird.wonkology.org>
    <4F4D8F95.7050307@gmail.com> <20120229061705.6389a386@digimed.co.uk>
    <4F4DCF4D.4090608@gmail.com>
Date: Wed, 29 Feb 2012 08:49:30 +0100
Subject: Re: [gentoo-user] Freeing up disk space problem!!
From: "J. Roeleveld" <joost@antarean.org>
To: gentoo-user@lists.gentoo.org
User-Agent: SquirrelMail/1.4.21
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@lists.gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
Content-Type: text/plain;charset=iso-8859-1
X-Priority: 3 (Normal)
Importance: Normal
Content-Transfer-Encoding: quoted-printable
X-Ziggo-spambar: /
X-Ziggo-spamscore: 0.6
X-Ziggo-spamreport: BAYES_05=-0.5,KHOP_DYNAMIC=0.001,RDNS_DYNAMIC=0.982,TW_LV=0.077,T_RP_MATCHES_RCVD=-0.01
X-Ziggo-Spam-Status: No
X-Spam-Status: No
X-Spam-Flag: No
X-Archives-Salt: 57c80e27-b70a-4427-8cf2-fae092182dd4
X-Archives-Hash: 9757f7a41659355f8c2eb91e6fc9ca6c


On Wed, February 29, 2012 8:10 am, Dale wrote:
> Neil Bothwick wrote:
>> On Tue, 28 Feb 2012 20:38:13 -0600, Dale wrote:
>>
>>> tune2fs -m 1 /dev/data/data1
>>>
>>> Which is where the ext4 file system is on the LVM.  After I run that
>>> then I can expand LVM from there, I hope it works that easy.
>>
>> It does.
>>
>>
>
>
> Apparently I am missing something then.  I looked at cfdisk for the
> drive. It reported  right at 750Gb as it should with the change.  Thing
> is, I can't get anything else to add it or to even show it is available=
.
>  Some results somewhat shortened:
>
> From cfdisk
>
>  750156.38Mb
>
> root@fireball / # pvs
>   PV         VG   Fmt  Attr PSize   PFree
>   /dev/sdc1  data lvm2 a--  698.63g    0
> root@fireball / # vgs
>   VG   #PV #LV #SN Attr   VSize   VFree
>   data   1   1   0 wz--n- 698.63g    0
> root@fireball / # lvs
>   LV    VG   Attr   LSize   Origin Snap%  Move Log Copy%  Convert
>   data1 data -wi-ao 698.63g
> root@fireball / #
>
>
> So, cfdisk is happy with the change but nothing else seems to see it.
> What am I missing here?  Where did the 50Gbs go to?
>
> Dale

What you're missing here is the fact that different tools report the size=
s
differently.
Look into the difference between "GiB" and "GB":

http://en.wikipedia.org/wiki/Mebibyte

you have:
750156.38 MiB =3D
750156380 KiB =3D
750156380000 B =3D
732574589.8 KB =3D
715404.87 MB =3D
698.63 GB

(with the "i" the factor is 1000, without it, the factor is 1024)

HTH,

Joost