xfs
[Top] [All Lists]

Re: XFS report error on LVM snapshot

To: "Tang Lingbo (Allan)" <allan@xxxxxxxxxxxxxxxxxxxx>
Subject: Re: XFS report error on LVM snapshot
From: Nathan Scott <nathans@xxxxxxx>
Date: Mon, 22 Aug 2005 08:35:23 +1000
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <003d01c59d62$70c59540$0209010a@xxxxxxxxxxxxxx>
References: <003d01c59d62$70c59540$0209010a@xxxxxxxxxxxxxx>
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.5.3i
On Wed, Aug 10, 2005 at 12:17:24PM +0800, Tang Lingbo (Allan) wrote:
> Hi,
> 
> 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.

cheers.

-- 
Nathan


<Prev in Thread] Current Thread [Next in Thread>