resizing physical volume in Fedora Core 4

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

 



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

--
    ___           ___                                     ___    
     /\__\         /\  \                                   /\__\    
    /:/ _/_        \:\  \       ___                       /:/ _/_  
   /:/ /\__\        \:\  \     /\__\                     /:/ /\  \  
  /:/ /:/ _/_   _____\:\  \   /:/__/      ___     ___   /:/ /::\  \
/:/_/:/ /\__\ /::::::::\__\ /::\  \     /\  \   /\__\ /:/_/:/\:\__\
\:\/:/ /:/  / \:\~~\~~\/__/ \/\:\  \__  \:\  \ /:/  / \:\/:/ /:/  /
  \::/_/:/  /   \:\  \        ~~\:\/\__\  \:\  /:/  /   \::/ /:/  /
   \:\/:/  /     \:\  \          \::/  /   \:\/:/  /     \/_/:/  /  
    \::/  /       \:\__\         /:/  /     \::/  /        /:/  /  
     \/__/         \/__/         \/__/       \/__/         \/__/    
_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux