Came here in search of an answer to a problem, but didn't find it? Visit the forum @ LinuxBSDos.com, pick a category and ask a question.

LVM Configuration in Ubuntu 8.10

I am reading page: 1 2 3 4 5

Creating a Physical Volume (PV)

A Physical volume is the first major component of LVM, and can be created from a disk partition or a full disk drive. To create the PV for this configuration, we are going to use the unallocated disk space. With the free disk space selected as shown, hit enter.

Of course, we want to create a new partition. Enter.

The size of the new partition will be the unallocated space on the hard drive. Our test drive is only about 44 GB, and 150 MB of that has been used to create the primary partition for /boot. If you are using a recently purchased PC, your drive’s size would likely be about 250 GB. The installer will automatically show the unallocated free space. Enter


When creating a PV, most distros choose “logical” here. Enter.

For the new partition that we just created, we want to tell the installer what to use it for. So with “Use as” selected, hit Enter.

The options here are many, but we know we want to create a PV without encryption. Make the choice as shown in the image. Enter

That brings us to this screenshot. Scroll down to “Done setting up the partition”. Enter.

Now that we are done creating a PV, the next windown you see should look like the one below. The next step is to configure the Logical Volume Manager. Make sure that option is selected. Enter

The default here is “No”. Selected “Yes”. Enter.

That’s it for creating a PV. The next step is to create a Volume Group (VG).

0saves
To have articles like this delivered automatically to your Feed Reader or Inbox, subscribe via RSS or email.
I am reading page: 1 2 3 4 5

Digital Ocean SSD VPS Cloud Server droplets

Digital Ocean is a VPS/Cloud hosting provider. For just $5 per month, you can get yourself a Cloud server with 512 MB of RAM, 20 GB super-fast SSD, free snapshots, plus backups for a minimal fee. All via a simple graphical interface.

And by signing up with this referral link, you can help support this website.

If you are reading this, your ad could also be occupying this space. Contact us to make it happen.

If commenting on this article is closed, please post your comments at forum.linuxbsdos.com.

11 Comments

  1. maja says:

    Thanks so much for this! Just ran it on a new 10.04 install and it still works!

  2. Juan Ortuno says:

    This guide is INCREDIBLY helpful!
    Thank you SO very much for such a detailed set of step-by-step instructions. The screen shots along with the text instructions gave me the “visual” confirmation that I needed along the way, without making any mistakes.
    I had NO clue how to do my partitioning, LVs, etc., but your guide definitely helped me to get this completed.
    Thank you!

  3. Duane says:

    Thank you for the definitive guide to setting up LVM. A well-reviewed book published in 2008 was completely inadequate in its LVM setup guide.
    Only when I came across this post was I able to correctly set up the HDD. Next time I experiment I may set up ‘swap’ as non-LVM to see if there is any advantage to that. Thanks again, great work!

  4. izzeldin says:

    thanks for this guide . please give us ability to print this guide in this page to benefit from this knowledge . it is difficult print this guide use 1,2,3,4,5 link

    • finid says:

      You can now print any post on this site. Simply click on the share button below each post/excerpt, and click on “Printer”. While you are printing, feel free to bookmark or share it on your favorite social networking site ;)

      • Peter says:

        finid
        where is this share button
        why do posters have to be so unhelpful

        • finid says:

          It is not about being “unhelpful”, it’s just that the Share plugin was clashing with some other stuff. That’s why it was removed. That said, you can now print using the Printblog button below each post. It you are printing this post and other multi-page posts, be sure to first view the post on a single page, before printing. By default the post will print in a double column, saving you paper.

  5. izzeldin says:

    thanks for this guide . please give us ability to print this guide in this page to benefit fro this knowledge . this difficult print use 1,2,3,4,5 link

Leave a Comment