[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[linux-lvm] LVM 2.2 snapshot bug



Hi,

I think I found an {easy to fix, very annoying} bug in the
2.2.<ver>aa derived kernel LVM drivers (which, most likely,
is also in Heinz' drivers).

On snapshot creation, the snapshot block device (/dev/vg0/snap1)
is NOT made a read-only device, so ext3 tries to do journal
recovery when the snapshot device is mounted...

(leading to all kinds of nasty oopses)

It should be easy enough to do an set_device_ro() on the LVM
snapshot, shouldn't it?

That would fix the oopses I've been seeing and would make
the snapshot "more useful" ... I hope a fix will be available
soon since I want to use this feature for NL.linux.org :)

regards,

Rik
--
The Internet is not a network of computers. It is a network
of people. That is its real strength.

http://www.conectiva.com/		http://www.surriel.com/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]