Use the lvresize command of linux to resize the LVM logical volume space
This article will explain in detail about the use of linux's lvresize command to adjust the space size of LVM logic volumes. The editor thinks it is very practical, so I share it with you as a reference. I hope you can get something after reading this article.
The lvresize command is used to resize the space of LVM logical volumes to increase and shrink the space. You need to be careful when using the lvresize command to resize and shrink logical volume space, as it can result in data loss.
Syntax format: lvresize [parameters]
Common parameters:
-L specifies the size of the logical volume in "kKmMgGtT" bytes-l specifies the size of the logical volume (number of LE)
Reference example
Increase the logical volume space by 200m:
[root@linuxcool] # lvresize-L + 200m / dev/vg1000/lvol0Extending logical volume lvol0 to 280.00 MB Logical volume lvol0 successfully resized about using linux's lvresize command to adjust the space size of LVM logical volumes is shared here. I hope the above content can be of some help and learn more knowledge. If you think the article is good, you can share it for more people to see.