In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Editor to share with you the use of linux's lvreduce command to reduce the space occupied by LVM logic volumes. I hope you will gain a lot after reading this article. Let's discuss it together.
The lvreduce command is used to reduce the amount of space consumed by LVM logical volumes. Using the lvreduce command to shrink the space size of a logical volume may delete existing data on the logical volume, so confirmation must be made before the operation.
Syntax format: lvreduce [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)-f reduces the space without prompting
Reference example
Reduce the space size of the logical volume by 50m:
[root@linuxcool] # lvreduce-L-50m / dev/vg1000/lvol0. Do you really want to reduce lvol0? Y Reducing logical volume lvol0 to 252.00 MB Logical volume lvol0 successfully resized: after reading this article, I believe you have a certain understanding of using linux's lvreduce command to reduce the space occupied by LVM logical volumes. If you want to know more about it, welcome to follow the industry information channel. Thank you for reading!
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.