LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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, 10:28 AM   #1
ram_rajavarapu
Member
 
Registered: May 2008
Posts: 44

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, 10:53 AM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
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, 08:37 PM   #3
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
Here ya go http://tldp.org/HOWTO/LVM-HOWTO/
 
Old 09-16-2009, 04:50 AM   #4
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
Quote:
Originally Posted by chrism01 View Post
Good link. Some people like grimoire better (I find it too detailed).
 
Old 09-17-2009, 01:59 AM   #5
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

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


Reply



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 07:56 AM
using lvm/ocfs2 to configure san storage mn9 Linux - Server 1 06-12-2007 03:35 AM
Is there a dialog menu to configure RAID and LVM? Akhran Debian 1 03-15-2006 07:17 AM
Configure Xwindows from text omid1979 Linux - Newbie 3 10-29-2003 03:05 PM
How to configure network in text mode (RedHat 7.3) exceter Red Hat 5 10-01-2003 01:23 AM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 04:06 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration