From owner-freebsd-questions@FreeBSD.ORG Mon Nov 8 18:37:25 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D579A106564A for ; Mon, 8 Nov 2010 18:37:25 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 646328FC08 for ; Mon, 8 Nov 2010 18:37:24 +0000 (UTC) Received: by fxm19 with SMTP id 19so208166fxm.13 for ; Mon, 08 Nov 2010 10:37:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=zS+3rzyScD1BHuqKXQIpDcDHBitph6G8Xw68EUGVjzE=; b=Xo3XrPs4Rw+nxDSeirzIXDPBZ+wwsbCCyPGRK8xO6lo9YoV3Iu7gEgrQk63IyuJwrb qwwyZCLUarJS5J0cqz3Go0nR1IMb9ffqxaQ1kN1/Y1B4YJux04eGInAI8lZGXAAW6jN0 3IdyGMfEobddtLzHVjm2dyOXhxqWX/emEnh6U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=orgXjp+4m2A+JoqAn4rpJZ+BRckasSlRRcLeq5mdVHrAdaeVQkA9M3ejxCUuTGGNGE Z1KbOXgKSsqRFcKX5wTmj9cFWP6O+8mfy3biY2+ZbO1zRSDGh+0+jnbtMXMZ8eNxqMZH YJyQEgYRqFqz+nhSghHoa8dElddj1ykCFB02E= MIME-Version: 1.0 Received: by 10.223.86.9 with SMTP id q9mr4144524fal.25.1289241444016; Mon, 08 Nov 2010 10:37:24 -0800 (PST) Received: by 10.223.121.138 with HTTP; Mon, 8 Nov 2010 10:37:23 -0800 (PST) In-Reply-To: References: Date: Mon, 8 Nov 2010 12:37:23 -0600 Message-ID: From: Adam Vande More To: Ivan Voras Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: UFS 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: Mon, 08 Nov 2010 18:37:26 -0000 On Mon, Nov 8, 2010 at 5:50 AM, Ivan Voras wrote: > On 11/08/10 11:01, Samuel Mart=EDn Moro wrote: > > > In my opinion, the only chance to get back the data would be to plug an > > additional drive, make a huge swap file... > > Knowing that context switching, on such an amount of RAM ... that would > at > > least take days. > > > > > > In doubt: am I missing something? Is there an easier way? > > Basically, no. > > You can't expect fsck a 44 TB drive with 2 GB of RAM, there is too much > information to be kept while checking. > > However, IIRC there have been some committed patches in 7 and later > which reduced the amount of memory so going with at least 7-STABLE would > be better. > > It would of course be even better to go with 8-STABLE or wait for 9.0 > which should be released in several months and then either use UFS-SUJ > or ZFS. > Another option would to place UFS on top a gjournal then your fsck become much, much less intensive. However there are several problems with this suggestion as gjournal isn't available for your version, and adding gjourna= l to an existing FS is a non-trivial task and would probably not be feasible. Perhaps you could evaluate it for your next product build though. --=20 Adam Vande More