From owner-freebsd-fs@FreeBSD.ORG Wed Aug 31 22:34:00 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 4C7B1106566B for ; Wed, 31 Aug 2011 22:34:00 +0000 (UTC) (envelope-from ee@athyriogames.com) Received: from madonna.sslcatacombnetworking.com (madonna.sslcatacombnetworking.com [174.133.19.130]) by mx1.freebsd.org (Postfix) with ESMTP id 28BAB8FC15 for ; Wed, 31 Aug 2011 22:33:59 +0000 (UTC) Received: from c-98-206-215-156.hsd1.in.comcast.net ([98.206.215.156] helo=laptopv) by madonna.sslcatacombnetworking.com with esmtpa (Exim 4.69) (envelope-from ) id 1QytBt-0007b2-NM; Wed, 31 Aug 2011 17:23:26 -0500 From: "Engineering" To: "'Peter Jeremy'" References: <01c801cc667f$f99eb7b0$ecdc2710$@com> <020d01cc6724$0f0410b0$2d0c3210$@com> <20110831210623.GB25698@server.vk2pj.dyndns.org> In-Reply-To: <20110831210623.GB25698@server.vk2pj.dyndns.org> Date: Wed, 31 Aug 2011 17:33:25 -0500 Message-ID: <029c01cc682e$02b82a70$08287f50$@com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AcxoIGIKeoShtOcgQomZZrWDXA027QADXhPg Content-Language: en-us X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - madonna.sslcatacombnetworking.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - athyriogames.com 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 22:34:00 -0000 Thank you very much! That is what I needed. I have / moutned read only in fstab, but I needed 'root_rw_mount="NO" To seal the deal Thanks again! Sam -----Original Message----- From: Peter Jeremy [mailto:peterjeremy@acm.org] Sent: Wednesday, August 31, 2011 4:06 PM To: Engineering Cc: freebsd-fs@freebsd.org Subject: Re: Read-only disk problem On 2011-Aug-30 09:49:41 -0500, Engineering 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