LVM configuration on Fedora 13

FedoraFedora is one of a handful of Linux distributions that adopts the Linux Logical Volume Manager (LVM) as its default disk partitioning scheme. LVM provides more flexible disk management capabilities than the age-old UNIX/Linux method, and that’s why I prefer Linux distributions with support for it over those that do not.

The problem with Fedora’s default LVM configuration is that the allocation of disk space to the logical volumes violates a very simple guideline that you are encouraged to abide by: Allocate just enough disk space to each logical volume that’s required to get your system up and running. In other words, leave some disk space unallocated in case you need it to grow a logical volume or to create a new logical volume for a special purpose.

The image below is from a test installation of Fedora 13 on a system with about 55 GB of disk space. About 500 MB of that was used for the non-LVM partition for /boot. Studying the image closely, you can discern that about 34 GB and 19 GB were allocated to / and /home respectively, and about 1.0 GB for a logical volume for swap. And that does not make sense because what this image doesn’t tell you is that only 3.0 GB of the space allocated to lv_root (the logical volume for /) was used for the installation. So if you add the 173 MB that was used up in lv_home (the logical volume for /home), less than 3.2 GB was required to get a default installation of Fedora 13 up and running.

Default partitions
Default partitions created for Fedora 13

A better and more sensible allocation of disk space would have been to allocate, say, 7 GB to lv_root, which should have been plenty for a default installation, and 10 Gb to 20 GB to lv_home. The unallocated space should then be there when you need to grow any of the logical volumes, or to create another one if you need to. Hopefully Fedora 14, or whatever the next release will be called, will adopt a more sensible allocation of disk space to logical volumes. If you would like to configure LVM the right way, read manual LVM configuration on Fedora 13.

Related Posts

How to create a laser light show with Fedora Every day, people are making all kinds of incredible software powered by Fedora. The Fedora user community is broad and diverse, and sometimes, we...
How to use fedora-tools image for Fedora Atomic Host Fedora Atomic Host is a container-native version of the Fedora distribution. It is one of several operating systems expressly designed for running con...
How to layout and design an infographic in R For R fans and infographics lovers out there (I'm one of you), here's an article that shows how to layout and design an infographic in R. Here's ho...
How to dual-boot Fedora 14 and Windows 7 How to dual-boot Fedora 14 and Windows 7 is next in a series of articles on dual-booting Windows and Linux distributions. The first was how to dual bo...
Best IDEs for Octave, Python and R Code-wise, I've been getting my hands dirty with some digital grease over the past few months, and it's been fun. Most of the fun has resolved around ...
The many Profiles of Enlightenment’s E17 There are many desktop environments in active development, but none is as customizable as the E or Enlightenment Desktop Environment. But of all those...

We Recommend These Vendors and Free Offers

ContainerizeThis 2016 is a free, 2-day conference for all things containers and big data. Featured, will be presentations and free, hands-on workshops. Learn more at ContainerizeThis.com

Launch an SSD VPS in Europe, USA, Asia & Australia on Vultr's KVM-based Cloud platform starting at $5:00/month (15 GB SSD, 768 MB of RAM).

Deploy an SSD Cloud server in 55 seconds on DigitalOcean. Built for developers and starting at $5:00/month (20 GB SSD, 512 MB of RAM).

Want to become an expert ethical hacker and penetration tester? Request your free video training course of Online Penetration Testing and Ethical Hacking

Whether you're new to Linux or are a Linux guru, you can learn a lot more about the Linux kernel by requesting your free ebook of Linux Kernel In A Nutshell.


One Comment

  1. Pingback: Windows2Linux Porting | Download Zone

Leave a Comment

Your email address will not be published. Required fields are marked *

*