Linux LVM users
 help / color / mirror / Atom feed
* [linux-lvm] data loss because of mixing LVM and LVM2
@ 2005-01-27 18:15 Jürgen Lange
  0 siblings, 0 replies; 2+ messages in thread
From: Jürgen Lange @ 2005-01-27 18:15 UTC (permalink / raw)
  To: linux-lvm

Hello,

I made the error in using pvmove and vgreduce from a SuSE 9.2 bootdisk
(kernel 2.6.x) and LVM2 on a LVM created by SuSE 8.2 (kernel 2.4.20) and LVM.
in the attached file lvm_crash.txt I add the exact output from vgscan, 
vgmknodes, vgimport, pvdata and pvdisplay. (the stderr output of the same 
commands is in the other file lvm_crash_2.txt)

Basically vgscan reports:
  vgscan -- reading all physical volumes (this may take a while...)
  vgscan -- found active volume group "sysvg"
  vgscan -- ERROR "vg_read_with_pv_and_lv(): current PV" can't get data of
                volume group "systemvg" from physical volume(s)
  vgscan -- "/etc/lvmtab" and "/etc/lvmtab.d" successfully created
(I created another VG, sysvg, in the meantime.)

I believe that all PEs (i.e. all of my lost data) are on my /dev/hda7, as 
pvdisplay on the other PVs of my VG systemvg always used to report:
"Allocated PE 0".
However, the VG "systemvg" is not recognised anymore.
I left the /dev/hda7 partition untouched - but I repartitioned the disk where 
the other (presumebly empty) PVs were on.

I put the last systemvg.conf file in the attachment as well (from probably 
before the vgreduce actually (not) happened).

Do you see a chance in recovering my data?
Thanks a lot,

-- 
Regards,
J. Lange (jlange@epo.org)

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [linux-lvm] data loss because of mixing LVM and LVM2
@ 2005-01-27 18:17 Jürgen Lange
  0 siblings, 0 replies; 2+ messages in thread
From: Jürgen Lange @ 2005-01-27 18:17 UTC (permalink / raw)
  To: linux-lvm

[-- Attachment #1: Type: text/plain, Size: 1320 bytes --]

Sorry, I forgot the attachment,


Hello,

I made the error in using pvmove and vgreduce from a SuSE 9.2 bootdisk
(kernel 2.6.x) and LVM2 on a LVM created by SuSE 8.2 (kernel 2.4.20) and LVM.
in the attached file lvm_crash.txt I add the exact output from vgscan, 
vgmknodes, vgimport, pvdata and pvdisplay. (the stderr output of the same 
commands is in the other file lvm_crash_2.txt)

Basically vgscan reports:
  vgscan -- reading all physical volumes (this may take a while...)
  vgscan -- found active volume group "sysvg"
  vgscan -- ERROR "vg_read_with_pv_and_lv(): current PV" can't get data of
                volume group "systemvg" from physical volume(s)
  vgscan -- "/etc/lvmtab" and "/etc/lvmtab.d" successfully created
(I created another VG, sysvg, in the meantime.)

I believe that all PEs (i.e. all of my lost data) are on my /dev/hda7, as 
pvdisplay on the other PVs of my VG systemvg always used to report:
"Allocated PE 0".
However, the VG "systemvg" is not recognised anymore.
I left the /dev/hda7 partition untouched - but I repartitioned the disk where 
the other (presumebly empty) PVs were on.

I put the last systemvg.conf file in the attachment as well (from probably 
before the vgreduce actually (not) happened).

Do you see a chance in recovering my data?
Thanks a lot,

-- 
Regards,
J. Lange

[-- Attachment #2: lvm.tgz --]
[-- Type: application/x-tgz, Size: 19715 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-01-27 18:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-27 18:17 [linux-lvm] data loss because of mixing LVM and LVM2 Jürgen Lange
  -- strict thread matches above, loose matches on Subject: below --
2005-01-27 18:15 Jürgen Lange

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox