[linux-lvm] Major Problems with my damaged LVM! Please Help! :-)

Sebastian Kindt sk_computer at gmx.de
Tue Mar 21 18:09:14 UTC 2006


Hello,

I have a major Problem. First my initial situation:
I have a Fedora Core 3 System with one harddrive an the standard LVm Settings on it. Then the disk was full an I added a second harddrive and included it in the Volume Group. But I never enhanced the filesystem. So the second Harddisk was always empty. Then I set up a new System an put the empty HD from the old System in it. But I forget to remove the Disk from the VG of the old System. Now the old system doesn't boot up because the second hard drive is missing.
What are my possibillities to get the Data from this Harddisk back? At the Moment I have this disk in a system where the system is on a standard ext3 filesystem.

Please help me because the data on the disk is very important..

With best regards..

Now a few outputs:

fdisk /dev/hdd (The defect Harddisk)
/dev/hdd1   *           1         203      102280+  83  Linux
/dev/hdd2             204       79653    40042800   8e  Linux LVM

fdisk /dev/hde (the System)
/dev/hde1   *           1          13      104391   83  Linux
/dev/hde2              14        4865    38973690   83  Linux

[root at noname ~]# lvmdiskscan
  /dev/hda   [      186.31 GB]
  /dev/hde   [       37.27 GB] LVM physical volume
  /dev/hda1  [      186.31 GB]
  /dev/hde1  [      101.94 MB]
  /dev/hde2  [       37.17 GB]
  /dev/hdd   [       38.29 GB]
  /dev/hdd1  [       99.88 MB]
  /dev/hdd2  [       38.19 GB] LVM physical volume
  2 disks
  4 partitions
  1 LVM physical volume whole disk
  1 LVM physical volume

[root at noname ~]# lvdisplay
  Couldn't find device with uuid 'qSazfv-F1Sa-jUKa-FtbY-o7HP-dGmG-YzhpfZ'.
  Couldn't find all physical volumes for volume group VolGroup02.
  Volume group "VolGroup02" not found

[root at noname ~]# vgscan
  Reading all physical volumes.  This may take a while...
  Couldn't find device with uuid 'qSazfv-F1Sa-jUKa-FtbY-o7HP-dGmG-YzhpfZ'.
  Couldn't find all physical volumes for volume group VolGroup02.
  Volume group "VolGroup02" not found
  Found volume group "VolGroup00" using metadata type lvm2

[root at noname ~]# vgdisplay
  Couldn't find device with uuid 'qSazfv-F1Sa-jUKa-FtbY-o7HP-dGmG-YzhpfZ'.
  Couldn't find all physical volumes for volume group VolGroup02.
  Volume group "VolGroup02" doesn't exist
  --- Volume group ---
  VG Name               VolGroup00
  System ID
  Format                lvm2
  Metadata Areas        1
  Metadata Sequence No  7
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                0
  Open LV               0
  Max PV                0
  Cur PV                1
  Act PV                1
  VG Size               37.25 GB
  PE Size               32.00 MB
  Total PE              1192
  Alloc PE / Size       0 / 0
  Free  PE / Size       1192 / 37.25 GB
  VG UUID               fruTb9-D6zB-puw4-k1vK-jCvN-B7Hf-tCu9pc

[root at noname ~]# pvscan
  Couldn't find device with uuid 'qSazfv-F1Sa-jUKa-FtbY-o7HP-dGmG-YzhpfZ'.
  PV unknown device   VG VolGroup02   lvm2 [37.25 GB / 32.00 MB free]
  PV /dev/hdd2        VG VolGroup02   lvm2 [38.16 GB / 38.16 GB free]
  PV /dev/hde         VG VolGroup00   lvm2 [37.25 GB / 37.25 GB free]
  Total: 3 [112.66 GB] / in use: 3 [112.66 GB] / in no VG: 0 [0   ]

[root at noname ~]# pvdisplay
  Couldn't find device with uuid 'qSazfv-F1Sa-jUKa-FtbY-o7HP-dGmG-YzhpfZ'.
  --- Physical volume ---
  PV Name               unknown device
  VG Name               VolGroup02
  PV Size               37.25 GB / not usable 0
  Allocatable           yes
  PE Size (KByte)       32768
  Total PE              1192
  Free PE               1
  Allocated PE          1191
  PV UUID               qSazfv-F1Sa-jUKa-FtbY-o7HP-dGmG-YzhpfZ

  --- Physical volume ---
  PV Name               /dev/hdd2
  VG Name               VolGroup02
  PV Size               38.16 GB / not usable 0
  Allocatable           yes
  PE Size (KByte)       32768
  Total PE              1221
  Free PE               1221
  Allocated PE          0
  PV UUID               ozQ418-X0l1-Mnmz-qBU5-pfsc-yi22-6QTTa0

  --- Physical volume ---
  PV Name               /dev/hde
  VG Name               VolGroup00
  PV Size               37.25 GB / not usable 0
  Allocatable           yes
  PE Size (KByte)       32768
  Total PE              1192
  Free PE               1192
  Allocated PE          0
  PV UUID               CbAYwI-X34A-Yriz-sCmx-DtcE-aZQn-ewN4QF









-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/linux-lvm/attachments/20060321/75e7325c/attachment.htm>


More information about the linux-lvm mailing list