Contents
How to create a logical volume in LVM?
LVM Configuration Examples 6.1. Creating an LVM Logical Volume on Three Disks 6.1.1. Creating the Physical Volumes 6.1.2. Creating the Volume Group 6.1.3. Creating the Logical Volume 6.1.4. Creating the File System 6.2. Creating a Striped Logical Volume 6.2.1. Creating the Physical Volumes 6.2.2. Creating the Volume Group 6.2.3.
How to do LVM administration with CLI commands 5?
LVM Administration with CLI Commands 5.1. Using CLI Commands 5.2. Physical Volume Administration 5.2.1. Creating Physical Volumes 5.2.2. Displaying Physical Volumes 5.2.3. Preventing Allocation on a Physical Volume 5.2.4. Resizing a Physical Volume 5.2.5. Removing Physical Volumes 5.3. Volume Group Administration 5.3.1. Creating Volume Groups
How to remove a disk from a logical volume?
1. Introduction 1.1. About This Guide 1.2. Audience 1.3. Software Versions 1.4. Related Documentation 2. The LVM Logical Volume Manager 2.1. New and Changed Features 2.1.1. New and Changed Features for Red Hat Enterprise Linux 5.6 2.1.2. New and Changed Features for Red Hat Enterprise Linux 5.7 2.1.3.
Creating logical volume mylv Create volume group backup “/etc/lvm/backup/myvg” (seqno 2). lvcreate uses the device mapper to create a block device file entry under /dev for each logical volume and uses udev to set up symbolic links to this device file from /dev/mapper and /dev/ volume_group .
How to remove a logical volume from a volume group?
To remove a logical volume from a volume group, use the lvremove command: You must specify both the name of the volume group and the logical volume. Other commands that are available for managing logical volumes include lvchange , lvconvert, lvmdiskscan , lvmsadc, lvmsar , lvrename, and lvresize .
How to create a snapshot of a logical volume?
You can also use lvcreate to create a snapshot of an existing logical volume such as mylv in the volume group myvg, for example: # lvcreate –size 500m –snapshot –name mylv-snapshot myvg/mylv Logical volume “mylv-snapshot” created