linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Holger Grothe <grothe@fb0442.mathematik.tu-darmstadt.de>
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] Lost harddrive space
Date: Thu, 12 Apr 2001 21:18:32 MESZ	[thread overview]
Message-ID: <200104121918.AA237823112@fb0442.mathematik.tu-darmstadt.de> (raw)
In-Reply-To: <200104121823.UAA21356@mailserver2.hrz.tu-darmstadt.de>; from "Erik Rigtorp" at Apr 12, 101 8:23 pm

Hi,
> 
> My harddrive is 61.4GB i think. I think LVM is great software, it should 

Your harddisk is 60 marketing GB (see below).

> #fdisk -l
> 
> Disk /dev/hda: 255 heads, 63 sectors, 7476 cylinders
> Units = cylinders of 16065 * 512 bytes

7476*16065*512/1024 = 60050970 KB = 58643.525 MB = 57.269 GB (factor 1024)

>    Device Boot    Start       End    Blocks   Id  System
> /dev/hda1   *         1        61    489951   83  Linux
> /dev/hda2            62      7476  59560987+  8e  Unknown

489951 KB + 59560987 KB = 60050938 KB (see above, the + indicates a small
loss).

59560987 KB = 58165.026 MB = 56.802 GB (factor 1024)
> 
> 
> #pvdisplay /dev/hda2
> 
> --- Physical volume ---
> PV Name               /dev/hda2
> VG Name               erkki
> PV Size               56.8 GB / NOT usable 1.03 MB [LVM: 177 KB]
> PV#                   1
> PV Status             available
> Allocatable           yes
> Cur LV                3
> PE Size (KByte)       4096

PE Size = 4 MB

> Total PE              14541

14541*4 MB = 58164 MB = 56.800 GB = 59559936 KB (factor 1024)

59560987 KB - 59559936 KB = 1051 KB = 1.026 MB ( < 4MB, so no additional PE
is possible).

Don't believe in the disksizes of marketing guys. These guys only know
calculations with 1000 :-)

Holger 
--
Holger Grothe  (Email: grothe@mathematik.tu-darmstadt.de)
Fachbereich Mathematik, TU Darmstadt

       reply	other threads:[~2020-11-27 16:17 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <200104121823.UAA21356@mailserver2.hrz.tu-darmstadt.de>
2020-11-27 16:17 ` Holger Grothe [this message]
     [not found] <no.id>
2001-04-12 18:28 ` [linux-lvm] Lost harddrive space Heinz J. Mauelshagen
2001-04-24 18:02 ` Heinz J. Mauelshagen
     [not found] <200104121553.IAA30370@nebulus.tfb.com>
2001-04-12 17:24 ` Jamey Kirby

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=200104121918.AA237823112@fb0442.mathematik.tu-darmstadt.de \
    --to=grothe@fb0442.mathematik.tu-darmstadt.de \
    --cc=linux-lvm@sistina.com \
    /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;
as well as URLs for NNTP newsgroup(s).