From owner-freebsd-questions@FreeBSD.ORG Sat Oct 8 07:32:46 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 E69A116A41F for ; Sat, 8 Oct 2005 07:32:46 +0000 (GMT) (envelope-from sasa@stupar.homelinux.net) Received: from avs1.arnes.si (avs1.arnes.si [193.2.1.74]) by mx1.FreeBSD.org (Postfix) with ESMTP id E7CF043D49 for ; Sat, 8 Oct 2005 07:32:45 +0000 (GMT) (envelope-from sasa@stupar.homelinux.net) Received: from localhost (avs1.arnes.si [193.2.1.74]) by avs1.arnes.si (Postfix) with ESMTP id DA2C336A37A for ; Sat, 8 Oct 2005 09:32:44 +0200 (CEST) Received: from avs1.arnes.si ([193.2.1.74]) by localhost (avs1.arnes.si [193.2.1.74]) (amavisd-new, port 10024) with ESMTP id 53405-16 for ; Sat, 8 Oct 2005 09:32:44 +0200 (CEST) Received: from xmail.homelinux.net (cmb16-74.dial-up.arnes.si [194.249.51.74]) by avs1.arnes.si (Postfix) with ESMTP id 8588036A33D for ; Sat, 8 Oct 2005 09:32:44 +0200 (CEST) Received: from [192.168.10.249] (MASTER.workgroup [192.168.10.249]) (authenticated bits=0) by xmail.homelinux.net (8.13.5/8.13.3) with ESMTP id j987Whs5022192 for ; Sat, 8 Oct 2005 09:32:43 +0200 (CEST) (envelope-from sasa@stupar.homelinux.net) Date: Sat, 08 Oct 2005 09:32:45 +0200 From: Sasa Stupar To: FreeBSD Q ML Message-ID: In-Reply-To: <35c231bf0510080020g42555b0bpcca3df4727bac683@mail.gmail.com> References: <35c231bf0510080020g42555b0bpcca3df4727bac683@mail.gmail.com> X-Mailer: Mulberry/3.1.6 (Win32) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="==========7F50BEE6279E5F31D785==========" X-Virus-Scanned: ClamAV version 0.87, clamav-milter version 0.87 on mig29.workgroup X-Virus-Status: Clean X-Virus-Scanned: by amavisd-new at arnes.si Subject: Re: tunefs problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Sasa Stupar List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Oct 2005 07:32:47 -0000 --==========7F50BEE6279E5F31D785========== Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline --On 8. oktober 2005 0:20 -0700 David Kirchner wrote: > On 10/8/05, Sasa Stupar wrote: >> I am trying to enable tunefs for my filesystem but I get the following: >> ------------- >> # tunefs -n enable / >> tunefs: soft updates cannot be enabled until fsck is run >> tunefs: /dev/ad2s1a: failed to write superblock >> ------------- >> >> But AFAIK fsck is not running. >> >> What am I missing here? >> >> Regards, >> Sasa > > It means that you need to run fsck on the partition before you can > enable softupdates. Something like "fsck -y /" will do it. I have done it but: ----------- # fsck -y / ** /dev/ad2s1a (NO WRITE) ** Last Mounted on / ** Root file system ** Phase 1 - Check Blocks and Sizes ** Phase 2 - Check Pathnames ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts UNREF FILE I=3D1719827 OWNER=3Dmysql MODE=3D100600 SIZE=3D0 MTIME=3DOct 6 12:19 2005 CLEAR? no UNREF FILE I=3D1719847 OWNER=3Dmysql MODE=3D100600 SIZE=3D0 MTIME=3DOct 6 12:19 2005 CLEAR? no UNREF FILE I=3D1719855 OWNER=3Dmysql MODE=3D100600 SIZE=3D0 MTIME=3DOct 6 12:19 2005 CLEAR? no ** Phase 5 - Check Cyl groups 405241 files, 14013004 used, 4821771 free (72987 frags, 593598 blocks, 0.4% = fragmentation) mig29# tunefs -n enable / tunefs: soft updates cannot be enabled until fsck is run tunefs: /dev/ad2s1a: failed to write superblock ------------ Still the same issue. Anything else should I do? Regards, Sasa --==========7F50BEE6279E5F31D785========== Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (MingW32) iD8DBQFDR3YfbRpqD1cgKf8RAg2kAJ4r93LZg2vja2yraRo4LNQDqhSPlACcD/Ib 0zLyhpUmZczvajKnGuLT3xc= =9fOK -----END PGP SIGNATURE----- --==========7F50BEE6279E5F31D785==========--