From owner-freebsd-geom@FreeBSD.ORG Sun Feb 7 03:15:49 2010 Return-Path: Delivered-To: freebsd-geom@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4ACEE1065670; Sun, 7 Feb 2010 03:15:49 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 222308FC15; Sun, 7 Feb 2010 03:15:49 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id o173Fn8H099406; Sun, 7 Feb 2010 03:15:49 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id o173FmRs099402; Sun, 7 Feb 2010 03:15:48 GMT (envelope-from linimon) Date: Sun, 7 Feb 2010 03:15:48 GMT Message-Id: <201002070315.o173FmRs099402@freefall.freebsd.org> To: dindin@dindin.ru, linimon@FreeBSD.org, freebsd-geom@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: kern/124294: [geom] gmirror(8) have inappropriate logic when working with bad hard-drive 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: Sun, 07 Feb 2010 03:15:49 -0000 Synopsis: [geom] gmirror(8) have inappropriate logic when working with bad hard-drive State-Changed-From-To: feedback->closed State-Changed-By: linimon State-Changed-When: Sun Feb 7 03:14:37 UTC 2010 State-Changed-Why: Feedback timeout (> 1 year.) To submitter: if this is still a problem, please let us know and we can re-open the ticket. http://www.freebsd.org/cgi/query-pr.cgi?pr=124294 From owner-freebsd-geom@FreeBSD.ORG Mon Feb 8 11:06:56 2010 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 6C0A0106566B for ; Mon, 8 Feb 2010 11:06:56 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 5BB748FC12 for ; Mon, 8 Feb 2010 11:06:56 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id o18B6uJ8087383 for ; Mon, 8 Feb 2010 11:06:56 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id o18B6t20087381 for freebsd-geom@FreeBSD.org; Mon, 8 Feb 2010 11:06:55 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 8 Feb 2010 11:06:55 GMT Message-Id: <201002081106.o18B6t20087381@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-geom@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-geom@FreeBSD.org 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: Mon, 08 Feb 2010 11:06:56 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/143455 geom gstripe(8) in RELENG_8 (31st Jan 2010) broken o kern/142563 geom [geom] [hang] ioctl freeze in zpool f kern/142365 geom [geom] FreeBSD RAID1 (gmirror) is much slower than Lin o kern/141740 geom [geom] gjournal(8): g_journal_destroy concurrent error o kern/140352 geom [geom] gjournal + glabel not working o kern/139847 geom [geom_mbr] [patch] load/unload causes system to hang o kern/135898 geom [geom] Severe filesystem corruption - large files or l o kern/134922 geom [gmirror] [panic] kernel panic when use fdisk on disk o kern/134113 geom [geli] Problem setting secondary GELI key o kern/134044 geom [geom] gmirror(8) overwrites fs with stale data from r o kern/133931 geom [geli] [request] intentionally wrong password to destr o bin/132845 geom [geom] [patch] ggated(8) does not close files opened a o kern/132273 geom glabel(8): [patch] failing on journaled partition f kern/132242 geom [gmirror] gmirror.ko fails to fully initialize o kern/131353 geom [geom] gjournal(8) kernel lock p docs/130548 geom [patch] gjournal(8) man page is missing sysctls o kern/129674 geom [geom] gjournal root did not mount on boot o kern/129645 geom gjournal(8): GEOM_JOURNAL causes system to fail to boo o kern/129245 geom [geom] gcache is more suitable for suffix based provid f kern/128276 geom [gmirror] machine lock up when gmirror module is used f kern/126902 geom [geom] geom_label: kernel panic during install boot o kern/124973 geom [gjournal] [patch] boot order affects geom_journal con o kern/124969 geom gvinum(8): gvinum raid5 plex does not detect missing s o kern/123962 geom [panic] [gjournal] gjournal (455Gb data, 8Gb journal), o kern/123122 geom [geom] GEOM / gjournal kernel lock o kern/122738 geom [geom] gmirror list "losts consumers" after gmirror de f kern/122415 geom [geom] UFS labels are being constantly created and rem o kern/122067 geom [geom] [panic] Geom crashed during boot o kern/121559 geom [patch] [geom] geom label class allows to create inacc o kern/121364 geom [gmirror] Removing all providers create a "zombie" mir o kern/120091 geom [geom] [geli] [gjournal] geli does not prompt for pass o kern/119743 geom [geom] geom label for cds is keeped after dismount and o kern/115856 geom [geli] ZFS thought it was degraded when it should have o kern/115547 geom [geom] [patch] [request] let GEOM Eli get password fro o kern/114532 geom [geom] GEOM_MIRROR shows up in kldstat even if compile o kern/113957 geom [gmirror] gmirror is intermittently reporting a degrad o kern/113837 geom [geom] unable to access 1024 sector size storage o kern/113419 geom [geom] geom fox multipathing not failing back p bin/110705 geom gmirror(8) control utility does not exit with correct o kern/107707 geom [geom] [patch] [request] add new class geom_xbox360 to o kern/104389 geom [geom] [patch] sys/geom/geom_dump.c doesn't encode XML o kern/98034 geom [geom] dereference of NULL pointer in acd_geom_detach o kern/94632 geom [geom] Kernel output resets input while GELI asks for o kern/90582 geom [geom] [panic] Restore cause panic string (ffs_blkfree o bin/90093 geom fdisk(8) incapable of altering in-core geometry a kern/89660 geom [vinum] [patch] [panic] due to g_malloc returning null o kern/89546 geom [geom] GEOM error o kern/88601 geom [geli] geli cause kernel panic under heavy disk usage o kern/87544 geom [gbde] mmaping large files on a gbde filesystem deadlo o kern/84556 geom [geom] [panic] GBDE-encrypted swap causes panic at shu o kern/79251 geom [2TB] newfs fails on 2.6TB gbde device o kern/79035 geom [vinum] gvinum unable to create a striped set of mirro o bin/78131 geom gbde(8) "destroy" not working. s kern/73177 geom kldload geom_* causes panic due to memory exhaustion 54 problems total. From owner-freebsd-geom@FreeBSD.ORG Fri Feb 12 19:07:15 2010 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 DF1921065676 for ; Fri, 12 Feb 2010 19:07:15 +0000 (UTC) (envelope-from glavoie@gmail.com) Received: from mail-ew0-f211.google.com (mail-ew0-f211.google.com [209.85.219.211]) by mx1.freebsd.org (Postfix) with ESMTP id 756F88FC1F for ; Fri, 12 Feb 2010 19:07:15 +0000 (UTC) Received: by ewy3 with SMTP id 3so2910840ewy.13 for ; Fri, 12 Feb 2010 11:07:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=Zg/0fQ1LCh3T/GkQuJAcizhUsRHncLddu5AzeCD41tw=; b=vDV/pQulTPgs409ImodYQSFjfWvOsBZWpsMU1TBfV2WZO2oG06NSr5Kc3k25l2TkPP LIEfwUesgeNqJqUOMd26ehF7uumcH9IL5o5tBz0eSR+RjvOqcH1babhhK1y5VUgz0RfZ oCDaOTHRKbccjHleJN8PjDJJoju5oIujrGIxg= 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:content-transfer-encoding; b=OJSdNcUMOtI/lGP4P7iWTk/bNwEa08hlWRYDQD6mrcTkmUQ/s36q/xIcWT20HzMlNK AITpd/LdfjvtN+OPMj3tjXhKxWjCw0DJ97CX6Xy/05nrWg2j7Cj+j/ZInPYhbdj7Ccgt b344NgUuwdkGY2hCXWN+IMn5G2QJD6450cP10= MIME-Version: 1.0 Received: by 10.216.162.142 with SMTP id y14mr981774wek.192.1266000024365; Fri, 12 Feb 2010 10:40:24 -0800 (PST) In-Reply-To: <20100201203025.GA1732@garage.freebsd.pl> References: <4B673692.4070408@diff.org> <20100201203025.GA1732@garage.freebsd.pl> Date: Fri, 12 Feb 2010 13:40:24 -0500 Message-ID: From: Gabriel Lavoie To: Pawel Jakub Dawidek Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: Ferruccio Zamuner , freebsd-geom@freebsd.org Subject: Re: system freeze on freebsd 8.0-stable and gmirror/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, 12 Feb 2010 19:07:16 -0000 Why there should be one gjournal provider for each filesystem? I've been running for two years a system with 1 journal provider for all filesystems with no problem at all. Instead of wasting [I don't remember the calculation]GB for each file system, I only have to waste a total of 2GB (enough based on the speed of my drives). I've made extensive power failure/disk disconnection tests with this setup and every time, the journal was replayed correctly and I never had any data loss. I'm interested to see a clear answer as I asked this question two years ago and no one could really answer. My swap is split on my two hard drives, no gmirror/gjournal for it. My / filesystem is only on gmirror with softupdates as there was a bug in 7.1 and under where the system couldn't reboot on unclean shutdown. The system was trying to mount the root partition before the journal was replayed and the device node appeared. Gabriel [Sorry for the re-post, I forgot to use Reply All.] 2010/2/1 Pawel Jakub Dawidek : > On Mon, Feb 01, 2010 at 09:16:18PM +0100, Ferruccio Zamuner wrote: >> Hello, >> >> I'm moving to a new server dedicated hosts. >> I've choose to install FreeBSD 8.0 and I've already upgrade to -stable. >> >> I've two hd sata 160Gb each: ad4, ad6. >> >> I've split them in two slices: ad[46]s1, ad[46]s2. >> >> gmirror ad*s1 -> gm0 >> gstripe =C2=A0 ad*s2 -> gs0 >> >> then I've applied gjournal to both of them and finally I've partitioned, >> >> Filesystem =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Size =C2=A0 =C2=A0Used =C2=A0 Avail = Capacity >> Mounted on >> /dev/mirror/gmir0.journala =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 989= M =C2=A0 =C2=A0688M =C2=A0 =C2=A0222M =C2=A0 =C2=A076% =C2=A0 =C2=A0/ >> /dev/mirror/gmir0.journalb =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 3GB >> /dev/mirror/gmir0.journald =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 5.8= G =C2=A0 =C2=A03.0M =C2=A0 =C2=A05.3G =C2=A0 =C2=A0 0% =C2=A0 =C2=A0/tmp >> /dev/mirror/gmir0.journale =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 9.7= G =C2=A0 =C2=A01.9G =C2=A0 =C2=A07.0G =C2=A0 =C2=A022% =C2=A0 =C2=A0/var >> /dev/mirror/gmir0.journalf =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 7.7= G =C2=A0 =C2=A03.5G =C2=A0 =C2=A03.6G =C2=A0 =C2=A049% =C2=A0 =C2=A0/usr >> /dev/mirror/gmir0.journalg =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A088G =C2=A0 =C2=A0 20G =C2=A0 =C2=A0 61G =C2=A0 =C2=A025% =C2=A0 =C2=A0/h= ome >> /dev/stripe/gs0.journald =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A055G =C2=A0 =C2=A0 25G =C2=A0 =C2=A0 26G =C2=A0 =C2=A048% >> /faster1 >> >> > swapinfo >> Device =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A01K-blocks =C2=A0 =C2=A0 Used = =C2=A0 =C2=A0Avail Capacity >> /dev/mirror/gmir0.journalb =C2=A0 3047152 =C2=A0 =C2=A0 =C2=A0 28 =C2=A0= 3047124 =C2=A0 =C2=A0 0% > > It is very bad idea to swap onto gjournal, but the more important thing > is that there should be one gjournal provider for one file system, not > one gjournal provider for multiple file systems. Also file system should > be placed directly on gjournal provider and you have partitions > configured even in gs0 case. > > -- > Pawel Jakub Dawidek =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 http://www.wheel.pl > pjd@FreeBSD.org =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 http://www.FreeBSD.org > FreeBSD committer =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 Am I Evil? Yes, I Am! > --=20 Gabriel Lavoie glavoie@gmail.com