From owner-freebsd-fs@FreeBSD.ORG Mon Jul 11 09:12:13 2011 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0215B106566B for ; Mon, 11 Jul 2011 09:12:13 +0000 (UTC) (envelope-from kraduk@gmail.com) Received: from mail-yw0-f54.google.com (mail-yw0-f54.google.com [209.85.213.54]) by mx1.freebsd.org (Postfix) with ESMTP id B606C8FC13 for ; Mon, 11 Jul 2011 09:12:12 +0000 (UTC) Received: by ywf7 with SMTP id 7so1757237ywf.13 for ; Mon, 11 Jul 2011 02:12:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=L365KPdBqHc2XO8GXlN4PWdVnTWHap1nSZrgF/UMT7M=; b=SLBBnPwb8yIGbTZzUeAp7Iq9XqBtZ2K1p4Dq4zFYCPLNeWBxCfkKa9VFojJG2VB3ev fqt0tKv0Iywag++pNEoRz+gwyFnB8GuToz0DlIaeGwmryBlMIbmuy7PjSlGqw1qcHiQg UJijw9dTaZKgro+YZG4AkXsr7h/zfRZak08bI= MIME-Version: 1.0 Received: by 10.236.183.135 with SMTP id q7mr4659994yhm.480.1310375531806; Mon, 11 Jul 2011 02:12:11 -0700 (PDT) Received: by 10.236.110.14 with HTTP; Mon, 11 Jul 2011 02:12:11 -0700 (PDT) In-Reply-To: References: Date: Mon, 11 Jul 2011 10:12:11 +0100 Message-ID: From: krad To: Rick van der Zwet Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-fs@freebsd.org Subject: Re: fsck_ufs a 2TB partition with 256MB RAM stalls X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jul 2011 09:12:13 -0000 On 7 July 2011 14:57, Rick van der Zwet wrote: > I want to build a file server with limited power usage, so I got > myself an ALIX alix2d13 which has 256MB DDR RAM. I connected a 2TB > USB2.0 disk to the alix2d13 to be used as storage. > > The file system gets corrupted due to power failure, which is likely > going to happen when running Solar Power in The Netherlands, I cannot > fix it anymore cause the fsck_ufs never to complete. This actually > makes sense as the recommendation [1] says ``1TB storage needs 1GB of > RAM for fsck_ufs''. > > I can partition my disk in 16 parts of 128GB to work around the > matter, but I rather keep one large partition. Any recommendations of > getting this solved or will the smaller partitions be my only friend? > > Br. /Rick > [1] > http://groups.google.com/group/lucky.freebsd.stable/msg/4f1dcc954ecb7392 > -- > http://rickvanderzwet.nl > _______________________________________________ > freebsd-fs@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-fs > To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org" > you could try soft updates + journaling. This would negate the need for fsck in nearly all cases. It would mean running CURRENT though. However it is quite stable at the moment and has been for some time, to the rewards might be worth the risk for you http://freebsd.stokely.org/2010/05/kirk-mckusick-on-journaling-soft.html