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.
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
soon!
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.
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! http://doubledubs.com/UserProfile/tabid/82/userId/10057713/Default.aspx
Hi,
Thank you for your comment.
Please send me a note at info@hybrisarchitect.com and I will provide you more details.
Regards,
Marc