Resized partition - how to fix file system size
FedoraForum.org - Fedora Support Forums and Community
Results 1 to 1 of 1
  1. #1
    Join Date
    Nov 2017
    Location
    Ireland
    Posts
    2

    Resized partition - how to fix file system size

    I have an ext4 partition that I have just resized using lvreduce, from 394G to 373G.

    t looks like the resize went flawlessly(there is very little data there at this point, I am tweaking a new install). But here is what I get in df -hT:

    /dev/mapper/fedora-home ext4 394G 609M 373G 1% /home

    The free space is correct! But the total size is the old one. How do I fix the size of the file system?

    EDIT: turns out I should have used the -r option. As it happened, apparently no data was lost because there was so little data on the partition. So I extended the partition back using lvextend, and *then* could resize the file system using resize2fs. All fixed - if mods delete thread that's ok too
    Last edited by ramendik; 1st November 2017 at 11:10 PM. Reason: fixed issue

Similar Threads

  1. Replies: 9
    Last Post: 16th August 2012, 12:08 AM
  2. [SOLVED]
    Root partition needs resized
    By jimmij in forum Using Fedora
    Replies: 11
    Last Post: 23rd June 2012, 01:34 AM
  3. Adjusting File System Size on Partition
    By Anev in forum Using Fedora
    Replies: 2
    Last Post: 30th April 2007, 07:11 AM
  4. Can't mount my with partition magic resized ext3 partition
    By fedski in forum Installation, Upgrades and Live Media
    Replies: 0
    Last Post: 27th December 2006, 09:00 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
  •