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

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.95/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...

55 Responses

  1. Dimitri says:

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

  2. 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

  3. KM says:

    Excellent detailed article!

  4. 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!

  5. 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 ;)

  6. 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.

  7. Mark B says:

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

    • @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

  8. MARTIN GARCIA says:

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

  9. 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 *