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