1. Expand LV capacity
You do not need to detach the file system to increase the LV capacity.
The procedure is as follows:
A. Use fdisk to set partitions with 8e System ID
B. Create a PV using pvcreate
C. Use vgextend to add PV to VG to resize VG
D.
Introduction to Commands:Physical volume (PV) physical volume Management commands:Pvcreate Create, Pvremove Remove data from PV, Pvscan scanPvdisplay Detailed View (PVS view simple information), Pvmove move the data on a PV to other PVCommand format:
RESIZE2FS: Adjust the size of the Ext file systemWith logical volume LV usage: Resize2fs/path/to/lv_name 3G adjusts the logical boundary size of the LV to 3GI. Extending the logical Volume LV:(the physical boundary of the logical volume must be
LV cannot be automatically activated after the system is restarted (boot. lvm & after. loca) We recently discovered that the suse11sp2 system solved the problem of abnormal crashes and introduced another problem. For example, this lv cannot be
In the HPUX operating system, the LV is drawn from the VG, and the LV is made into a file system, then mount the file systemCreating a logical Volume LVOL5#lvcreate-L 20480m-n lvol5/dev/vg01Note: LVOL5 is the name of the LVUse character device files
In the AIX environment, due to maintenance misoperation, storage mapping error, and so on accidentally deleted LV mistakenly, this loss is usually huge. Improper protection and recovery operations after deletion may cause data to be unrecoverable or
In Aix, The lvcb information of LV is located at 512 bytes of each LV header, and a copy of all LV lvcb is also available in vgda, if the lvcb of the LV header is inconsistent with the lvcb in vgda, how can we synchronize it? However, this situation
Today in the installation of Oracle one RAC, look at the operating system DF-LH, found that the/home directory has been divided into more than 500 g,/root directory only 50G, then I burst a foul language, the TM system is how to do.Filesystem Size
The LVM is attached to the DM function. The DM (device Mapper) is a ing Framework mechanism provided by the Linux 2.6 kernel from a logical device to a physical device. Under this mechanism, users can easily develop storage resource management
Create LV-L Specify LV size-L (L) specifies the number of Le that the LV contains-n Specifies the LV nameView LVThis is the creation of the LV only after the appearance.Extended LV-L (L) Specify the number of Le-L Specify Capacity expansionNote: If
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.