On Wed, Apr 12, 2006 at 11:37:19PM, Onis <onion@xxxxxxxxxxx> wrote:
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