From owner-freebsd-stable@FreeBSD.ORG Mon May 15 12:55:06 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A50E016A532; Mon, 15 May 2006 12:55:06 +0000 (UTC) (envelope-from ob@gruft.de) Received: from obh.snafu.de (obh.snafu.de [213.73.92.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id F2AC243D73; Mon, 15 May 2006 12:55:00 +0000 (GMT) (envelope-from ob@gruft.de) Received: from ob by obh.snafu.de with local (Exim 4.62 (FreeBSD)) (envelope-from ) id 1FfcbD-0001TS-Ig; Mon, 15 May 2006 14:54:59 +0200 Date: Mon, 15 May 2006 14:54:59 +0200 From: Oliver Brandmueller To: freebsd-stable@freebsd.org Message-ID: <20060515125459.GV98577@e-Gitt.NET> Mail-Followup-To: freebsd-stable@freebsd.org, stable@freebsd.org References: <20060515120057.GA4759@lordcow.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="zROEGoKAXsG5UqGB" Content-Disposition: inline In-Reply-To: <20060515120057.GA4759@lordcow.org> User-Agent: Mutt/1.5.11 Sender: Oliver Brandmueller Cc: stable@freebsd.org Subject: Re: fsck X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 May 2006 12:55:06 -0000 --zROEGoKAXsG5UqGB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi. On Mon, May 15, 2006 at 02:00:57PM +0200, gareth wrote: > hi, this box has had far too many hard reboots, but can anyone shed some > light on whether this's inconsistent? i boot into single user mode, > run fsck and fix all the partitions. rerunning fsck shows no more problem= s. > mounting the filesystems and running fsck shows no problems. but when > i reboot into normal mode, and run fsck on these 2 particular partitions: > (and rebooting into single user mode again doesn't help). > # fsck /tmp > ** /dev/ad0s1e (NO WRITE) [...] > # fsck /var > ** /dev/ad0s1d (NO WRITE) Errm, You run fsck onto a r/w mounted partition on multiuser mode? If this understanding of what your saying here is correct, then this is the problem: a r/w mounted fs is a) never "clean" (in terms of a fsck that takes some time to run) because it changes with every operation and b) should never be checked in that way (that's exactly what fsck means when telling you "NO WRITE"). If a second fsck on the unmounted partition in single user does not show=20 any problems anymore you can consider the filesystem clean. UFS2=20 (FreeBSD 5 and it's successors) can be checked "online" by fsck=20 background mode (-B switch of fsck), but you should not need it. - Oliver --zROEGoKAXsG5UqGB Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFEaHojiqtMdzjafykRAshcAKCP7vkYFjFvLgAfcJ7XYVWrcg65vACfd8Xx 6jiM+HiMXbNmcl3bF+GL/5k= =P+OB -----END PGP SIGNATURE----- --zROEGoKAXsG5UqGB--