Latest Reviews & Tutorials

  • Still in search of that perfect desktop distribution
  • The first thing to do after installing Linux Mint Debian 201204
  • Linux Mint Debian 201204 Xfce review
  • What will ‘rm -rf /’ actually do to your Linux/BSD machine?
  • Linux Mint Debian 201204 MATE/Cinnamon review
  • What’s the point of having 2 scrollbar types in Ubuntu 12.04?
  • Install the latest and greatest Cinnamon desktop on Ubuntu 12.04
  • How to run Linux Mint Debian Cinnamon in VirtualBox
  • Manual disk partitioning guide for Linux Mint Debian
  • Chakra Archimedes-2012.04 review
  • How to install Takeoff Launcher on Kubuntu 12.04
  • Replace Oxygen with ROSA theme on any KDE-powered distribution
  • 5 user-friendly applications you could be using now
  • ROSA Desktop 2012 beta review
  • How to install Jitsi in Fedora
  • Install Jitsi 1.0 in Debian, Linux Mint and Ubuntu
  • 3 minutes with GNOME 3.4 built-in desktop recorder
  • How to install and configure a graphical firewall client on Comice OS 4
  • Tweak Pear Linux Comice OS 4 dock
  • Pear Linux Comice OS 4 review

Configure LVM in Mandriva Linux Free 2009


I am reading page: 1 2

Mandriva Mandriva Free is one of the editions of desktop Linux distros published by Mandriva, the French Linux solutions provider. The others being Mandriva One and Mandriva Powerpack. In this tutorial, we are going to offer a step-by-step guide on how to configure Linux Logical Volume Manager (LVM) in Mandriva Linux Free 2009.

Mandriva Linux One, the LiveCD version with the option to install to hard disk does not have support for configuring LVM. We think that LVM configuration is an option in Mandriva Linux Powerpack, but we are yet to review that edition of Mandriva Linux. In Mandriva Free, LVM is not the default, but toggling to “Expert Mode” during the installation process gives you the option to configure LVM.

Using Linux LVM adds a layer of flexibility to disk storage management that is not possible with the traditional method of disk partitioning. Like Fedora, StartCom, CentOS, and Debian, Mandriva Free has the option for automatic LVM partitioning. With Openfiler and Foresight Linux, however, you have to do it manually, which means that you must have more than a basic understanding of LVM in order to configure LVM in these two distros.

By default, Mandriva Free creates the following partitions:

  • / (about 7.8 GB)
  • swap about 4.0 GB
  • /home (the rest of the available disk space)

But that is not good enough. We need some flexibility in storage management, and LVM is what gives us that flexibility. For creating LVM, here are the steps we need to take. Note that while we are dealing specifically with Mandriva Free, these are the same steps that should be followed when creating LVM in any other distro that supports it:

We begin the core part of this tutorial at the point during the installation process where disk partitioning starts (about four screens into the installation process). In the screenshot below, you are presented with three options. For the purpose of this tutorial, select the last option as shown.
Partition type selection

This next screenshot shows the disk drives detected in the system. Note that it is very likely that there are existing partitions on the detected drive(s), so you may have to delete those partitions before you see what’s shown in this image. Before moving to the next screen, you need to click on the “Toggle to expert mode” button. If not, the installer will auto create partitions for you if you click the “Next” button. So before you click “Next”, click on “Toggle to expert mode”.
Select disk drive

Now that we are in “Expert mode”, time to start creating partitions. Selecting (click) the disk drive you want to partition gives you the option to start creating partitions. Click on “Create”.
Select expert modea and disk

The first partition we need to create is a non-LVM, primary boot partition (/boot). /boot doesn’t require too much space. Most distros assign 100 MB to /boot, and that should be more than enough, but if the day is bright and you are feeling good, give it 200 MB. It will not break a thing.
Create /boot

Now that /boot has been created (the reddish sliver on the disk represents /boot), click on the unused part of the disk, and then click on “Create”.
after /boot

What we are going to create is a physical volume (PV). If we were doing this from the command line, this is where we would have issued the pvcreate command. What this does is initialize the rest of the disk space for use by LVM. Assign all the unused disk space to the PV, and for filesystem type, select “Linux Logical Volume Manager” (this should the third item on the third row)
Create the PV

0saves
To have articles like this delivered automatically to your Feed Reader or Inbox, subscribe via RSS or email. For simple comments, use the commenting system, but for more involved assistance, please use the Question & Answer section.
I am reading page: 1 2

Posts From The Same Category:




Advertisement

2 Comments

  1. Alejandro Palestrini says:

    Very good tutorial. Clear and concise. I congratulate you. I would like to receive information on Mandriva and Ubuntu. If it is in Castilian, the better. Greetings and thanks. Alejandro Palestrini. Buenos Aires, Argentina

Leave a Reply

Trackbacks

Read previous post:
eBox Platform 1.0rc1 Ready for Testing
University of Perugia’s Open Source Master Course
Mandriva Linux 2009 Firewall
Close