Linux LVM users
 help / color / mirror / Atom feed
From: Andreas Dilger <adilger@turbolabs.com>
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] 33% of my space is missing?
Date: Thu, 13 Sep 2001 14:38:15 -0600	[thread overview]
Message-ID: <20010913143815.L1541@turbolinux.com> (raw)
In-Reply-To: <B51F0C636E578A4E832D3958690CD73E0130C024@es04snlnt>

On Sep 13, 2001  14:11 -0600, Diehl, Jeffrey wrote:
> I seem to be missing 100Gb out of a possible 300Gb!  Check it out:
> 
> [root@filmore jdiehl]# fdisk -l | grep LVM
> /dev/sdb5           226      4402  33551721   8e  Linux LVM
> /dev/sdb6          4403      8579  33551721   8e  Linux LVM
> /dev/sdb7          8580     12756  33551721   8e  Linux LVM
> /dev/sdb8         12757     15030  18265873+  8e  Linux LVM
> /dev/sdc6          7015     14028  56339923+  8e  Linux LVM
> /dev/sdc7         14029     21042  56339923+  8e  Linux LVM
> /dev/sdc8         21043     28056  56339923+  8e  Linux LVM
> /dev/sdc9         28057     30945  23205861   8e  Linux LVM
> [root@filmore jdiehl]#
> 
> Adding this space up, I get 311Gb.

But it is only 296 GiB, which is what LVM measures.

> [root@filmore jdiehl]# lvdisplay /dev/Database2/data
> --- Logical volume ---
> LV Name                /dev/Database2/data
> VG Name                Database2
> LV Write Access        read/write
> LV Status              available
> LV #                   1
> # open                 1
> LV Size                215.3 GB
> Current LE             27558
> Allocated LE           27558
> Allocation             next free
> Read ahead sectors     120
> Block device           58:0
> 
> Here we see that I only have access to 215Gb. 

What PE size are you using?  If (default) 4MiB, you would lose about 3MiB
per PV, so 3MiB * 8 = 24MiB.  If you are using LVM 1.0+ user tools you will
lose 1.5x PE size (on average) per PV, so if you have 32MiB PEs, you lose
48MiB * 8 = 384MiB.  So this is still not enough to explain your losses.

Are you sure you have added all PVs into this VG, and used all of the PEs
in this LV?  Something like pvscan would show better information.

Cheers, Andreas
-- 
Andreas Dilger  \ "If a man ate a pound of pasta and a pound of antipasto,
                 \  would they cancel out, leaving him still hungry?"
http://www-mddsp.enel.ucalgary.ca/People/adilger/               -- Dogbert

  reply	other threads:[~2001-09-13 20:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-13 20:11 [linux-lvm] 33% of my space is missing? Diehl, Jeffrey
2001-09-13 20:38 ` Andreas Dilger [this message]
  -- strict thread matches above, loose matches on Subject: below --
2001-09-13 20:40 Kevin M Corry
2001-09-13 20:53 Diehl, Jeffrey

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=20010913143815.L1541@turbolinux.com \
    --to=adilger@turbolabs.com \
    --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