From owner-freebsd-geom@FreeBSD.ORG Thu Nov 12 15:17:25 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 5A4441065734 for ; Thu, 12 Nov 2009 15:17:25 +0000 (UTC) (envelope-from tony@crosswinds.net) Received: from out-mx.crosswinds.net (out-mx1.crosswinds.net [8.21.33.38]) by mx1.freebsd.org (Postfix) with ESMTP id 329A88FC18 for ; Thu, 12 Nov 2009 15:17:24 +0000 (UTC) Received: from admin.crosswinds.net (admin.crosswinds.net [8.21.33.2]) by out-mx.crosswinds.net (Postfix) with ESMTP id 4D63E1E8E35 for ; Thu, 12 Nov 2009 10:17:24 -0500 (EST) Received: by admin.crosswinds.net (Postfix, from userid 1001) id 355FD86182; Thu, 12 Nov 2009 10:17:53 -0500 (EST) Date: Thu, 12 Nov 2009 10:17:53 -0500 From: Tony Holmes To: freebsd-geom@freebsd.org Message-ID: <20091112151753.GA20087@crosswinds.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) Subject: GJournal too Small? 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: Thu, 12 Nov 2009 15:17:25 -0000 I have a 894GB gstripe that I've put gjournal on top of. Since it was an unused stripe I placed the data+journal into the same partition. The server is fairly heavily used and hung suddenly. On reboot I got this in the dmesg: GEOM_JOURNAL: Journal 3472355975: mirror/gm0s1e contains journal. GEOM_STRIPE: Device st0 created (id=2649322337). GEOM_STRIPE: Disk mirror/gm0s1f attached to st0. GEOM_MIRROR: Device mirror/gm1 launched (1/1). GEOM_STRIPE: Disk mirror/gm1s1f attached to st0. GEOM_STRIPE: Device st0 activated. GEOM_JOURNAL: Journal 2630378703: stripe/st0 contains data. GEOM_JOURNAL: Journal 2630378703: stripe/st0 contains journal. GEOM_JOURNAL: Journal stripe/st0 clean. GEOM_JOURNAL: Timeout. Journal gjournal 3472355975 cannot be completed. That last line worries me. >From a quick google, it appears that the gjournal is too small. Since I created it with the single partition, I would have expected the journal to be autosized correctly. I know the OS is a little out of date but has been working very well until the past couple months. I have 1 hang approximately every month. Information about system: FreeBSD fs.cwahi.net 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #0: Mon Dec 1 09:12:42 EST 2008 root@app.cwahi.com:/usr/obj/usr/src/sys/CWahi amd64 fs# gjournal list Geom name: gjournal 1493846988 ID: 1493846988 Providers: 1. Name: stripe/st0.journal Mediasize: 958334500352 (893G) Sectorsize: 512 Mode: r1w1e1 Consumers: 1. Name: stripe/st0 Mediasize: 959408242688 (894G) Sectorsize: 512 Mode: r1w1e1 Jend: 959408242176 Jstart: 958334500352 Role: Data,Journal Newfs'd with: newfs -J -b 16384 -f 2048 -m 4 /dev/stripe/st0.journal -- Tony Holmes Ph: (416) 993-1219 Founder and Senior Systems Architect Crosswinds Internet Communications Inc.