Linux LVM users
 help / color / mirror / Atom feed
* [linux-lvm] Problems with snapshots on sparc64
@ 2003-05-28 19:09 Daniel Bayer
  2003-06-02  4:50 ` Heinz J . Mauelshagen
  0 siblings, 1 reply; 6+ messages in thread
From: Daniel Bayer @ 2003-05-28 19:09 UTC (permalink / raw)
  To: linux-lvm

Hello

I have a E250 running Debian/stable with Linux 2.4.20 (vanilla kernel,
except for xfs). Three weeks ago I created a LV with an xfs on it. I
also created a backupscript that uses snapshots. For two weeks
everything worked fine.

Then I got oopses during the backup (mainly from kupdated). After that
the system was rebooted. I had to boot with init=/bin/sh since the
system freezed while mounting the xfs partitions (another story). I
did a vgscan and a vgchange. After that I did a
"lvdisplay /dev/vg1/lv_snapshot" and got the usual output and 3 times
the error "Trying to vfree() nonexistent vm area (addr)". Then I tried
"lvdisplay /dev/vg1/lv" and also got the vfree()-error and a
Segmention-Fault after the line that says that there is a snapshot of
this LV. I removed the snapshot and "lvdisplay /dev/vg1/lv" worked
fine. After that I could bring the whole system in a working state.
I could reproduce this.

The address in the vfree()-error message only changes after a reboot.
I also found older vfree()-errors in the log.

The Backtrace of the oops always ends in
| Trace; 005143e8 <lvm_map+488/580>
| Trace; 005144e8 <lvm_make_request_fn+8/40>

Another related problem is, that "cat /proc/lvm/global" in the most
cases doesn't output the usual data but some random memory. Its really
odd. But if I try often enough I sometimes also get the right output
(and no, I didn't calculated the probability). The other files in
/proc/lvm work fine.

Since I moved the important stuff to another system I can do some
tests and provide further informations.


Daniel

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

end of thread, other threads:[~2003-06-04 10:53 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-05-28 19:09 [linux-lvm] Problems with snapshots on sparc64 Daniel Bayer
2003-06-02  4:50 ` Heinz J . Mauelshagen
2003-06-02  8:11   ` Daniel Bayer
2003-06-02 10:15     ` Heinz J . Mauelshagen
2003-06-03 14:38       ` Daniel Bayer
2003-06-04 10:53         ` [linux-lvm] LVM + software Raid 5 : freeze when using snapshots Serge Rossi

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