linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] lsm space giveth and space taketh away: missing space?
@ 2010-09-02  1:50 Linda A. Walsh
  2010-09-02  3:44 ` Stuart D. Gathman
  2010-09-02 10:01 ` Bryn M. Reeves
  0 siblings, 2 replies; 5+ messages in thread
From: Linda A. Walsh @ 2010-09-02  1:50 UTC (permalink / raw)
  To: linux-lvm

I'm running low on space in my /backups partition.  I looked at the
partitions and volumes to see what might be done (besides deleting old
backups), and noticed:

pvs:
  PV         VG         Fmt  Attr PSize  PFree
  /dev/sdb1  Backups    lvm2 a-   10.91T  3.15G

---
So I thought 'cool', I didn't make it the full size, and
I have some left...ok...(I didn't remember what I'd done, its
been a while).

Run lvresize:
lvresize /dev/Backups/Backups -L +3.15G
  Rounding up size to full physical extent 3.15 GB
  Extending logical volume Backups to 10.91 TB
  Logical volume Backups successfully resized

Um...HELLO?  Extending to 10.91?  But it was at 10.91!
pvs:
  PV         VG         Fmt  Attr PSize  PFree
  /dev/sdb1  Backups    lvm2 a-   10.91T     0

Well that was unimpressive.

parted /dev/sdb
p(rint)
Disk /dev/sdb: 12.0TB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number  Start   End     Size    File system  Name    Flags
 1      17.4kB  12.0TB  12.0TB               backup  lvm






Ok, now I'm really confused.  10.91T?  14.06T?  (Obviously
this was optimistic reporting if the partition is only 12TB!)

So why does parted show a 12TB disk while lvm shows only a 10.91T
disk and why did lvm show 3.15G free when it wasn't really there?

How do I get my 1.09T back from lvm?  That seems like awfully
high for an overhead number for lvm.  I'd expect more like "0.09T".


Ideas?
Linda

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-09-02 17:32 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-02  1:50 [linux-lvm] lsm space giveth and space taketh away: missing space? Linda A. Walsh
2010-09-02  3:44 ` Stuart D. Gathman
2010-09-02  3:52   ` Stuart D. Gathman
2010-09-02 10:01 ` Bryn M. Reeves
2010-09-02 17:32   ` Linda A. Walsh

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).