Configure LVM on Sabayon Linux 4

One of the most important points you need to remember when creating LVs is that you only need to allocate just enough disk space needed to install and get the system up and running: It is not necessary to allocate all the available disk space to the LVs. One of the advantages of LVM over traditional disk management is that you can always grow an LV if the need arises. In creating an LV, you must specify the following:

  • the mount point (not applicable for swap)
  • the file system type. Sabayon Linux 4 supports the following journaling file systems:
    • ext3, the default
    • ext4, first appearance on Sabayon Linux 4
    • XFS
    • JFS
    • Reiserfs
  • the name (of the LV)
  • the size

Alright, let start by first creating an LV for swap. The suggested size for swap is 1000 MB, which is the default on most Linux and BSD distros. On a PC low on RAM, 2000 MB is recommended.

Now that we have create the first LV, repeat the step above by clicking on the Add button to create the other LVs for the following mount points (names and suggested sizes in parentheses):

  • / (root, 2000 MB)
  • /usr (usr, 5000MB)
  • /var (var, 1000 MB or 2000 MB)
  • /tmp (tmp, 500 MB)
  • /home (home, 3000 MB)
  • /opt (opt, 200 MB)
  • /usr/local (local, 50 MB)

The default file system type is ext3, but you can choose from any one of the other four journaling file systems supported by the Sabayon installer – ext4, XFS, JFS, and Reiserfs.


When all the LVs have been created, your window should look like the one shown below. Notice that we have only used up about 31% of the available disk space. The unallocated space will be used to grow any LV that needs it. Satisfied with your work? Then click OK.

If all went well, you should end up with something similar to the screenshot below. That’s the end of the disk partitioning segment of installing Sabayon Linux 4. Click Forward to continue with the rest of the installation.

Related Posts

How to enhance the physical security posture of your Linux/BSD-powered PC Securing a computer goes beyond more than just using strong passwords. You should consider what happens if an unauthorized person gains physical acce...
Sabayon 9 KDE and GNOME preview Sabayon 9 is the latest release of Sabayon, a multi-purpose Linux distribution derived from Gentoo Linux. Made available for download are 32- and 64-b...
Install Ubuntu 11.10 on external hard drive, with an ntfs partition at the end How to install Ubuntu 11.04 on external hard disk, showed how to install Ubuntu 11.04 on a portable USB hard drive. This tutorial, written for Ubuntu ...
How to straighten out firewall configuration on Fedora 18 This is the latest article on Fedora. You may access all Fedora-related articles on its category page at http://linuxbsdos.com/category/fedora. Giv...
Manual disk partitioning guide for Linux Mint 11 This article provides a step-by-step guide on how to create partitions on Linux Mint 11, the latest stable release of Linux Mint. And because it encom...
Fedora 16 GPT disk partitioning guide Anaconda, the Fedora system installer, is probably the best installation program available on any Linux or BSD distribution, and the version that come...

We Recommend These Vendors

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).


5 Comments

  1. “However short of a server farm, you do not ever need to use LVM, it is a much over used feature”. Unless you want to add a new hard drive, replace an existing one, or make a backup. if you do any of these or may someday need to do this you will greatly appreciate LVM.

  2. So what about encrypted LVM volumes? You mention they are NOT supported? Do you know if there is any chance this will change in the near future?

  3. @Azerthoth

    And the reason why the “default size right off the DVD is 12 Gig” is because all three desktop environemnts – KDE, Gnome, and Xfce – are installed by default. Question is, “why do you need to install all three desktop environments?”

    If you follow the directions in this installation guide, the default will do just fine.

    And if you think that LVM is useful only in a server farm then you do not really know much about LVM.

  4. One thing is clear, you havent spent much time with sabayon. Your defaults are not just wrong, they are so small that it wont install. Sabayons default size right off the DVD is 12 Gig.

    Sabayon has an automatic set up for LVM, point it at a 30 Gig partition and let it go. If you need to adjust mount points you can do so later. However short of a server farm, you do not ever need to use LVM, it is a much over used feature. Any one halfway competent individual can set the fstab up properly.

Leave a Comment

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

*