LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices

Reply
 
Search this Thread
Old 09-15-2009, 11:28 AM   #1
ram_rajavarapu
Member
 
Registered: May 2008
Posts: 41

Rep: Reputation: 15
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
 
Old 09-15-2009, 11:53 AM   #2
MensaWater
Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 6,028
Blog Entries: 5

Rep: Reputation: 791Reputation: 791Reputation: 791Reputation: 791Reputation: 791Reputation: 791Reputation: 791
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.
 
Old 09-15-2009, 09:37 PM   #3
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.6, Centos 5.10
Posts: 16,324

Rep: Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041
Here ya go http://tldp.org/HOWTO/LVM-HOWTO/
 
Old 09-16-2009, 05:50 AM   #4
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Servers: Debian Squeeze and Wheezy. Desktop: Slackware64 14.0. Netbook: Slackware 13.37
Posts: 8,563
Blog Entries: 29

Rep: Reputation: 1179Reputation: 1179Reputation: 1179Reputation: 1179Reputation: 1179Reputation: 1179Reputation: 1179Reputation: 1179Reputation: 1179
Quote:
Originally Posted by chrism01 View Post
Good link. Some people like grimoire better (I find it too detailed).
 
Old 09-17-2009, 02:59 AM   #5
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.6, Centos 5.10
Posts: 16,324

Rep: Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041
If you want detail, wrap your head round this http://sunoano.name/ws/public_xhtml/lvm.html
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to configure LVM after linux installation? nishith Linux - Server 1 09-08-2008 08:56 AM
using lvm/ocfs2 to configure san storage mn9 Linux - Server 1 06-12-2007 04:35 AM
Is there a dialog menu to configure RAID and LVM? Akhran Debian 1 03-15-2006 08:17 AM
Configure Xwindows from text omid1979 Linux - Newbie 3 10-29-2003 04:05 PM
How to configure network in text mode (RedHat 7.3) exceter Red Hat 5 10-01-2003 02:23 AM


All times are GMT -5. The time now is 03:19 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration