From owner-freebsd-questions@FreeBSD.ORG Sat Oct 8 14:44:35 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 919ED16A41F for ; Sat, 8 Oct 2005 14:44:35 +0000 (GMT) (envelope-from kees@jeremino.homeunix.net) Received: from jeremino.homeunix.net (jeremino.xs4all.nl [80.126.224.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2568643D48 for ; Sat, 8 Oct 2005 14:44:35 +0000 (GMT) (envelope-from kees@jeremino.homeunix.net) Received: from jeremina.homeunix.net ([10.0.0.5] helo=browse.myown.framed.net) by jeremino.homeunix.net with esmtp (Exim 4.42) id 1EOFw9-000PPE-NW for freebsd-questions@freebsd.org; Sat, 08 Oct 2005 16:44:33 +0200 From: Kees Plonsz Organization: not organized To: freebsd-questions@freebsd.org Date: Sat, 8 Oct 2005 16:44:31 +0200 User-Agent: KMail/1.8 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200510081644.31917.kees@jeremino.homeunix.net> X-recieved-from: 10.0.0.5 Subject: Re: tunefs problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Oct 2005 14:44:35 -0000 On Saturday 08 October 2005 16:02, Gunter Wambaugh wrote: > Look at the output from fsck. It very clearly tells you that it =20 > found problems, but didn't fix them (probably because the partition =20 > is mounted). Notice the following lines: > ** /dev/ad2s1a (NO WRITE) > and > CLEAR? no >=20 > Boot to single user mode and try it again. >=20 > Also, if you add fsck_y_enable=3D"YES" to rc.conf these should be fixed = =20 > automatically at boot (IIRC). >=20 > HTH >=20 > On Oct 8, 2005, at 2:32 AM, Sasa Stupar wrote: >=20 It is not fsck that is cousing the trouble but tunefs itself. =46rom the man-page you can read: The tunefs utility cannot be run on an active file system. =20 To change an active file system, it must be downgraded to read-only or unmounted. So to change the / partition with tunefs, you have to run another system wich is not using that / partition. ( for instance with the fix-it cdrom ) Or you can, as the manual says, mount it read-only. I never tried that, but maybe it will work.=20