* [linux-lvm] Foreign HD with LVM-Partition, how to read Data?
@ 2001-09-03 7:17 Alexander Bruns
2001-09-03 9:19 ` svetljo
0 siblings, 1 reply; 4+ messages in thread
From: Alexander Bruns @ 2001-09-03 7:17 UTC (permalink / raw)
To: linux-lvm
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [linux-lvm] Foreign HD with LVM-Partition, how to read Data?
2001-09-03 7:17 [linux-lvm] Foreign HD with LVM-Partition, how to read Data? Alexander Bruns
@ 2001-09-03 9:19 ` svetljo
2001-09-03 19:13 ` Alexander Bruns
0 siblings, 1 reply; 4+ messages in thread
From: svetljo @ 2001-09-03 9:19 UTC (permalink / raw)
To: linux-lvm
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
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [linux-lvm] Foreign HD with LVM-Partition, how to read Data?
2001-09-03 9:19 ` svetljo
@ 2001-09-03 19:13 ` Alexander Bruns
2001-09-03 19:50 ` svetljo
0 siblings, 1 reply; 4+ messages in thread
From: Alexander Bruns @ 2001-09-03 19:13 UTC (permalink / raw)
To: linux-lvm
Hi,
> 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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [linux-lvm] Foreign HD with LVM-Partition, how to read Data?
2001-09-03 19:13 ` Alexander Bruns
@ 2001-09-03 19:50 ` svetljo
0 siblings, 0 replies; 4+ messages in thread
From: svetljo @ 2001-09-03 19:50 UTC (permalink / raw)
To: linux-lvm
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
Alexander Bruns wrote:
>Hi,
>
>>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
>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
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2001-09-03 19:50 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-09-03 7:17 [linux-lvm] Foreign HD with LVM-Partition, how to read Data? Alexander Bruns
2001-09-03 9:19 ` svetljo
2001-09-03 19:13 ` Alexander Bruns
2001-09-03 19:50 ` svetljo
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.