How to do Custom Partition in Linux 5uX using Logical Volume Manager

Below post will describe how can we make Custom Partition in Linux using Logical Volume Manager. Benefit of having LVM is – we can later on increase the size of our Physical Volume so we no need to worry about the space now.

2

Boot partition can not be in LVM so we will create boot partition individually and remaining partition will go for Physical Volume.

3

After we done with boot partition we will configure rest of the partition space for PV like below.

4

Now select PV and click on LVM to create Volume Groups. Volume Name group can be decided by your choice.

5

Now we will create Logical Volumes in this Volume Group. Click on Add and select the “File System Type” as SWAP.Ideally SWAP partition should be double of physical RAM.

6

SWAP partition is created as per below.

7

Now again click on Add and create partition for root (/), we can multiple partition as per our requirement. In this case i only created two partition, SWAP and ROOT.

8

So we are done with two Logical Volumes below.

9

This would be final partition window in our case.That can be different as per the partition size you define.

10

11

Select the partition in which we will be planning to install RHEL. Press Next:

12

Below screen will come up, either you create boot loader or not that your choice:

13

Give a valuable HOSTNAME to this machine, that will be used to identify this machine over network:

14

Select the region and Press Next:

15

Give the root password and confirm password. Press Next:

16

So we are finally on that stage in which we can customize our required software what we need and what we don’t need.

17

Hope this helps. This way we can create LVM partition.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s