| Home > FAQ > CentOS 4 Specific | FAQ |
Requested and Answered by Johnny Hughes [hughesjr] on 25-Jan-2006 20:42 (26960 reads)
How do I use LVM2 with CentOS-4?
The basic answer is that you create Physical Volumes (PVs) using pvcreate and then either create or extend Volume Groups (VGs) with with the PVs, the commands for this are vgextend, vgcreate, vgremove among others.
Next you would create or extend Logical Volumes (LVs) in the VGs. The commands for that are lvcreate, lvextend, lvremove.
Once you have taken care of the LVs, you would extend the file system (ext2 or ext3) using the ext2online command.
Here are some detailed references with examples for using LVM2 on ext3:
The Linux Logical Volume Manager
Getting started with EL4's built-in LVM tools
TLDP LVM HOWTO
Next you would create or extend Logical Volumes (LVs) in the VGs. The commands for that are lvcreate, lvextend, lvremove.
Once you have taken care of the LVs, you would extend the file system (ext2 or ext3) using the ext2online command.
Here are some detailed references with examples for using LVM2 on ext3:
The Linux Logical Volume Manager
Getting started with EL4's built-in LVM tools
TLDP LVM HOWTO
|
The comments are owned by the poster. We aren't responsible for their content.
|
||||||||||||||||||||||||||||







