Date: Thu, 12 Nov 2009 10:17:53 -0500 From: Tony Holmes <tony@crosswinds.net> To: freebsd-geom@freebsd.org Subject: GJournal too Small? Message-ID: <20091112151753.GA20087@crosswinds.net>
next in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20091112151753.GA20087>
