LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 05-27-2007, 05:01 AM   #1
Linux31
Member
 
Registered: Aug 2004
Posts: 296

Rep: Reputation: 30
Combining Volumes on LVM Drive in CentOS 5.0


I'm running CentOS 5.0 on an AMD64 dual core and Asus MB. I've opened up additional space on the same physical drive as the CentOS installation and would like to get it added to the CentOS volume.

Right now, the CentOS drive is sda7 and I would like to add or merge the ext2-formatted sda5 but I don't see any options for doing this under the Gnome LVM admin app.

Is there a way to do this non-destructively or do I have to do a re-install?

I checked the installed programs list under the "Add/Remove Programs" tab and it says that parted, a Gnome app is installed but I don't see it under any of the menus.

Thanks for any help you can provide.
 
Old 05-27-2007, 05:10 AM   #2
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133
Quote:
it says that parted, a Gnome app is installed but I don't see it under any of the menus.
Type "parted" into a terminal as root; but I do not recommend it as messing with live partitions is generally a very bad idea. Fetch and burn a Gparted LiveCD instead so you can do your work while the system is down. btw, if the "parted" you mention is really Gparted (it is available from the CentOS repos), then it should be under Applications > System Tools - but I still recommend using the cd instead.

As for adding space to a volume group, that should be possible but it may need to be done from the command line. The relevant commands are:
pvcreate (turn your new partition into a physical volume first)
vgextend(add the newly created pv to the existing volume group).
Consult "man lvm" for details; or search google now that you know what you're after.

Last edited by jay73; 05-27-2007 at 05:13 AM.
 
Old 05-27-2007, 08:14 AM   #3
Linux31
Member
 
Registered: Aug 2004
Posts: 296

Original Poster
Rep: Reputation: 30
Thanks for the feedback. Rather than mess around, since I'm going to be adding RAM to the system this week, I'll do a re-install.

This has been a learning machine for me to try out different distributions etc. As a result, there's never been anything critical on the machine and I've done numerous re-installs as I encountered problems or tried different distributions.

I've decided on CentOS 5.0 because everything just works for me plus, I got the free VMWare server installed so I think I'm at the point where I can commit now and beef this machine up and make it my primary machine.

Thanks again.
 
  


Reply

Tags
centos, lvm


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
Expanding volumes with LVM in fc3 iaindooley Linux - Software 0 03-23-2007 08:50 PM
Using LVM and adding a drive reeseslover531 Fedora 3 09-30-2006 11:03 AM
mount refusing to mount lvm volumes linuxmandrake Fedora 2 07-20-2005 06:06 PM
Convert LVM volumes to primary partitions? MHouse Linux - Software 0 02-03-2005 10:34 PM
LVM Problem - vgimport - wrong number of physical volumes to import volume group Anything1 Linux - Software 0 09-06-2003 07:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 04:19 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