Partner links

Configure LVM on Sabayon Linux 4

Zemanta Related Posts Thumbnail

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.

Share:

Facebook
Twitter
Pinterest
LinkedIn

Partner links

Newsletter: Subscribe for updates

Subscribe
Notify of
guest
5 Comments
Inline Feedbacks
View all comments
thearthur
thearthur
13 years ago

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

Glutrino
Glutrino
13 years ago

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?

Azerthoth
Azerthoth
13 years ago

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.

Get the latest

On social media

Security distros

Hacker
Linux distros for hacking and pentesting

Crypto mining OS

Bitcoin
Distros for mining bitcoin and other cryptocurrencies

Crypto hardware

MSI GeForce GTX 1070
Installing Nvidia GTX 1070 GPU drivers on Ubuntu

Disk guide

LVM
Beginner's guide to disks & disk partitions in Linux

Bash guide

Bash shell terminal
How to set the PATH variable in Bash
Categories
Archives
5
0
Hya, what do you think? Please comment.x
()
x