-   Linux - Enterprise (
-   -   How to configure lvm in text (

ram_rajavarapu 09-15-2009 10:28 AM

How to configure lvm in text
Hai LQ
My box is installed with RHEL-5. I am able to configure LVM in X system. But I was unable to configure lvm in text mode. How does it possible? suggest me
Thank You

MensaWater 09-15-2009 10:53 AM

You should type "man lvm" and read it. It will tell you all the other commands that are used for Logical Volume Manager at the end.

Generally the steps are:
pvcreate = Prepare a disk or partition for LVM (makes the PVs).
vgcreate = Create a Volume Group (VG) - In this step you select which PVs to include. A VG can be thought of as a logical disk.
lvcreate = Create Logical Volumes (LVs) from the VG. These can be thought of sort of like logical partition of the logical disk.

Once you've made the LVs you have to layout a filesystem on them (e.g. with mk2efs for ext2 and ext3 filesystems). You then mount them with the mount command.

You can type "man" for any of the commands I listed above including mk2efs and mount.

chrism01 09-15-2009 08:37 PM

Here ya go

catkin 09-16-2009 04:50 AM


Originally Posted by chrism01 (Post 3684372)

Good link. Some people like grimoire better (I find it too detailed).

chrism01 09-17-2009 01:59 AM

If you want detail, wrap your head round this

All times are GMT -5. The time now is 09:24 PM.