How Do You Allocate Additional Storage to a Red Hat Enterprise Linux Server (RHEL) Volume Group?

I recently ran out of storage space on my development server that has both Hybris and Adobe Experience Manager (AEM) installed.

A quick df -h command confirmed my suspicion:

Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_system-opt 7.0G 7.0G 20K 100% /opt

After installing a new disk. the operating system identified this new disk as /dev/sdb.  Since this is a brand new disk, no partitions exist.

The following are the steps required to add additional space to a Red Hat Enterprise Linux Server Volume Group.

1. Convert this new disk into a physical volume:
# pvcreate /dev/sdb
Physical volume "/dev/sdb" successfully created

2. Add the physical volume to the volume group being used (vg_system)
# vgextend vg_system /dev/sdb
Volume group "vg_system" successfully extended

3. Run the lvdisplay command to display existing logical volume properties, and grab the LV Path that requires more storage space.
# lvdisplay

4. If lvdisplay isn't installed, run the following yum install command to install lvdisplay.
# yum install system-config-lvm

3. Increase the size of the logical volume to 130GB (select the appropriate size for your environment)
# lvextend -L+130G /dev/vg_system/opt

4. Finally, resize the file system to use the additional space.
# xfs_growfs  /dev/vg_system/opt

5. For good measure, check if the space is available by performing the df -h command again.
# df -h

The 130GB has been successfully allocated to the RHEL Volume Group, and this concludes this tutorial.

Marc Raygoza

Marc is the Founder of
He enjoys helping others learn more about SAP Hybris Commerce. Marc is a SAP Commerce Certified Professional and has held the role of Hybris Architect at Deloitte, PWC, Exemplis and Nasty Gal. He is a long-time Java/Spring developer. Marc holds an M.S. Software Engineering from Carnegie Mellon University and a B.S. in Accountancy from California State University, Fresno. He can be reached at:

You may also like...

Popular Posts


  1. Very nice post. I just stumbled upon your blog and wanted to say that I've really enjoyed browsing your blog posts.
    After all I'll be subscribing to your feed and I hope you write again very

  2. Hi to all, because I am really keen of reading this web site's post to be updated on a regular basis.
    It consists of nice data.

  3. Hey there would you mind sharing which blog platform you're using?
    I'm planning to start my own blog in the near future but I'm having a
    hard time deciding between BlogEngine/Wordpress/B2evolution and Drupal.
    The reason I ask is because your layout seems different then most
    blogs and I'm looking for something completely unique.
    P.S My apologies for getting off-topic but I had
    to ask!

    1. Hi,
      Thank you for your comment.
      Please send me a note at and I will provide you more details.


Leave a Reply

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