search
top

Adding Additional Disks RHEL 6

Ever wondered how to add an additional disk to RHEL 5/6 and create a new LVM(Logical Volume Manager). In this post I will try to show how to do just that.

This is assuming a second disk was added (/dev/sdb) to the system. If the disk is different (dev/sdc…) just make the changes to the command.

Create the Physical Volume

Create the volume group. We will call it vgapp.

Verify it created.

Create the logical volume, staying with app as the name we’ll call it lvapp.

Now lets format the logical volume as ext4.

Verify it.

Make a directory for the mount

Add the new filesystem to /etc/fstab

Mount it

All done and ready for use!

Leave a Reply

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

top