xfs
[Top] [All Lists]

Re: Remounting read-only forces filesystem shutdown

To: Onis <onion@xxxxxxxxxxx>
Subject: Re: Remounting read-only forces filesystem shutdown
From: Nathan Scott <nathans@xxxxxxx>
Date: Thu, 13 Apr 2006 10:08:39 +1000
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <20060412203719.GA22528@virasto.com>; from onion@virasto.com on Wed, Apr 12, 2006 at 11:37:19PM +0300
References: <20060412203719.GA22528@virasto.com>
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.2.5i
On Wed, Apr 12, 2006 at 11:37:19PM, Onis <onion@xxxxxxxxxxx> wrote:
> Hi!

Hi there Onion,

> When remounting XFS filesystem read-only it causes xfs_force_shutdown and
> filesystem is unreadable. After umount/mount it is back again. I have
> 2 partitions with xfs. Both of them are affected. Problem does not occur
> when using Debian's stock kernel. xfs_check does not report any error.
> 
> This impacts Debian shutdown script, so that system cannot shutdown
> properly. Shutdown process just hangs until reset button pressed.
> 
> To repeat it, just do "mount -o remount,ro /mnt".

Ah, I think I see the problem - looks like we can enable write
barriers accidentally during a remount,ro without checking to
see if the drive likes that idea.  Ugh.

Just to be sure - when you initially mounted the filesystem (rw), did
you get a dmesg message saying "disabling write barriers" or words to
that effect?

thanks.

-- 
Nathan


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