From owner-freebsd-stable@FreeBSD.ORG Thu Mar 28 07:30:55 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id BCBFBB81 for ; Thu, 28 Mar 2013 07:30:55 +0000 (UTC) (envelope-from demelier.david@gmail.com) Received: from mail-wi0-x22f.google.com (mail-wi0-x22f.google.com [IPv6:2a00:1450:400c:c05::22f]) by mx1.freebsd.org (Postfix) with ESMTP id 537B21F3 for ; Thu, 28 Mar 2013 07:30:55 +0000 (UTC) Received: by mail-wi0-f175.google.com with SMTP id c10so3045147wiw.8 for ; Thu, 28 Mar 2013 00:30:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:user-agent :in-reply-to:references:mime-version:content-transfer-encoding :content-type; bh=eiGSjZ/bUgzIjLEIOWrAhoBD2lBRWEiOP4r6A/D57i8=; b=XCNwQZMbeKGSHz7YOD7P42UOA3XHx7AZBMupxFKIINdTUUyvh4SbaaDK8Ktu3A//HZ QImoMVhLG9tg1SRZHjv8odpjIZGINEvqx+nkmM8GySheYuZU0f/HM1b1sIHNPlkpWmyK SH8Q8YwX666VxrR3e5v3L6POgP2XU0bpjX+7hmNbvdpJQLekn9ebRSsJ78agXYs7tMoI IvR4Cb/62iRyoaL9W/od7oeoVhVLtmWD847yChMMYfHRSvLT4baGKYM8nZi6SChHG6KU 7Qhb2R7yFCQ6DSpNm1Z4MCR4lhTA2QUWh2rsDRXXMC9ugKljqYN6JrofzyNuFkBAdJDM koYQ== X-Received: by 10.180.73.6 with SMTP id h6mr14150127wiv.27.1364455854420; Thu, 28 Mar 2013 00:30:54 -0700 (PDT) Received: from melon.localnet (wifi-osiris-sec-183-54.u-strasbg.fr. [130.79.183.54]) by mx.google.com with ESMTPS id t7sm12589823wij.2.2013.03.28.00.30.53 (version=TLSv1 cipher=RC4-SHA bits=128/128); Thu, 28 Mar 2013 00:30:53 -0700 (PDT) From: David Demelier To: Daniel O'Connor Subject: Re: SU+J hard recovery failure Date: Thu, 28 Mar 2013 08:30:42 +0100 Message-ID: <2354019.aWBefE3QfC@melon> User-Agent: KMail/4.9.5 (FreeBSD/9.1-RELEASE-p1; KDE/4.9.5; amd64; ; ) In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1" Cc: freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Mar 2013 07:30:55 -0000 Le jeudi 28 mars 2013 11:05:58 Daniel O'Connor a =E9crit : > On 27/03/2013, at 18:43, David Demelier wr= ote: > > Yesterday I had a panic on my laptop. Unfortunately the SU+J was no= t > > able to recovery the file system, the error was something like : > >=20 > > Unknown error: Help! > > Could not find directory 9854215 > >=20 > > And it went to the single user mode, I needed to fsck_ufs manually = to > > recover the disk. What afraid me is what if happens on a headless > > machine? It will be hard to recover. >=20 > For headless remote systems I use fsck_y_enable=3D"YES". >=20 > In my experience 'fsck -y' almost invariably recovers the disk to a p= oint > where it can boot and then I can login remotely. >=20 When the problem appeared, I could not use fsck -y because it will asks= "Use=20 journal?" and if journal is used the error above reappears and you can = not=20 clean the file system.. I needed to do a full fsck without any journal at all. > -- > Daniel O'Connor software and network engineer > for Genesis Software - http://www.gsoft.com.au > "The nice thing about standards is that there > are so many of them to choose from." > -- Andrew Tanenbaum > GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C Regards, --=20 David Demelier