[GUIDE] How to reduce or grow your Logical Volumes (LVM management)

    • OMV 3.x
    • core

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • [GUIDE] How to reduce or grow your Logical Volumes (LVM management)

      I made some bad choices when defining the sizes of my Logical Volumes while installing OMV. After backing up about 3.5 TB of data I found I had to increase one LV and decrease another.

      I found this how-to that explains how to do it: tecmint.com/extend-and-reduce-lvms-in-linux/

      I did not quite follow the steps but used this how-to as a guide to resize. Worked like a charm :D

      I must admit I used the OMV web interface to remount my resized shares :rolleyes:

      If your a noob (like me) this guide will surely help you.

      HTH

      Greetz

      Sjonnie
      Server 1: Tranquil SQA-5H modded - OMV Arrakis :thumbsup:
      Server 2: Homebrew server - Ubuntu 16.04 with webmin
      Server 3: Synology DS215+
      Server 4: Synology DS211
      ...and some client devices to justify the servers 8o
    • Just a couple of notes...

      1 - When using lvextend, use the -r flag to automatically resize your filesystem.

      2 - Reducing an LV works fine but be very careful when shrinking a filesystem. I have seen it go wrong many times.
      omv 4.1.13 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.13
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • You are absolutely right about shrinking the filesystem. Thanks for the warning!

      I did not know about the -r option in lvextend. Good to know when I have to resize again in the future :thumbup:

      Greetz,

      Sjonnie
      Server 1: Tranquil SQA-5H modded - OMV Arrakis :thumbsup:
      Server 2: Homebrew server - Ubuntu 16.04 with webmin
      Server 3: Synology DS215+
      Server 4: Synology DS211
      ...and some client devices to justify the servers 8o