| Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
09-15-2009, 10:28 AM
|
#1
|
|
Member
Registered: May 2008
Posts: 41
Rep:
|
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
|
|
|
|
09-15-2009, 10:53 AM
|
#2
|
|
Guru
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 5,644
|
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.
|
|
|
|
09-15-2009, 08:37 PM
|
#3
|
|
Guru
Registered: Aug 2004
Location: Brisbane
Distribution: Centos 6.4, Centos 5.9
Posts: 14,938
|
|
|
|
|
09-16-2009, 04:50 AM
|
#4
|
|
LQ 5k Club
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian Squeeze (server), Slackware 13.37 (netbook), Slackware64 14.0 (desktop),
Posts: 8,357
|
Quote:
Originally Posted by chrism01
|
Good link. Some people like grimoire better (I find it too detailed).
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 12:22 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|