LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-03-2006, 10:16 AM   #1
skondolf
LQ Newbie
 
Registered: Oct 2004
Distribution: AS 4.0
Posts: 6

Rep: Reputation: 0
RHAS 4.0 2.6 kernel - How to implement LVM2 post-install


We have RHAS 4.0 (2.6.9.22.0.2 kernel, Dell Poweredge 2850, hardware raid) running that was setup w/out LVM2 and now we'd like to implement LVM2. Can this be accomplished post-install w/out losing what's on the drives or does this require a complete reinstallation of Linux on the server?

I've been all over looking for info on how to accomplish this but cannot find any info on this scenario.

If this IS possible, can someone post cleare instructions (or a link to them) that a fairly new Linux user can follow?

Thanks
Steve
 
Old 03-04-2006, 04:32 PM   #2
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 49
In a broad sense what you are trying to do isn't possible. You can't just designate drives or portions of drives as part of a LVM and have that work. It would be possible if you had enough space on the machine and drives that weren't going to be part of the LVM, to transfer all the data from drives that were going to be part of the LVM to non-LVM drives, then create the LVM, and copy the data back. Doing so would not be in the least bit trivial however. It would require much comfort with linux CLI (command line interface), and knowledge of how to mount/unmount disks and partitions.

You would probably find it much easier to take the machine down, and rebuild it from scratch. Not knowing what is on the machine I can't give specifics, but I would suggest copying off the important data and configuration files, then rebuilding with LVM, and tossing the old configs back on.

I would guess you can't find documentation on what you are trying to do because it isn't done too often, and the directions to do what you are looking for would read more like script than human directions.

If you want to post more on the partitions and disks (sizes, mountpoints etc) and what is installed, someone may have instructions for you. Again, without massive space and enough space to hold all your data on drives that aren't going to be part of the LVM, I don't think this will work without rebuilding.

You may have some luck with these search results from google.com/linux http://www.google.com/linux?hl=en&lr...VM&btnG=Search

Actually, this thread seems to be dealing with exactly what you have, but on a home system rather than a hardware RAID server. That won't make any difference, but it does seem to be possible:
http://linux.derkeiler.com/Mailing-L...5-11/1946.html
Peace,
JimBass

Last edited by JimBass; 03-04-2006 at 04:41 PM.
 
  


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
LVM2 volume group not seen after FC4 install digithead1011 Fedora - Installation 6 10-09-2005 09:25 PM
Kernel issues with LVM2 GameboyHippo Linux - Software 1 07-29-2005 01:20 PM
Upgrading Kernel in RHAS 2.4.9 vanibhat Linux - Security 4 03-03-2005 02:26 PM
Building multi-kernel compatible (Linux RHAS) apps ? cbrockwell Linux - Newbie 0 02-25-2005 11:52 AM
2.6.5 module -post kernel install questions kkiedrowski Slackware 1 05-05-2004 03:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:40 PM.

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