Linux Mint 19 Shrink LVM with Swap Partition Easy Guide

June 23, 2018 | By thelinuxevangelist | Filed in: Tutorial.

Linux Mint 19.x Tara/Tessa/Tina Shrink LVM with Swap

You are Welcome! The Linux Tutorial Shows You Step-by-Step How to Shrink LVM/LVM2 with Swap Partition on Linux Mint 19.x Tara/Tessa/Tina LTS 32/64-bit Mate/Cinnamon/Kde/Xfce Desktop.

And to Shrink LVM Linux Mint 19 Volume we have to Make Use of the system-config-lvm Software Tool.

Especially relevant: after to have Shrinked the LVM Logical Volume the Problem is to find Where is Located the Free Space into the Physical LVM Volume!

Linux Mint 19.x Tara/Tessa/Tina Shrink LVM with Swap - Featured
  1. How to Shrink the LVM Logical Volume on Mint

    Mint Shrinking LVM Logical Volume
  2. Boot System with Mint or Ubuntu Based Live Media

  3. Open a Shell Terminal emulator window
    (Press “Enter” to Execute Commands)

    Linux Mint 19.x Tara/Tessa/Tina Shrink LVM with Swap - Open Terminal
  4. And Install System-config-lvm GUI LVM Volume Manager
    Login as SuperUser to shorter the commands:

    apt update

    Then install the Required Tool:

    apt install system-config-lvm
  5. Then Run System-config-lvm GUI LVM Volume Manager

    system-config-lvm
  6. Again Check the Free Space Location
    Select Physical View

    • If it is Located Between the Target Volume and the Swap Then You will Need to Execute All Steps
    • If it is External You can directly Resizing the LVM with GParted!

    Linux Mint 19.x Tara/Tessa/Tina Shrink LVM with Swap - System-config-lvm Physical View

  7. Removing the LVM Swap Volume

    Linux Mint 19.x Tara/Tessa/Tina Shrink LVM with Swap - System-config-lvm Removing Swap
    Take Note of the Name to Re-Create it Again Later!

  8. Install GParted on Ubuntu Based

    apt-get install gparted
  9. Run GParted
    From Shell with:

    gparted
  10. Shrinking the LVM Physical Volume with GParted

    Take Care of Leave enough Free Space to Re-Create the Swap LVM Volume Again Later!
    Linux Mint 19.x Tara/Tessa/Tina Shrink LVM with Swap - GParted Shrinking the LVM Physical Volume
    Linux Mint 19.x Tara/Tessa/Tina Shrink LVM with Swap - GParted Shrinking the LVM Physical Volume Apply
    Linux Mint 19.x Tara/Tessa/Tina Shrink LVM with Swap - GParted Shrinked LVM Physical Volume

  11. Go to System-config-lvm and ReLoad

    Linux Mint 19.x Tara/Tessa/Tina Shrink LVM with Swap - System-config-lvm Reloading

  12. Then ReCreate the LVM Swap Volume

    Put the Same Name as Before…
    Linux Mint 19.x Tara/Tessa/Tina Shrink LVM with Swap - System-config-lvm Recreate Swap LVM Volume 1
    On File System leave the default ‘None’
    Linux Mint 19.x Tara/Tessa/Tina Shrink LVM with Swap - System-config-lvm Recreate Swap LVM Volume 2

  13. For Security Bless again as Swap the New LVM Swap Volume

    So now Execute a Disk Scan to Find out existing Partitions:

    lvmdiskscan

    In the Output you should be able to Recognize your Device…

    mkswap /dev/my-vg/my-swap_1
    swapon /dev/my-vg/my-swap_1 && exit

    Then You Can Finally, ReBoot into an Linux Mint LVM System with some FREE Space ;)


Tags: , , , , , , , , , , , , , , , , , , , , ,