From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx3.redhat.com (mx3.redhat.com [172.16.48.32]) by int-mx1.corp.redhat.com (8.12.11.20060308/8.11.6) with ESMTP id k2LI49q1008396 for ; Tue, 21 Mar 2006 13:04:09 -0500 Received: from mail.gmx.net (mail.gmx.de [213.165.64.20]) by mx3.redhat.com (8.13.1/8.13.1) with SMTP id k2LI41Xt006329 for ; Tue, 21 Mar 2006 13:04:02 -0500 Message-ID: <001401c64d12$9337de20$150fa8c0@peterlustig> From: "Sebastian Kindt" Date: Tue, 21 Mar 2006 19:09:14 +0100 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0011_01C64D1A.F1815030" Subject: [linux-lvm] Major Problems with my damaged LVM! Please Help! :-) Reply-To: LVM general discussion and development List-Id: LVM general discussion and development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , List-Id: To: linux-lvm@redhat.com This is a multi-part message in MIME format. ------=_NextPart_000_0011_01C64D1A.F1815030 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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@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@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@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@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@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@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 ------=_NextPart_000_0011_01C64D1A.F1815030 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hello,
 
I have a major Problem. First my = initial=20 situation:
I have a Fedora Core 3 System with one = harddrive an=20 the standard LVm Settings on it. Then the disk was full an I added a = second=20 harddrive and included it in the Volume Group. But I never enhanced the=20 filesystem. So the second Harddisk was always empty. Then I set up a new = System=20 an put the empty HD from the old System in it. But I forget to remove = the Disk=20 from the VG of the old System. Now the old system doesn't boot up = because the=20 second hard drive is missing.
What are my possibillities to get the = Data from=20 this Harddisk back? At the Moment I have this disk in a system where the = system=20 is on a standard ext3 filesystem.
 
Please help me because the data on the = disk is very=20 important..
 
With best regards..
 
Now a few outputs:
 
fdisk /dev/hdd (The defect = Harddisk)
/dev/hdd1  =20 *          =20 1        =20 203      102280+  83 =20 Linux
/dev/hdd2         &= nbsp;  =20 204       79653   =20 40042800   8e  Linux LVM
fdisk /dev/hde (the = System)
/dev/hde1  =20 *          =20 1         =20 13      104391   83 =20 Linux
/dev/hde2         &= nbsp;   =20 14        4865   =20 38973690   83  Linux
 
[root@noname ~]# lvmdiskscan
 =20 /dev/hda   [      186.31 = GB]
 =20 /dev/hde   [       37.27 GB] LVM = physical volume
  /dev/hda1  = [      186.31=20 GB]
  /dev/hde1  [      101.94=20 MB]
  /dev/hde2  [       = 37.17=20 GB]
  /dev/hdd   [       = 38.29=20 GB]
  /dev/hdd1  [       = 99.88=20 MB]
  /dev/hdd2  [       = 38.19 GB]=20 LVM physical volume
  2 disks
  4 partitions
  1 = LVM=20 physical volume whole disk
  1 LVM physical = volume
[root@noname ~]# lvdisplay
  = Couldn't find=20 device with uuid 'qSazfv-F1Sa-jUKa-FtbY-o7HP-dGmG-YzhpfZ'.
  = Couldn't=20 find all physical volumes for volume group VolGroup02.
  Volume = group=20 "VolGroup02" not found
 
[root@noname ~]# vgscan
  = Reading all=20 physical volumes.  This may take a while...
  Couldn't find = device=20 with uuid 'qSazfv-F1Sa-jUKa-FtbY-o7HP-dGmG-YzhpfZ'.
  Couldn't = find all=20 physical volumes for volume group VolGroup02.
  Volume group=20 "VolGroup02" not found
  Found volume group "VolGroup00" using = metadata=20 type lvm2
[root@noname ~]# vgdisplay
  = Couldn't find=20 device with uuid 'qSazfv-F1Sa-jUKa-FtbY-o7HP-dGmG-YzhpfZ'.
  = Couldn't=20 find all physical volumes for volume group VolGroup02.
  Volume = group=20 "VolGroup02" doesn't exist
  --- Volume group ---
  VG=20 Name           &nb= sp;  =20 VolGroup00
  System ID
 =20 Format           &= nbsp;   =20 lvm2
  Metadata Areas       =20 1
  Metadata Sequence No  7
  VG=20 Access           &= nbsp;=20 read/write
  VG=20 Status           &= nbsp;=20 resizable
  MAX=20 LV            = ;   =20 0
  Cur=20 LV            = ;   =20 0
  Open=20 LV            = ;  =20 0
  Max=20 PV            = ;   =20 0
  Cur=20 PV            = ;   =20 1
  Act=20 PV            = ;   =20 1
  VG=20 Size           &nb= sp;  =20 37.25 GB
  PE=20 Size           &nb= sp;  =20 32.00 MB
  Total=20 PE            = ; =20 1192
  Alloc PE / Size       0 /=20 0
  Free  PE / Size       = 1192 /=20 37.25 GB
  VG=20 UUID           &nb= sp;  =20 fruTb9-D6zB-puw4-k1vK-jCvN-B7Hf-tCu9pc
 
[root@noname ~]# pvscan
  = Couldn't find=20 device with uuid 'qSazfv-F1Sa-jUKa-FtbY-o7HP-dGmG-YzhpfZ'.
  PV = unknown=20 device   VG VolGroup02   lvm2 [37.25 GB / 32.00 MB=20 free]
  PV /dev/hdd2        = VG=20 VolGroup02   lvm2 [38.16 GB / 38.16 GB free]
  PV=20 /dev/hde         VG=20 VolGroup00   lvm2 [37.25 GB / 37.25 GB free]
  Total: = 3=20 [112.66 GB] / in use: 3 [112.66 GB] / in no VG: 0 [0  =20 ]
[root@noname ~]# pvdisplay
  = Couldn't find=20 device with uuid 'qSazfv-F1Sa-jUKa-FtbY-o7HP-dGmG-YzhpfZ'.
  --- = Physical volume ---
  PV=20 Name           &nb= sp;  =20 unknown device
  VG=20 Name           &nb= sp;  =20 VolGroup02
  PV=20 Size           &nb= sp;  =20 37.25 GB / not usable 0
 =20 Allocatable          =20 yes
  PE Size (KByte)      =20 32768
  Total=20 PE            = ; =20 1192
  Free=20 PE            = ;  =20 1
  Allocated = PE         =20 1191
  PV=20 UUID           &nb= sp;  =20 qSazfv-F1Sa-jUKa-FtbY-o7HP-dGmG-YzhpfZ
 
  --- Physical volume = ---
  PV=20 Name           &nb= sp;  =20 /dev/hdd2
  VG=20 Name           &nb= sp;  =20 VolGroup02
  PV=20 Size           &nb= sp;  =20 38.16 GB / not usable 0
 =20 Allocatable          =20 yes
  PE Size (KByte)      =20 32768
  Total=20 PE            = ; =20 1221
  Free=20 PE            = ;  =20 1221
  Allocated=20 PE          0
  PV=20 UUID           &nb= sp;  =20 ozQ418-X0l1-Mnmz-qBU5-pfsc-yi22-6QTTa0
 
  --- Physical volume = ---
  PV=20 Name           &nb= sp;  =20 /dev/hde
  VG=20 Name           &nb= sp;  =20 VolGroup00
  PV=20 Size           &nb= sp;  =20 37.25 GB / not usable 0
 =20 Allocatable          =20 yes
  PE Size (KByte)      =20 32768
  Total=20 PE            = ; =20 1192
  Free=20 PE            = ;  =20 1192
  Allocated=20 PE          0
  PV=20 UUID           &nb= sp;  =20 CbAYwI-X34A-Yriz-sCmx-DtcE-aZQn-ewN4QF
 
 
 

 
 

------=_NextPart_000_0011_01C64D1A.F1815030--