[linux-lvm] resizing physical volume in Fedora Core 4

Enils Bashi ebashi at gmail.com
Sun Mar 12 03:06:29 UTC 2006


All,

I followed the instructions from
http://netzooid.com/blog/2005/11/01/shriking-a-physical-volume-on-linux/
to reduce the physical volume on my laptop. I am trying to make room for
non-lvm partitions. Everything worked fine. I resized the physical volume
rom $57G to $27G however fdisk does not see the emtpy space. see below:
[root at hyllus ~]# pvs -o +dev_size --units h
  PV         VG         Fmt  Attr PSize  PFree  DevSize
  /dev/hda2  VolGroup00 lvm2 a-   27.81G 64.00M  55.79G

---

Is there something I am missing? Fdisk, parted and any other partition
utilties don't see any empty space. There is a mismatch  between the
physical volume size and what is being reported to the system. Is there a
way to shrink the size of /dev/hda2 without having to reformat? I would
rather not have to reformat, since /, /usr, /usr/local and other partitions
resized on /dev/hda2.

Any and all feedback would be greatly appreciated.

Enils

--
    ___           ___                                     ___
     /\__\         /\  \                                   /\__\
    /:/ _/_        \:\  \       ___                       /:/ _/_
   /:/ /\__\        \:\  \     /\__\                     /:/ /\  \
  /:/ /:/ _/_   _____\:\  \   /:/__/      ___     ___   /:/ /::\  \
/:/_/:/ /\__\ /::::::::\__\ /::\  \     /\  \   /\__\ /:/_/:/\:\__\
\:\/:/ /:/  / \:\~~\~~\/__/ \/\:\  \__  \:\  \ /:/  / \:\/:/ /:/  /
  \::/_/:/  /   \:\  \        ~~\:\/\__\  \:\  /:/  /   \::/ /:/  /
   \:\/:/  /     \:\  \          \::/  /   \:\/:/  /     \/_/:/  /
    \::/  /       \:\__\         /:/  /     \::/  /        /:/  /
     \/__/         \/__/         \/__/       \/__/         \/__/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/linux-lvm/attachments/20060311/073d256f/attachment.htm>


More information about the linux-lvm mailing list