+ Add To It

Making logical volumes out of the RAID devices

Last edited by anonymous on March 17, 2010
+Add To It 1

Adding a RAID device

Go to the “RAID” section of the partitioning program. Once in the RAID view click the “Add RAID…” button.


+Add To It 2

Launch terminal

After the partitions are done formatting the partitioning program should automatically close. Once the partitioner is closed right click anywhere on the desktop and click “Open In Terminal”.


+Add To It 3

Create physical volumes

Once in Terminal type the following command

su root

and hit enter. This will make the text 

Password:

pop up in terminal. Type your password and hit enter. Note that when typing your password no characters will appear on the screen. This is a security feature built into Linux to prevent somebody watching your screen seeing the length of your password. After typing in your password, type in the command bellow. Replacing /dev/md0 with the names of the RAID devices that were written down in step 3.5. Make sure to run this command once for every RAID device you want to be included in LVM.

pvcreate /dev/md0

 

+Add To It 4

Adding a volume group

Start the partitioning program again (Steps 1.1 through 1.5) and then go to the “Volume Manager” section. Once in Volume Management click “Add Volume Group”

When giving the “Volume Group Name” be sure to only use letters, numbers and dashes, no spaces or weird characters. I just left the “Physical Extent Size” the default value. Lastly, be sure to add all of the devices that you want to be included in the logical volume. When everything is done click “Finish”.

 

+Add To It 5

Creating a logical volume

Click on the group that was created in step 4.3, click on the “Logical Volumes” tab and then click the “Add” button.

 

+Add To It 6

Give the logical volume a name

When giving the logical volume a name make sure to only use letters, numbers and/or dashes.

 

+Add To It 7

Logical volume size and stripes

Select the size of the logical volume. For the “Stripes” option I left the default value.

 

+Add To It 8

Logical volume formatting options and mounting options

Check the “Format partition” radio button and then select a file system. I would recommend “Ext3″ for the file system. Also, make sure to check the “Mount partition” radio button. Note, when selecting a mount point be sure to start it with a / and to not use any spaces or special characters. If you want to create more than one logical volume repeat steps 4.4 through 4.7.

 

+Add To It 9

Apply partitioning changes

Click next to apply the changes.

Review the summary and than click “Finish” to start applying the changes. Once the partitioner is finished it will automatically quit.

 

blog comments powered by Disqus
version .0015 Remote VPS