On Wed, Aug 10, 2005 at 12:17:24PM +0800, Tang Lingbo (Allan) wrote:
> I get error message when I try to use LVM snapshot with XFS.
> === error message ===
> XFS mounting filesystem lvm(58,4)
> Ending clean XFS mount for filesystem: lvm(58,4)
> lvm - lvm_map: ll_rw_blk write for readonly LV /dev/vg0/test21
Could you put a call to the kernel dump_stack() routine where this
printk is, and send the result? (looks like its a 2.4 kernel? and
if so, looks like the printk is from drivers/md/lvm.c::lvm_map)
> Could you give some idea to remove the messages?
This should be easy to fix - looks like we have somewhere that its
somehow possible to issue a write when we're mounted read-only ...
we just need to find the offending piece of code.