LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 11-23-2006, 12:55 AM   #1
sendas
LQ Newbie
 
Registered: Nov 2006
Posts: 4

Rep: Reputation: 0
New OS with a already setup LVM


I have a Ubuntu box which crashed last week "I shut down but never came back up". It has 3 hard drives which use LVM and another separate hd just for the OS

I really am worried about losing the data on the LVM. If I reinstall ubuntu will I be able to access the lv group with all its data? and how would I do this?
 
Old 11-23-2006, 06:10 PM   #2
Brian1
Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 61
Not an LVM user but I would do the following. Remove the 3 hardrives and make notes to which cable they are connected to for reinstall later. Now I assume the one that is the OS is the master drive on the primary IDE or Sata channel. If so you may need to set the jumpers on that drive to be single drive status. Now boot up with a Live CD like Knoppix or Kubuntu. Once up mount the drive partition that contains the /etc/fstab file. Copy it down or print it out or save to a floppy or CD. If hand copy be exact. Best thing is copy to floppy or media stick or something.

Once that is backed up you can then do a reinstall and if possible selct upgrade or something like that. Not sure if Ubuntu has that option. If you must blank then go ahead. Now once the system is back up. Reinstall the drives. Set jumper on the master drive if changed earlier. Now but Ubuntu and open both the /etc/fstab on the new Ubuntu install and the backup copy. Cut and paste from the backup to the new install the lines pretaining to the LVM drive partitions.

I think this should work but not 100 percent sure. I would research this further or maybe someone here can say it would work.

Brian
 
  


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
Ubuntu/LVM Setup Problem Malibyte Linux - Software 1 02-05-2007 06:17 PM
Does FC6 not like installing on systems that already have LVM setup? Jongi Fedora 4 11-30-2006 12:14 PM
Hardware Raid Setup Question - LVM? funbags Linux - Hardware 0 11-13-2005 11:39 AM
RAID/LVM setup with existing drives juu801 Linux - General 3 07-06-2005 12:35 AM
How to setup LVM after after completing install of RH9 jcarpio Linux - Software 0 04-10-2004 01:35 PM


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

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