LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (http://www.linuxquestions.org/questions/linux-server-73/)
-   -   Configuring LVM without erasing data . (http://www.linuxquestions.org/questions/linux-server-73/configuring-lvm-without-erasing-data-4175438738/)

call_krushna 11-26-2012 03:37 AM

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 .

syg00 11-27-2012 02:22 PM

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 ?.

call_krushna 11-27-2012 07:30 PM

Quote:

Originally Posted by syg00 (Post 4838194)
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

syg00 11-28-2012 03:37 AM

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


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