How to Extend/Reduce LVM’s (Logical Volume Management) in Linux – Part II

Best Affordable Linux and WordPress Services For Your Business
Outsource Your Linux and WordPress Project and Get it Promptly Completed Remotely and Delivered Online.

If You Appreciate What We Do Here On TecMint, You Should Consider:

  1. Stay Connected to: Twitter | Facebook | Google Plus
  2. Subscribe to our email updates: Sign Up Now
  3. Get your own self-hosted blog with a Free Domain at ($3.45/month).
  4. Become a Supporter - Make a contribution via PayPal
  5. Support us by purchasing our premium books in PDF format.
  6. Support us by taking our online Linux courses

We are thankful for your never ending support.

Babin Lonston

I'm Working as a System Administrator for last 10 year's with 4 years experience with Linux Distributions, fall in love with text based operating systems.

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

RedHat RHCE and RHCSA Certification Book
Linux Foundation LFCS and LFCE Certification Preparation Guide

You may also like...

76 Responses

  1. Ramesh Das says:

    Hello Ravi,

    # resize2fs /dev/vg_tecmint_extra/tecmint_reduce_test 8GB

    but on the actual screen you showing:

    # resize2fs /dev/vg_tecmint_extra/tecmint_reduce_test 10G

    Still the article is live and you have not corrected. Please make the correction as its been followed by many techs.

    Ramesh Das

    • Ravi Saive says:


      We extremely sorry for trouble, we’ve corrected the command as suggested, if you still seeing same, clear your browser cache..

  2. Dimitri says:

    Thanks a lot ! This is the best tutorial I have ever seen !

  3. Rob says:

    Great article.
    Just a little mistake you made. In reducing LVM you saying:

    # resize2fs /dev/vg_tecmint_extra/tecmint_reduce_test 8GB

    …but on the actual screen you showing:

    # resize2fs /dev/vg_tecmint_extra/tecmint_reduce_test 10G

  4. KM says:

    Excellent detailed article!

  5. S. Hildebrant - Solution Architect II says:

    Great article – so helpful! I was able to use this to extend my media server library filesystem in CentOS 6.8 with no issue whatsoever (after I spent 6 hours rebuilding my RAID array that is)

    Thanks for the help!

  6. Sjonnie says:

    Excellent! This is exactly what I needed to resize my LV’s on my OpenMediaVault server. Made a how-to with reference to this page on the OMV forum. I hope it gets approved ;)

  7. michael says:

    Is it possible to extend the space on a disk without adding another disk and no downtime?

    • @Michael,

      Yes, it’s possible to extend the size without adding new disks, but we should have enough space in VG.

      To extend the space for any logical volumes we don’t require any downtime, only we need downtime in the case of reducing disk space by unmounting.

      Thanks & Regards,
      Babin Lonston

      • michael says:

        I know that you need space on VG. But what if I don’t have and I add space to the disk from vSphere or whatever virtualization product? Then it involves downtime to increase the disk space, right?

        • lybad says:

          Nope – it’s perfectly possible to increase available disk space on any file system without downtime.

          We did a CentOS and an RHEL box last week – one was /, and the other was a /srv – both without downtime.

  8. Mark B says:

    Great article. Can’t do this with built in GUI tools so this article was dead on for what to do.

    • @Mark,

      In real world production environment, only DB servers are installed with GUI more over LVM GUI will not be configured.
      It’s good to practice in CLI to keep hands on any platform.

      Thanks & Regards,
      Babin Lonston

  9. MARTIN GARCIA says:

    Great article,
    Thanks for the explanation I modified my partitions without any problem

  10. John F. Godfrey, Pastor says:

    This article was great! I found it very helpful so I could accomplish what I needed to do. Thanks for this!

Got something to say? Join the discussion.

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.