LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices



Reply
 
Search this Thread
Old 11-26-2012, 04:37 AM   #1
call_krushna
Member
 
Registered: Aug 2007
Location: India
Distribution: Ubuntu
Posts: 168

Rep: Reputation: 1
Configuring LVM without erasing data .


Hi Everybody,

I have configured Lvm using 4 HDDs .

1st HDD (250GB) - For OS(Ubuntu 12.04) with ext3 filesystem

2nd HDD (1TB) LVM configured (single partition)

3rd HDD (1TB) LVM configured (single partition)

4th HDD (1TB) LVM configured (single partition)

LVM - /dev/lvm/lvm0

We are using Glusterfs over LVM to centralise data .

The 1st hdd crashed .Because of that, entire lvm crashed .Not able get back data .Each hdd show the partition as LVM and not able to mount .Is there any way to reconfigure LVM without erasing the data .I know the order ,harddisk connected .

Any help is highly appreciated .
 
Old 11-27-2012, 03:22 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,497

Rep: Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077
No answers ...
Which "1st hdd" crashed - the first disk listed above (i.e. the non-LVM OS disk), or the first of the LVM disks ?.
 
Old 11-27-2012, 08:30 PM   #3
call_krushna
Member
 
Registered: Aug 2007
Location: India
Distribution: Ubuntu
Posts: 168

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by syg00 View Post
No answers ...
Which "1st hdd" crashed - the first disk listed above (i.e. the non-LVM OS disk), or the first of the LVM disks ?.
Yes ,The non-LVM OS disk which contains only OS not any data .

Let me know ,if you have any solution .

Regards
 
Old 11-28-2012, 04:37 AM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,497

Rep: Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077
If you have access to LVM (liveCD or rebuilt OS volume) the following should allow you to access the volume groups/logical volumes so you can get at your data.
Code:
vgchange -a y
 
  


Reply

Tags
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
configuring LVM post installation. avee137 Linux - Newbie 4 07-01-2010 10:39 AM
upgrade system with lvm on software raid-1 data volume w/o losing data BinWondrin Linux - General 1 01-13-2009 04:25 PM
Configuring LVM using disks on separate servers ZAMO Linux - Enterprise 2 12-18-2008 01:28 PM
LVM snapshot(configuring backup time) abhishekrahel Linux - General 1 10-07-2008 11:28 PM
Increase disk space without erasing data stranger_6_7 Linux - Newbie 8 12-01-2006 05:21 PM


All times are GMT -5. The time now is 02:29 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration