From owner-freebsd-geom@FreeBSD.ORG Fri Jan 16 14:45:44 2009 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B79681065672 for ; Fri, 16 Jan 2009 14:45:44 +0000 (UTC) (envelope-from bjmccann@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.239]) by mx1.freebsd.org (Postfix) with ESMTP id 87E518FC13 for ; Fri, 16 Jan 2009 14:45:44 +0000 (UTC) (envelope-from bjmccann@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so1672521rvf.43 for ; Fri, 16 Jan 2009 06:45:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=kZwmS1qHjdWXll+Gfxdmo94OyWFzygdODcF91iX8Zes=; b=rJuRdnI1yYgh8gNCN+fQReJkelT9OoO8aWoALxPaJVgHbqlwmAZYKtA8jvAEIewAJ/ hmWZniWdN9rYkDt9KHdPqBEMSfpkX74+SuZP5/dNhEo8sCrkodTbwMiDTeKNDs6SS4YV pG3w9vRSFl3wCT98Sqo4Ig/5y7f/nrmbBvtkY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=OH8xHP5ipAVBJtLsNdjJd742g5JtyTVoxwwKbBVwXVFKltNltO30NNujGobrNn4L7J +ynbWO0gszN5rQQbaHLNf3MUl+gTxlaqZ/FiP+4BmdR3K0PNgfGOjpQudVHEi2wCcGvv tEiqC2+g59U9jP5qLxecm9rUpv3QaqmJendD0= Received: by 10.141.23.7 with SMTP id a7mr1250499rvj.238.1232117144109; Fri, 16 Jan 2009 06:45:44 -0800 (PST) Received: by 10.140.140.19 with HTTP; Fri, 16 Jan 2009 06:45:44 -0800 (PST) Message-ID: <2b5f066d0901160645n81c0296j1e714056da74c88e@mail.gmail.com> Date: Fri, 16 Jan 2009 09:45:44 -0500 From: "Brian McCann" To: rick-freebsd2008@kiwi-computer.com In-Reply-To: <20090115172036.GA54383@keira.kiwi-computer.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <2b5f066d0901141323j7c9a194eo4606d9769279037e@mail.gmail.com> <20090115025645.21ad2185.ota@j.email.ne.jp> <2b5f066d0901150410s7dc4e97v741d5edd2a4983a9@mail.gmail.com> <20090115172036.GA54383@keira.kiwi-computer.com> Cc: freebsd-geom@freebsd.org Subject: Re: gvinum & gjournal X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Jan 2009 14:45:45 -0000 On Thu, Jan 15, 2009 at 12:20 PM, Rick C. Petty wrote: > On Thu, Jan 15, 2009 at 07:10:35AM -0500, Brian McCann wrote: >> >> I'm doing journaling so that I theoretically never have to fsck. It's > > You don't *have* to fsck with UFS2 either, if you're using soft updates. > The only thing fsck does is free up space and inodes that are marked as > used but are really not used. Since it can be done successfully in the > background, I don't see much of a problem (yes it will take hours, so > schedule the checks at times when you have the least I/O traffic). As far > as RAM, so long as you have swap it should be fine, just adding extra time > to the checks. Again you only need to run fsck if the filesystem was dirty > during a reboot or crash and you need to reclaim space. I like to schedule > my fscks on busy systems for 12-36 hours delay after startup. That way you > don't run them after every reboot if you're experiencing problems and I > like to schedule them when no one is using the system. > > -- Rick C. Petty > The only time I ever run fsck's is when the system is shutdown dirty (and just about on every reboot, on the large arrays anyway, it almost never background fsck's the array...it insists on doing it before the rest of the system boots/loads). I've already got a few servers here with UFS2 that occasionally crash or hang for various reasons and reboot...and with large file systems (like 2 roughly 200GB arrays), the system takes almost 1 hour to come back to life. I was really hoping UFS2 would have solved this old problem...but it still pops it's head back up now and then. :( Thanks! -- _-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_ Brian McCann "I don't have to take this abuse from you -- I've got hundreds of people waiting to abuse me." -- Bill Murray, "Ghostbusters"