From owner-freebsd-stable@FreeBSD.ORG Fri Jan 15 15:53:47 2010 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DCEF31065781 for ; Fri, 15 Jan 2010 15:53:47 +0000 (UTC) (envelope-from lehmann@ans-netz.de) Received: from avocado.salatschuessel.net (avocado.salatschuessel.net [78.111.72.186]) by mx1.freebsd.org (Postfix) with SMTP id 50D6D8FC0C for ; Fri, 15 Jan 2010 15:53:46 +0000 (UTC) Received: (qmail 97364 invoked by uid 89); 15 Jan 2010 15:53:45 -0000 Received: from unknown (HELO kartoffel.salatschuessel.net) (78.111.72.187) by avocado.salatschuessel.net with SMTP; 15 Jan 2010 15:53:45 -0000 Date: Fri, 15 Jan 2010 16:53:43 +0100 From: Oliver Lehmann To: stable@freebsd.org Message-Id: <20100115165343.95e32345.lehmann@ans-netz.de> X-Mailer: Sylpheed 2.7.1 (GTK+ 2.18.5; amd64-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Subject: Fw: 8-STABLE: gmirror segfaulting X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jan 2010 15:53:47 -0000 I picked the wrong list *sigh* Begin forwarded message: Date: Fri, 15 Jan 2010 16:33:50 +0100 From: Oliver Lehmann To: ports@freebsd.org Cc: mav@FreeBSD.org, pjd@FreeBSD.org Subject: 8-STABLE: gmirror segfaulting Hi, sorry for the long story following but I think this is important to get the picture ;) I had the following setup: 2 harddisks ada0, ada1 mirrored with gmirror as gm0 1 2.7TB twa-RAID as da0 the da0p1 partition had a gjournal on gm0s1fh the gm0s1f partition had a gjournal on gm0s1fg I tried to label (tunefs -L) da0p1.journal as "files" and gm0s1f.journal as "usr" but the label was everytime gone after a reboot for whatever reasons. Later I also felt mad about the massive bad write performance on my RAID-5. Finally I decided to remove the journaling today to get my performance back ;) This is where the problems have started..... I was not able to remove the journaling wile the mirror was still intact because it always tried to resolve my previous given "usr" label which existed on the disks ada0+ada1 below gm0 but never where mapped to the front (gm0s1f.journal) again somehow. That always failed. So I did gmirror remove ada0+ada1 until gm0 was gone and I had back ada0 and ada1 as single disks. I then rebooted into single user again and did gjournal stop for all three journals (breaking gmirror created 2 journals on both RAID-1 hdds of course for ada0s1f and ada1s1f) and then did a gjournal clear. That clear failed on da0p1 (maybe because the gm0s1h journal also devided into ada0s1h and ada1s1h - who knows) so I again rebootet but then having my system waiting forever "root mount waiting for: GJOURNAL". I felt a bit pissed off I must admit because at first I thought that I've dumped my system :( Fortunally I had gjournal loaded as kernel module only so I rebooted once more and just loaded the kernel w/o every module. I then was able to make gjournal clear da0p1 while the gjournal module was not loaded. Now the journals on all harddisks where gone. I also did a tunefs -J disable. I now wanted to recreate my gmirror with sysctl kern.geom.debugflags=17 gmirror label -vb round-robin gm0 ada0 This creates a massive printout of debug messages on my console and finally ended up with "gmirror: Segmentation fault". Then I'm left with a system responding to every command with "Device not configure" So all I had left was power-cycling the system. This is repeatable.... I really want my gmirror back. Any advice? -- Oliver Lehmann http://www.pofo.de/ http://wishlist.ans-netz.de/ _______________________________________________ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" -- Oliver Lehmann http://www.pofo.de/ http://wishlist.ans-netz.de/