Re: 8.0-BETA4 panic: ffs_sync: rofs mod

From: Mel Flynn <mel.flynn+fbsd.current_at_mailing.thruhere.net>
Date: Wed, 9 Sep 2009 09:02:33 +0200
On Wednesday 09 September 2009 02:55:04 Jeff Blank wrote:
> On Wed, Sep 09, 2009 at 01:57:31AM +0200, Pawel Jakub Dawidek wrote:
> > On Tue, Sep 08, 2009 at 04:25:53PM -0400, Jeff Blank wrote:
> > > Please let me know if I need to provide more details.
> >
> > [...]
> >
> > > fs = /old
> > > panic: ffs_sync: rofs mod
> >
> > I have no idea why UFS thinks file system is read-only.
>
> hmm, I do have it marked as read-only in /etc/fstab, but I'd been
> mounting it with '-o rw'.

This problem has also been seen on -questions [1] and I forgot to follow
up after time issues. According to the poster it's easy to reproduce:
- have a mountpoint in /etc/fstab with ro options
- unmount the mountpoint
- remount using -o rw

The behavior does not occur if one uses mount -u -o rw without unmounting. I
think this is a too easy way to panic the kernel.

[1] <http://www.freebsd.org/cgi/getmsg.cgi?fetch=407379+0+/usr/local/www/db/text/2009/freebsd-questions/20090823.freebsd-questions>
-- 
Mel
Received on Wed Sep 09 2009 - 05:02:37 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:55 UTC