From owner-freebsd-fs@FreeBSD.ORG Wed Aug 31 23:24:03 2011 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EF137106566C for ; Wed, 31 Aug 2011 23:24:03 +0000 (UTC) (envelope-from peterjeremy@acm.org) Received: from fallbackmx09.syd.optusnet.com.au (fallbackmx09.syd.optusnet.com.au [211.29.132.242]) by mx1.freebsd.org (Postfix) with ESMTP id 80A828FC0A for ; Wed, 31 Aug 2011 23:24:03 +0000 (UTC) Received: from mail27.syd.optusnet.com.au (mail27.syd.optusnet.com.au [211.29.133.168]) by fallbackmx09.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id p7VL6XFb016293 for ; Thu, 1 Sep 2011 07:06:33 +1000 Received: from server.vk2pj.dyndns.org (c220-239-116-103.belrs4.nsw.optusnet.com.au [220.239.116.103]) by mail27.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id p7VL6OFx015513 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 1 Sep 2011 07:06:25 +1000 X-Bogosity: Ham, spamicity=0.000000 Received: from server.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by server.vk2pj.dyndns.org (8.14.4/8.14.4) with ESMTP id p7VL6Ofj025834; Thu, 1 Sep 2011 07:06:24 +1000 (EST) (envelope-from peter@server.vk2pj.dyndns.org) Received: (from peter@localhost) by server.vk2pj.dyndns.org (8.14.4/8.14.4/Submit) id p7VL6NVp025833; Thu, 1 Sep 2011 07:06:23 +1000 (EST) (envelope-from peter) Date: Thu, 1 Sep 2011 07:06:23 +1000 From: Peter Jeremy To: Engineering Message-ID: <20110831210623.GB25698@server.vk2pj.dyndns.org> References: <01c801cc667f$f99eb7b0$ecdc2710$@com> <020d01cc6724$0f0410b0$2d0c3210$@com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="cmJC7u66zC7hs+87" Content-Disposition: inline In-Reply-To: <020d01cc6724$0f0410b0$2d0c3210$@com> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-fs@freebsd.org Subject: Re: Read-only disk problem X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Aug 2011 23:24:04 -0000 --cmJC7u66zC7hs+87 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2011-Aug-30 09:49:41 -0500, Engineering wrote: >Hi, I've attached some more info. Doing a fsdump shows the following chang= es >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 =66rom 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=3D"NO"' is specified in /etc/rc.conf. If a filesystem is mounted read-only, it will not be updated at all. --=20 Peter Jeremy --cmJC7u66zC7hs+87 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) iEYEARECAAYFAk5eok8ACgkQ/opHv/APuIfzTwCdGUahmlNAJX9lErJpUdSxn3kM jCcAnj/EO/eFuzcPcnhyVnbZ5s0mPB2F =kWYR -----END PGP SIGNATURE----- --cmJC7u66zC7hs+87--