Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 May 2006 14:54:59 +0200
From:      Oliver Brandmueller <ob@e-Gitt.NET>
To:        freebsd-stable@freebsd.org
Cc:        stable@freebsd.org
Subject:   Re: fsck
Message-ID:  <20060515125459.GV98577@e-Gitt.NET>
In-Reply-To: <20060515120057.GA4759@lordcow.org>
References:  <20060515120057.GA4759@lordcow.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060515125459.GV98577>