[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



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

--
    ___           ___                                     ___    
     /\__\         /\  \                                   /\__\    
    /:/ _/_        \:\  \       ___                       /:/ _/_  
   /:/ /\__\        \:\  \     /\__\                     /:/ /\  \  
  /:/ /:/ _/_   _____\:\  \   /:/__/      ___     ___   /:/ /::\  \
/:/_/:/ /\__\ /::::::::\__\ /::\  \     /\  \   /\__\ /:/_/:/\:\__\
\:\/:/ /:/  / \:\~~\~~\/__/ \/\:\  \__  \:\  \ /:/  / \:\/:/ /:/  /
  \::/_/:/  /   \:\  \        ~~\:\/\__\  \:\  /:/  /   \::/ /:/  /
   \:\/:/  /     \:\  \          \::/  /   \:\/:/  /     \/_/:/  /  
    \::/  /       \:\__\         /:/  /     \::/  /        /:/  /  
     \/__/         \/__/         \/__/       \/__/         \/__/    

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]