Results 1 to 2 of 2

Thread: how to resize lvm2 partitions?

  1. #1
    Join Date
    Jul 2010
    Location
    lucknow, india
    Beans
    58
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Question how to resize lvm2 partitions?

    i recently installed fedora on my system along with windows in a dual boot unfortunately, the fedora partition is too big and is taking 80% of my disk space. lvm2 volumes are not recognised by windows so i decided to shrink my fedora lvm2 partition and create a new fat32 partition to store common data. i tried gparted from my ubuntu 10.04 CD but it was unable to resize the partition can someone suggest to me a GUI tool which could do the the resizing of an lvm2 partition? thanks in advance.

  2. #2
    psusi is offline Ubuntu addict and loving it
    Join Date
    Sep 2005
    Location
    Orlando, FL
    Beans
    3,980
    Distro
    Ubuntu Development Release

    Re: how to resize lvm2 partitions?

    I don't believe there is a gui tool that can do this. First you probably need to shrink the logical volume with lvresize to free up space in the physical volume, then you can shrink the pv with pvresize. Finally you can use fdisk to very carefully delete the partition and recreate it with the exact same starting sector, but shorter length ( not less than the size you reduced it to with pvresize ).

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •