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 ) id 1S2fmG-0003fH-Gi for garchives@archives.gentoo.org; Wed, 29 Feb 2012 09:24:54 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1F4E7E07B5; Wed, 29 Feb 2012 09:24:39 +0000 (UTC) Received: from mail-wi0-f181.google.com (mail-wi0-f181.google.com [209.85.212.181]) by pigeon.gentoo.org (Postfix) with ESMTP id 19D03E09E3 for ; Wed, 29 Feb 2012 09:23:31 +0000 (UTC) Received: by wibhi8 with SMTP id hi8so4671288wib.40 for ; Wed, 29 Feb 2012 01:23:31 -0800 (PST) Received-SPF: pass (google.com: domain of alan.mckinnon@gmail.com designates 10.180.84.36 as permitted sender) client-ip=10.180.84.36; Authentication-Results: mr.google.com; spf=pass (google.com: domain of alan.mckinnon@gmail.com designates 10.180.84.36 as permitted sender) smtp.mail=alan.mckinnon@gmail.com; dkim=pass header.i=alan.mckinnon@gmail.com Received: from mr.google.com ([10.180.84.36]) by 10.180.84.36 with SMTP id v4mr16746011wiy.0.1330507411444 (num_hops = 1); Wed, 29 Feb 2012 01:23:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:organization :x-mailer:mime-version:content-type:content-transfer-encoding; bh=bozR4phHy04wJLbMvLK04XTOhgyvZ2ydW4bLFX1672E=; b=gBvWeyUatCYzLsg28qmnDJwXQa4WfMUZV53iT6kpD87UY5B0BKlruDp9VoMoTcN3Jt ei8RLParOhxJq1mwZf2q2RAJ2TX9JMZ4Q2VLKFt8y/8u4efoKO9VZ86di63RMNpxxmJ8 BenEXOGwZS4Mnh3AdFk3I52tSLDcDfAXpeR9g= Received: by 10.180.84.36 with SMTP id v4mr13347492wiy.0.1330507411319; Wed, 29 Feb 2012 01:23:31 -0800 (PST) Received: from khamul.example.com (dustpuppy.is.co.za. [196.14.169.11]) by mx.google.com with ESMTPS id s2sm84424091wix.3.2012.02.29.01.23.29 (version=SSLv3 cipher=OTHER); Wed, 29 Feb 2012 01:23:30 -0800 (PST) Date: Wed, 29 Feb 2012 11:23:11 +0200 From: Alan McKinnon To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Freeing up disk space problem!! Message-ID: <20120229112311.7b70ab0d@khamul.example.com> In-Reply-To: <4F4DCF4D.4090608@gmail.com> References: <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> Organization: Internet Solutions X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.10; x86_64-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Archives-Salt: e51df65a-6364-4803-babd-f0703e85a60e X-Archives-Hash: 33ebc976235666a3a3f0270e59c802e4 On Wed, 29 Feb 2012 01:10:05 -0600 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 > > :-) :-) > Nowhere. Disk manufacturers measure kilos of data as 1000 Everyone else measures it in 1024 They do this because it fudges disk sizes to appear 2.4% bigger than they really are. When you get into TB drives, it gets worse as 1024*1024*1024*1024 differs from 1000*1000*1000*1000 bu a lot more than 2.4% -- Alan McKinnnon alan.mckinnon@gmail.com