From owner-freebsd-questions@FreeBSD.ORG Fri Feb 6 20:24:24 2009 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 78F911065676 for ; Fri, 6 Feb 2009 20:24:24 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr4.xs4all.nl (smtp-vbr4.xs4all.nl [194.109.24.24]) by mx1.freebsd.org (Postfix) with ESMTP id 101B38FC0C for ; Fri, 6 Feb 2009 20:24:23 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr4.xs4all.nl (8.13.8/8.13.8) with ESMTP id n16KOM3H063924; Fri, 6 Feb 2009 21:24:22 +0100 (CET) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id C9C63BA9C; Fri, 6 Feb 2009 21:24:21 +0100 (CET) Date: Fri, 6 Feb 2009 21:24:21 +0100 From: Roland Smith To: Robert Huff Message-ID: <20090206202421.GA55683@slackbox.xs4all.nl> References: <18828.37913.857833.472632@jerusalem.litteratus.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="PNTmBPCT7hxwcZjr" Content-Disposition: inline In-Reply-To: <18828.37913.857833.472632@jerusalem.litteratus.org> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.18 (2008-05-17) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: questions@freebsd.org Subject: Re: disk recovery problem(s) 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: Fri, 06 Feb 2009 20:24:24 -0000 --PNTmBPCT7hxwcZjr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Feb 06, 2009 at 02:48:41PM -0500, Robert Huff wrote: >=20 > Had a power outage recently; when trying to fsck several > external hard drives I'm getting unexpected errors. > For example: >=20 > huff@>> fsck /dev/da3a > ** /dev/da3a > ** Last Mounted on /backup > ** Phase 1 - Check Blocks and Sizes > ** Phase 2 - Check Pathnames > ROOT INODE UNALLOCATED > ALLOCATE? [yn]=20 >=20 > a) what's probably happened? Error messages are explained in Appendix A of /usr/share/doc/smm/03.fsck/paper.ascii.gz Unfortunately it says that this error "should never happen". :-/ Is the drive connected by USB? Some USB disk interface chips are quite quir= ky. > b) is there a way to recover the data? Answer y, and all directorys and files found in the root will appear in lost+found, unless the attempt to allocate the root inode fails..=20 Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --PNTmBPCT7hxwcZjr Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.10 (FreeBSD) iEYEARECAAYFAkmMnHUACgkQEnfvsMMhpyVuNgCgrWmxbaqCahbs9m1pSAi+2y4B rqcAnArd2mJlW/bB0Fxc7GrFoN4olA1P =QF8H -----END PGP SIGNATURE----- --PNTmBPCT7hxwcZjr--