$schemamarkup = get_post_meta(get_the_ID(), 'schemamarkup', true); if(!empty($schemamarkup)) { echo $schemamarkup; }

Linux Mint 17 How to Shrink/Resize A LVM Logical Volume With Swap Easy Guide

September 19, 2014 | By the+gnu+linux+evangelist.

Linux Mint 17 How to Shrink/Resize a LVM Logical Volume with Swap

Hi! The Tutorial shows you Step-by-Step How to Shrink/Resize a LVM/LVM2 Logical Volume to Free Up Space on Linux Mint 17 LTS Mate/Cinnamon/Kde/Xfce Desktop.

Most noteworthy: after to have Shrinked the LVM Logical Volume to FREE up Space you will Need also to Reduce the Physical LVM Volume!

Linux Mint 17 How to Shrink/Resize a LVM Logical Volume with Swap - Featured
  1. Boot System with Mint or Ubuntu-based Live Media.

    How to Create a Live Ubuntu Media

    Getting and Burning Ubuntu
  2. Open a Shell Terminal emulator window
    (Press “Enter” to Execute Commands)

    Linux Mint 17 How to Shrink/Resize a LVM Logical Volume with Swap - Open Terminal

    In case first see: Terminal QuickStart Guide.

  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 Linux Mint.

    Specifing the Final Size:

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

    /nor 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

    Mint Shrinking LVM Physical Volume