Manual LVM configuration guide for Debian 6

The first LV will be for /. Like the VG’s name, the names for the LVs can be anything you feel comfortable with. For ease of management, it is better to use a name that reminds you of the mount point. I like to name the LV that will be used for / as root, swap for that which will be used for swap, and home for the LV for /home. Continue.

How much space do you want to allocate to the root LV? By default, the installer allocates 10 GB to his LV. You can assign a lower value if you wish. Note that a default installation of Debian 6 uses about 3.1 GB of disk space Continue.

Repeat the last four steps for other LVs. When all LVs have been created, the screen will look just like the one below. Scroll to “Finish.” Continue.

The final task is to assign a mount point and a file system to the LVs. Select any LV and click Continue.

If “Use as” is not selected, scroll to it, then Continue. On the screen that opens, select a suitable file system. The default is ext3. Other than btrfs, any other available journaling file system will do.

Related Post:  How to build a private corporate blockchain using Hyperledger Fabric

Then assign a mount point. Continue.

Repeat the last three steps for other LVs. When all the LVs have mount points and file systems assigned, the main screen will be just like the one below. Scroll to “Finish partitioning and write changes to disk.” Continue.

Select Yes. Continue.

That’s it folks. It’s a long tutorial, but attribute that to the Debian Installer. If this article is your introduction to LVM, I hope it was easy to grasp. A soon-to-be-published article will cover basic LVM management tasks. Check back soon or subscribe via RSS or email.

Related Post:  How to boost the physical security posture of your Linux-powered computer

I hope this guide has been helpful. If you need further assistance, feel free to ask for help at the forum. It is a better environment for discussing and resolving issues than the commenting system. Gratias.

Please share:

23 Responses

Add a Comment

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