FedoraForum.org - Fedora Support Forums and Community
Results 1 to 3 of 3
  1. #1
    ajwynn Guest

    Is it possible to shrink a Logical Volume?


    I have a pretty stock install of FC3. My / partition is one large Logical Volume which takes up nearly the entire Volume Group. What I am trying to do is shrink the / partition by 1 GB and add a new partition to this Volume Group using the freed 1 GB. After reading numerous threads for the past couple of days, I see that you can extend a Logical Volume or Volume Group quite easily. Is it possible to do the opposite? Can I shrink the Logical Volume my / partition is on? I have tried to shrink the file system using resize2fs in Rescue Mode but just can't seem to get this to work. Has anyone ever accomplished this? Thanks for any responses.


  2. #2
    Join Date
    Jan 2005
    The lv can be shrunk easily also, but the problem is the File Sytem inside the lv cna not.

    First, there are at least 3 updates to the e2progs package which contain the tools for file systems.
    Next, you can't shrink a ext3xattr directly, you must back it up, re-do the partition size, and recover.
    But the problem is that there is no backup for these until you update the FC3 system to get the current tools, then you must download and install the dump-0.4b40-1.i386.rpm as it is the (supposidly) only backup for EXT3xattr systems that (correctly) handle the xttr attributes on dump AND restore.

    I would advise to approach FC3 with a realistic expectations.
    Manual install and config partitons exactly as needed.
    Update everything to get all the working components, save important data to another device.
    A 40 gig ata disk drive as min, a lot of fun, and a short life span.

    Live hard, die young, and leave the 20th Century behind you.

    If money and purpose are your needs, get another disto.

    Do the Math

  3. #3
    ajwynn Guest
    Thanks for the reply. That makes a lot of sense. I didn't ever really plan on needing this little partition, I'm trying to test something. It's not worth all of that. I probably should have read a little more about LVM before installing Fedora. No biggie, I don't want a different distro. Just so I get this straight, the problem is never expanding a file system it's shrinking it. Logical Volumes can pretty much be resized larger or smaller at will, it's just the file system on the volume which is easily enlarged, but difficult to shrink? Thanks again.


Similar Threads

  1. How to shrink your LVM root volume using rescue mode
    By markkuk in forum Guides & Solutions (Not For Questions)
    Replies: 19
    Last Post: 3rd October 2009, 06:58 PM
  2. LiveCD Volume to Shrink Error
    By khskinsfan in forum Installation, Upgrades and Live Media
    Replies: 0
    Last Post: 20th June 2009, 07:22 PM
  3. Replies: 9
    Last Post: 30th April 2006, 01:21 PM
  4. Shrink volume group?
    By veritas in forum Using Fedora
    Replies: 2
    Last Post: 12th April 2005, 01:55 PM
  5. Replies: 4
    Last Post: 27th February 2005, 05:43 AM

Tags for this Thread

Posting Permissions

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