Foreign HD with LVM-Partition, how to read Data?
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
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
Quoted 43 lines · Alexander Bruns
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-XxVpocSo is there a way to get the data read out of this partition?
Greetings from Alex
_______________________________________________
linux-lvm mailing list
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html
Hi,
Quoted 8 lines
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
no it is a newly installed system which never was intended to use lvm. i only compiled lvm etc to get hopefully read the data of the harddriver from the completely different system.
I never activated andy volume groups or defined something with lvm.
do i have to define a volumegroup with this harddrive with the same name from the old system?
Greetings
Alexander Bruns
no you dont
you have to run vgscan
it will tell you what have it found and it should find the VG on the other disk if vgscan does not tell you that the VG is activate you should run vgchange -ay [and the name of the VG]
and then you go to /proc/lvm/ and take a look at a file called i think general you can do ls and in case it's general
cat general
will give you information of all the VG's and LV's found on your PC
and you simply mount /dev/ [the name of the VG] / [ the name of the LV]
/ [your mount point]
this should be all
Quoted 36 lines · Alexander Bruns
Hi,
Quoted 8 lines
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
no it is a newly installed system which never was intended to use lvm. i only compiled lvm etc to get hopefully read the data of the harddriver from the completely different system.
I never activated andy volume groups or defined something with lvm.
do i have to define a volumegroup with this harddrive with the same name from the old system?
Greetings
Alexander Bruns
_______________________________________________
linux-lvm mailing list
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html