xfs
[Top] [All Lists]

Re: xfs tries to write on readonly device on unmount

To: Michael Prokop <mika@xxxxxxxx>
Subject: Re: xfs tries to write on readonly device on unmount
From: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Date: Tue, 21 Jul 2009 07:19:09 -0400
Cc: xfs@xxxxxxxxxxx
In-reply-to: <2009-07-21T12-28-50@xxxxxxxxxxxxxxxxxxxxxxxxx>
References: <2009-07-21T12-28-50@xxxxxxxxxxxxxxxxxxxxxxxxx>
User-agent: Mutt/1.5.18 (2008-05-17)
On Tue, Jul 21, 2009 at 12:51:20PM +0200, Michael Prokop wrote:
> Hi,
> 
> This issue might be related to
> http://oss.sgi.com/bugzilla/show_bug.cgi?id=413
> 
> A XFS partition is set to read-only mode (using 'blockdev --setro')
> and mounted. As soon as I *un*mount the filesystem there seem to
> happen write requests.
> 
> I've a Tableau Forensic Bridge? which avoids the write requests and
> attached it to a Linux live-system running kernel 2.6.28 inside
> VMware and Virtualbox. I can easily reproduce the problem.


Block 0 is the superblock, so it appears like there is a superblock
write somewhere not guarded by an read-only check.  Can you still
reproduce this with a current kernel?  We now do have a testcase in
xfsqa (test 200) that checks exactly that scenario, but it doesn't
show issues on recent kernels.

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