[suse-sles-e] unbootable system after lvm snapshot

From: mourik jan heupink (heupink_at_merit.unu.edu)
Date: Wed Feb 28 2007 - 13:46:28 CET


Message-ID: <45E579A4.2070707@merit.unu.edu>
Date: Wed, 28 Feb 2007 13:46:28 +0100
From: mourik jan heupink <heupink@merit.unu.edu>
Subject: [suse-sles-e] unbootable system after lvm snapshot

hi all,

Anyway, I have found the following serious issue on sles9, sp3, fully up
to date:

After a powercut machines with LVM partitions formatted with ReiserFS
with an active snapshot do not boot properly anymore. (Confirmed on two
seperate machines)

To reproduce:
- stock sles9 sp3 install
- create lvm partition
- create a logical volume formatted with reiserfs and mount it
- copy some data to it
- enter "modprobe dm_snapshot" to load snapshot kernel module (why
doesn't this happen automatically??)
- create an lvm snapshot and mount it

Cut the power (pull out the plug) and your system will no longer boot.

Solve this situation by manually removing the snapshot ("lvremove
/dev/system/snapshot-name") even though at that point the directory
/dev/system does not even exist, and reboot.

I found it out the hard way on our production mailserver... I've tested
this using xfs as well, and that has no problems.

Is this a bug in lvm, reiserfs or the kernel? (or am I doing something
wrong here..?) Strange: xfs has no problem, and SuSE default (reiserfs)
does NOT work...

Regards,
mj

---------------------------------------------------------------------
To unsubscribe, e-mail: suse-sles-e-unsubscribe@suse.com
For additional commands, e-mail: suse-sles-e-help@suse.com



This archive was generated by hypermail 2.1.7 : Wed Feb 28 2007 - 15:50:41 CET