Read-only disk problem

Peter Jeremy peterjeremy at acm.org
Wed Aug 31 23:24:04 UTC 2011


On 2011-Aug-30 09:49:41 -0500, Engineering <ee at athyriogames.com> wrote:
>Hi, I've attached some more info. Doing a fsdump shows the following changes
>over reboot
>
>magic	19540119 (UFS2)	time	Tue Aug 30 03:08:04 2011
>...
>cg 1:
>magic	90255	tell	4b1c000	time	Tue Aug 30 03:08:04 2011
>
>Changes to
>
>magic	19540119 (UFS2)	time	Tue Aug 30 03:13:14 2011
>...
>cg 1:
>magic	90255	tell	4b1c000	time	Tue Aug 30 03:13:14 2011

It's normal for CG's and superblocks to be updated when there's any
activity on a read-write UFS.  (By default, the inode atime field
will be lazily updated when the inode is accessed, so just reading
from a UFS mounted RW is enough to cause writes).

>Is there any data that is written to the disk at boot or mount time, and if
>so, is there a way to prevent it?

Are you sure that the FS is mounted read-only?  / is automatically
mounted read-write unless 'root_rw_mount="NO"' is specified in
/etc/rc.conf.  If a filesystem is mounted read-only, it will not
be updated at all.

-- 
Peter Jeremy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-fs/attachments/20110831/78f40230/attachment.pgp


More information about the freebsd-fs mailing list