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