public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "J. Roeleveld" <joost@antarean.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Freeing up disk space problem!!
Date: Wed, 29 Feb 2012 08:49:30 +0100	[thread overview]
Message-ID: <122ff897b0eea31e5fa4119bd8c464f5.squirrel@www.antarean.org> (raw)
In-Reply-To: <4F4DCF4D.4090608@gmail.com>


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 sizes
differently.
Look into the difference between "GiB" and "GB":

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

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

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

HTH,

Joost




  reply	other threads:[~2012-02-29  7:44 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-28 11:37 [gentoo-user] Freeing up disk space problem!! trevor donahue
2012-02-28 11:52 ` Alan McKinnon
2012-02-28 13:37   ` William Kenworthy
2012-02-28 11:57 ` Mick
2012-02-28 11:59 ` [gentoo-user] " Nikos Chantziaras
2012-02-28 12:24 ` [gentoo-user] " YoYo Siska
2012-02-28 12:50   ` trevor donahue
2012-02-28 13:25     ` Neil Bothwick
2012-02-28 13:01 ` Alex Schuster
2012-02-28 13:27   ` Neil Bothwick
2012-02-28 23:25     ` Alex Schuster
2012-02-29  0:32       ` Neil Bothwick
2012-02-29  1:05         ` Alex Schuster
2012-02-29  6:22           ` Neil Bothwick
2012-02-29  9:29       ` Alan McKinnon
2012-02-29  9:57         ` Neil Bothwick
2012-02-29 10:40           ` Alan McKinnon
2012-02-29 11:08             ` Neil Bothwick
2012-02-29 12:11               ` Alan McKinnon
2012-03-01  0:59                 ` Frank Steinmetzger
2012-03-01  9:54                   ` Neil Bothwick
2012-02-29 23:59             ` [gentoo-user] " walt
2012-03-01  0:43               ` Pandu Poluan
2012-02-29  0:48   ` [gentoo-user] " Dale
2012-02-29  1:01     ` Alex Schuster
2012-02-29  2:38       ` Dale
2012-02-29  6:17         ` Neil Bothwick
2012-02-29  7:10           ` Dale
2012-02-29  7:49             ` J. Roeleveld [this message]
2012-02-29  9:23             ` Alan McKinnon
2012-03-01  1:09               ` Frank Steinmetzger
2012-03-01  8:26                 ` Alan McKinnon
2012-02-29  9:53             ` Neil Bothwick
2012-02-29  9:19         ` Alan McKinnon
2012-02-29 14:44           ` Dale
2012-02-29  7:43       ` J. Roeleveld
2012-02-29 13:06         ` Daddy
2012-02-29 14:44         ` Dale
2012-02-28 16:14 ` James Broadhead

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=122ff897b0eea31e5fa4119bd8c464f5.squirrel@www.antarean.org \
    --to=joost@antarean.org \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox