Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Use the lvresize command of linux to resize the LVM logical volume space

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

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.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report