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…
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…
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…
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…
Linux-KVM: Managing Disk Images
Disk images have long been the traditional form of storage for virtualized environments, they are essentially containers in the form of a file on the host’s file system. These files can be either fully allocated or sparsely allocated at time of disk creation, a fully allocated 20GB disk image will…