Linux Debian 7 Wheezy How-to Shrink/Reduce/Resize a LVM Volume with Swap Easy Guide

September 19th, 2014 by thelinuxevangelist

Shrink/Reduce/Resize LVM with Swap on Debian 7 Wheezy

The Linux Tutorial Shows You Step-by-Step How-to Reduce/Shrink/Resize a LVM/LVM2 Volume to Free Up Space on Debian 7 Wheezy i386/amd64 Linux Desktop.

After to have Shrinked the LVM Logical Volume to FREE up Space You will Need also to Reduce the Physical LVM Volume!

How-to Shrink/Reduce/Resize a LVM Volume on Debian 7 Wheezy - Featured
  1. Boot System with Ubuntu (Kubuntu/Lubuntu/Xubuntu) Live Media

    How-to Create a Live Ubuntu Media:

    Getting and Burning Ubuntu
  2. Open Terminal Window
    (Press “Enter” to Execute Commands)

    How-to Shrink/Reduce/Resize a LVM Volume on Debian 7 Wheezy - Open Terminal
  3. Find the LVM Volume Name to Shrink

    sudo su && lvmdiskscan

    It will be of the Form: /dev/my-vg/my-lv
    And if it’s the Root Volume it should Contains the ‘root’ Keyword…

  4. Shrinking/Reducing a LVM Volume on Debian

    Specifing the Final Size:

    lvreduce --resizefs --size 100G /dev/my-vg/my-lv

    or Specifing the Amount to Take Off:

    lvreduce --resizefs --size -50G /dev/my-vg/my-lv

    The ‘–resizefs‘ Flag is Fundamental in Succeeding because First as needed it will Resize the File System.

  5. How-to Shrink the LVM Physical Volume to Free Up Space:

    Debian Shrinking LVM Physical Volume
(Visited 1 times, 1 visits today)

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

Comments are disabled