The LV of Linux LVM

Source: Internet
Author: User

Create LV

-L Specify LV size

-L (L) specifies the number of Le that the LV contains

-n Specifies the LV name



View LV

This is the creation of the LV only after the appearance.

Extended LV

-L (L) Specify the number of Le

-L Specify Capacity expansion

Note: If there is no plus sign in the command, indicating that the LV extends to XXG, there is a plus sign that expands the XXXG

Now the underlying hard drive is expanding, and the file system is expanding.

Because of the need to format, if the new capacity is large, it will take some time.

Reduced LV

Reduced LV must first unmount the file system

To detect the status of the current file system again

It's fine without an error.

Formally shrink the file system

The 1G here refers to the capacity of the existing file system.

Reduced LV

-l Specifies reduced capacity if the parameter does not have a minus sign, the command is reduced to a specified number, and a minus sign is a decrease in the specified capacity

-L (L) Specify reduction le

Delete LV

Deleting the LV should uninstall the file system first.



The LV of Linux LVM

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.