[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [linux-lvm] Foreign HD with LVM-Partition, how to read Data?



Hi i could't completly understand you

is that true:

you have instaled Redhat on a working sepatarate drive
and you hace added a drive from a crashed system
if this is the case i hope you can run

vgscan -that will tell you the name of the volume group

vgchange -ay volume group name --that activates the volume

if you know the name of the logical volume you should be able to mount it
or if you don't know the name of the logical volume you can find it out from proc


cat /proc/lvm/global

you should see all VG'S PV's and LV's

so mount /dev/ "volume group" / "Logical Volume" / " where you want it" should work





could you give a bit more information
like fstab of the instaled RedHat




Alexander Bruns wrote:


Hi,

I hot a HardDrive from a crashed System. The System-Harddrive is not recoverable, but the Harddrive with the LVM-Partition on it, is still "alive".

There was only one Partition in the VolumeGroup, so all the Data in the Logical Volume is on this single Partition.

Is there a way in to get the data read out of the Partition? It was formated with reiserfs on a RedHat Linux 7.1.

I activated the Hardware in my System and have now the same Running:

- RedHat 7.1 with all updates.
- self-compiled Kernel 2.4.6 with patched lvm 0.9.1_beta7

[root holodeck lvmconf]# pvdisplay /dev/hda7
pvdisplay
--- Physical volume ---
PV Name               /dev/hda7
VG Name               lvm_volume_01
PV Size               48.54 GB / NOT usable 1.06 MB [LVM: 169 KB]
PV#                   1
PV Status             available
Allocatable           yes (but full)
Cur LV                1
PE Size (KByte)       4096
Total PE              12425
Free PE               0
Allocated PE          12425
PV UUID               cFFBJX-aqxr-P7kU-71OY-pgpX-rvtA-XxVpoc


So is there a way to get the data read out of this partition?


Greetings from Alex




_______________________________________________ linux-lvm mailing list linux-lvm sistina com http://lists.sistina.com/mailman/listinfo/linux-lvm read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]