All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] Severe bug in kernel-2.4.4 lvm
@ 2001-05-31 10:08 Hadmut Danisch
  2001-05-31 11:43 ` Ed Tomlinson
  0 siblings, 1 reply; 7+ messages in thread
From: Hadmut Danisch @ 2001-05-31 10:08 UTC (permalink / raw)
  To: linux-lvm


Hi,

sorry, if this was discussed before, but 
I'm new on this list.


I just crashed several data file systems
due to a bug in kernel-2.4.4 lvm. (seems
to contain lvm 0.9.1-beta2)

I'd suggest to incorporate latest lvm 
versions into 2.4 kernels. As far as
a collegue told me, lvm's kernel patches
do not work with kernels later than 2.4.3.
So there seems to be no way to fix the bug
with later kernels.


Bug description:

I have to disks, each with one lvm partition.
First disks has volume group A, second one
has volume group B. Volume groups were created
with one of the pre-2.4 kernels and worked
very well so far.

Since a (windows) programm ruined some of the
partitions of the first disk, I was trying to
completely reinstall the first disk. Since
current debian lvm tools don't work properly
with current kernel, I used older 0.9 tools, 
which also worked well so far.

First problem: After creating logical volumes
in VG A, these volumes appeared normaly in 
/dev/A, but accessing was impossible, kernel 
claimed that these are not block devices.
After repeating the procedure and rebooting
it worked.

I've created several logical volumes in 
/dev/A and made reiserfilesystems. I could also 
mount them, but df showed, that some of the
logical volumes were much larger than chosen
when creating the volumes.

I found that even when I created them in 
VG A and they appeared in /dev/A, some of them
were actually logical volumes in VG B.
With making filesystems in the A volumes, I
erased data of some logical volumes in VG B.

(Heavy loss of data).


Any idea how to fix the bug (or to rescue lost
data?)



regards
Hadmut

^ permalink raw reply	[flat|nested] 7+ messages in thread
* Re: [linux-lvm] Severe bug in kernel-2.4.4 lvm
@ 2001-05-31 14:16 Gergely Tamas
  2001-05-31 15:11 ` Joe Thornber
  0 siblings, 1 reply; 7+ messages in thread
From: Gergely Tamas @ 2001-05-31 14:16 UTC (permalink / raw)
  To: linux-lvm

Hi!

 > Don't always belive collegues...  LVM 0.91 beta7
 > and 2.4.5 here.  You need ONE trival patch to fix
 > things.  Read the archives of the list.

Which trivial patch are you talking about ? The get_hardblocksize ->
get_hardsect_size change ?!

Gergely

ps: just ask because Andrea has a patch with the comment
    'it has some other tons of fixes' for lvm 0.9.1b7 on the
    ftp.kernel.org.

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

end of thread, other threads:[~2001-05-31 17:39 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-05-31 10:08 [linux-lvm] Severe bug in kernel-2.4.4 lvm Hadmut Danisch
2001-05-31 11:43 ` Ed Tomlinson
2001-05-31 17:39   ` Austin Gonyou
  -- strict thread matches above, loose matches on Subject: below --
2001-05-31 14:16 Gergely Tamas
2001-05-31 15:11 ` Joe Thornber
2001-05-31 15:52   ` Patrick Caulfield
2001-05-31 16:08   ` Gergely Tamas

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.