August 20, 2012

Linux-LVM: Resize Partition to Grow LVM Volume Group

Logical Volume Manager makes the dynamic expansion of file systems dead stupid simple.  However there is a weakness, if you are using a partitioned file system as your Physical Volume (PV) then you will end up needing to expand the file system if you ever need to grow the actual storage.  This can be avoided by using the actual physical device /dev/sda as the PV, […]
August 2, 2012

Bash: Automatically Mount File Systems on Volume Group if Present

Update 09/16/2015 – I have published an updated article for this here: In my laptop I have a solid state disk, and frankly I am way past addicted to solid state disks, but what you get in performance you lose in capacity.  As such I have had to be creative with how I can have the capacity and the performance that I need.  Lately the […]
May 28, 2012

LVM: Using 2TB Volumes for Volume Groups

Occasionally you will have the need to use physical volumes which exceed the limits of the standard DOS partitioning scheme.  When you run into this a quick fdisk -l will reveal that you will need a new way to partition your disks. Fdisk will produce output similar to this… Use Parted to Create a Partition Using the Whole Disk Parted is able to handle large […]
April 30, 2012

Bash: Duplicate Logical Volume Configuration for a Volume Group

I recently ran into a situation where I needed to create a large number of Logical Volumes for a server replacement situation.  I could have done some manual data input, but why not take the opportunity to quickly write a script to do the hard work for me? For my situation this was a server that pulls data from other servers in order to optimize […]
November 7, 2011

Linux-KVM: Converting Raw Disk Images to LVM Logical Volumes Redux

This really is an update to my previous article “Linux-KVM: Converting Raw Disk Images to LVM Logical Volumes“, but the process is significantly different and thus requires more explaining than a simple inline update would do it justice.  Now the big flaw with my first article was that by using dd on the hypervisor level, we are opening ourselves up to unintentional data loss due […]
March 9, 2011

Linux-KVM: Converting Raw Disk Images to LVM Logical Volumes

Linux Logical Volume Manager provides a better method for managing your disks in the home and even more so in the datacenter.  I briefly outlined some of the benefits afforded us by LVM2 in a previous article Linux LVM2: Flexible Local Storage Management.  In this article I will provide you with some very simple steps and scenarios to migrate your existing KVM VMs to LVM2 […]
March 1, 2011

Linux LVM2: Flexible Local Storage Management

Linux LVM provides a different way of looking at storage.  On the server side this provides much more flexibility than standard disks with partitions.  It allows us to migrate from old to new storage as well as expand the available storage to a particular file system easily (assuming that there is free space available). Basically LVM abstracts the physical storage by creating Physical Volumes (PV), […]
+1 (844) 368-2747