From owner-freebsd-current Wed Jul 17 22:29:47 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9419837B400 for ; Wed, 17 Jul 2002 22:29:43 -0700 (PDT) Received: from Www.HCRC.edu.tw (www.HCRC.edu.tw [163.28.64.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3A75543E58 for ; Wed, 17 Jul 2002 22:29:42 -0700 (PDT) (envelope-from ijliao@Terry.Dorm11.NCTU.edu.tw) Received: from Terry.Dorm11.NCTU.edu.tw (root@Terry.Dorm11.NCTU.edu.tw [140.113.192.99]) by Www.HCRC.edu.tw (8.12.3/8.12.3) with ESMTP id g6I5Te3a042730 for ; Thu, 18 Jul 2002 13:29:40 +0800 (CST) (envelope-from ijliao@Terry.Dorm11.NCTU.edu.tw) Received: from Terry.Dorm11.NCTU.edu.tw (ijliao@localhost [127.0.0.1]) by Terry.Dorm11.NCTU.edu.tw (8.12.5/8.12.3) with ESMTP id g6I5TanL000534 for ; Thu, 18 Jul 2002 13:29:36 +0800 (CST) (envelope-from ijliao@Terry.Dorm11.NCTU.edu.tw) Received: (from ijliao@localhost) by Terry.Dorm11.NCTU.edu.tw (8.12.5/8.12.5/Submit) id g6I5TZR9000533 for current@FreeBSD.org; Thu, 18 Jul 2002 13:29:35 +0800 (CST) Date: Thu, 18 Jul 2002 13:29:35 +0800 From: Ying-Chieh Liao To: current@FreeBSD.org Subject: cannot find filesystem superblock ? Message-ID: <20020718052935.GA358@terry.dragon2.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="NzB8fVQJ5HfG6fxh" Content-Disposition: inline X-Operating-System: FreeBSD 5.0-CURRENT i386 X-PGP-Key-Location: http://pgpkeys.mit.edu:11371/pks/lookup?op=get&search=0x11C02382 X-PGP-Key-Fingerprint: 4E98 55CC 2866 7A90 EFD7 9DA5 ACC6 0165 11C0 2382 User-Agent: Mutt/1.5.1i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --NzB8fVQJ5HfG6fxh Content-Type: text/plain; charset=big5 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I build/install world last night after reboot, one of my filesystem is broken (it uses soft-updates) when I run fsck on it, it said : cannot find filesystem superblock ** /dev/da0s3e LOOK FOR ALTERNATE SUPERBLOCKS? yes USING ALTERNATE SUPERBLOCK AT 32 numdirs is zero, try using an alternate superblock ***** FILE SYSTEM STILL DIRTY ***** I've tried alternative superblock (8193 and 16385) Alternate super block location: 8193 ** /dev/da0s3e UNDEFINED OPTIMIZATION IN SUPERBLOCK SET TO DEFAULT? yes IMPOSSIBLE MINFREE=3D842226459 IN SUPERBLOCK SET TO DEFAULT? yes cannot alloc 3779963748 bytes for blockmap ***** FILE SYSTEM MARKED DIRTY ***** Alternate super block location: 16385 ** /dev/da0s3e UNDEFINED OPTIMIZATION IN SUPERBLOCK SET TO DEFAULT? yes IMPOSSIBLE MINFREE=3D779380589 IN SUPERBLOCK SET TO DEFAULT? yes cannot alloc 2355957190 bytes for blockmap CANNOT WRITE BLK: 0 CONTINUE? yes THE FOLLOWING SECTORS COULD NOT BE WRITTEN: 0, ***** FILE SYSTEM STILL DIRTY ***** anyone got any idea how I can fix it ? did it mean that I have a bad sector ? --=20 int i;main(){for(;i["]