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
Related Post:  Semi-manual LVM disk partitioning guide for Fedora 18

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.

Related Post:  Can your computer run Ubuntu Core?

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.

Share:

Share on facebook
Facebook
Share on twitter
Twitter
Share on pinterest
Pinterest
Share on linkedin
LinkedIn

Hola! Did you notice that LinuxBSDos.com no longer run network ads?  Yep, no more ads from the usual suspects that track and annoy you across the Internet. But since I still need to pay to keep the site running, feel free to make a small donation by PayPal or your favorite cryptocurrency.

  • Bitcoin
  • Ethereum
  • Xrp
  • Bitcoin cash
  • Bitcoin sv
  • Litecoin
  • Binance coin
  • Cardano
  • Ethereum classic
Scan to Donate Bitcoin to bc1qzvlte2m224zkayhdc7fdfjkp2rsgt0l5a496ua

Donate Bitcoin to this address

Scan the QR code or copy the address below into your wallet to send some Bitcoin

Scan to Donate Ethereum to 0x0F4362DFF77F3Ba0Dc637F5f3Eba35D09a2fA60C

Donate Ethereum to this address

Scan the QR code or copy the address below into your wallet to send some Ethereum

Scan to Donate Xrp to r4ggjvL36njsMCYTkJ3S7cTHscPsMsSGQv

Donate Xrp to this address

Scan the QR code or copy the address below into your wallet to send some Xrp

Scan to Donate Bitcoin cash to qrs0dedzp9t55af3nfwypydghp29r0xguy9s20fz2k

Donate Bitcoin cash to this address

Scan the QR code or copy the address below into your wallet to send some Bitcoin cash

Scan to Donate Bitcoin sv to 15K9TLyVDBtLuG9cYvXCX9SSkq9C9oUKHK

Donate Bitcoin sv to this address

Scan the QR code or copy the address below into your wallet to send some Bitcoin sv

Scan to Donate Litecoin to LetJ9QQMb7u2LMZ9Tu6rtHwcBcQFW98fbG

Donate Litecoin to this address

Scan the QR code or copy the address below into your wallet to send some Litecoin

Scan to Donate Binance coin to bnb1ga8trq08ssqepd90v6225nzfgy448pu5pw8gxp

Donate Binance coin to this address

Scan the QR code or copy the address below into your wallet to send some Binance coin

Scan to Donate Cardano to addr1qx2354yw49etstfljpdhwja3ajjlt487lg95vu9ngy2q6vu4rf2ga2tjhqknlyzmwa9mrm997h20a7stgectxsg5p5esq5l7d9

Donate Cardano to this address

Scan the QR code or copy the address below into your wallet to send some Cardano

Scan to Donate Ethereum classic to 0xcD6CC972a2297FcafACDcfE042C55C69516a9264

Donate Ethereum classic to this address

Scan the QR code or copy the address below into your wallet to send some Ethereum classic

Subscribe for updates. Trust me, no spam!

Sponsored links

1. Attend Algorithm Conference, a top AI and ML event.
2. Reasons to use control panel for your server.
3. DHgate Computers Electronics, Cell Phones & more.

Upcoming events

5 Responses

  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 Reply

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

Get the latest

On social media
Via my newsletter

Partner links

1. Attend Algorithm Conference, a top AI and ML event for 2021.
2. Reasons to use control panel for your server.
3. DHgate Computers Electronics, Cell Phones & more.
Hacking, pentesting distributions

Linux Distributions for Hacking

Experts use these Linux distributions for hacking, digital forensics, and pentesting.

Categories
Archives

The authors of these books are confirmed to speak during

Algorithm Conference

T-minus AI

Author was the first chairperson of AI for the U.S. Air Force.

The case for killer robots

Author is the Director of the Center for Natural and Artificial Intelligence.

Why greatness cannot be planned

Author works on AI safety as a Senior Research Scientist at Uber AI Labs.