From owner-freebsd-geom@FreeBSD.ORG Mon Jul 16 11:08:17 2007 Return-Path: X-Original-To: freebsd-geom@FreeBSD.org Delivered-To: freebsd-geom@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2F1DE16A40D for ; Mon, 16 Jul 2007 11:08:17 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 1BC9313C471 for ; Mon, 16 Jul 2007 11:08:17 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l6GB8Gwb017992 for ; Mon, 16 Jul 2007 11:08:16 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l6GB8F5O017988 for freebsd-geom@FreeBSD.org; Mon, 16 Jul 2007 11:08:15 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 16 Jul 2007 11:08:15 GMT Message-Id: <200707161108.l6GB8F5O017988@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 you 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, 16 Jul 2007 11:08:17 -0000 Current FreeBSD problem reports Critical problems Serious problems S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/73177 geom kldload geom_* causes panic due to memory exhaustion o kern/76538 geom [gbde] nfs-write on gbde partition stalls and continue o kern/83464 geom [geom] [patch] Unhandled malloc failures within libgeo o kern/84556 geom [geom] GBDE-encrypted swap causes panic at shutdown o kern/87544 geom [gbde] mmaping large files on a gbde filesystem deadlo o kern/89102 geom [geom_vfs] [panic] panic when forced unmount FS from u o bin/90093 geom fdisk(8) incapable of altering in-core geometry o kern/90582 geom [geom_mirror] [panic] Restore cause panic string (ffs_ o kern/98034 geom [geom] dereference of NULL pointer in acd_geom_detach o kern/104389 geom [geom] [patch] sys/geom/geom_dump.c doesn't encode XML o kern/113419 geom [geom] geom fox multipathing not failing back o misc/113543 geom [geom] [patch] geom(8) utilities don't work inside the o kern/113957 geom [gmirror] gmirror is intermittently reporting a degrad 13 problems total. Non-critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- o bin/78131 geom gbde "destroy" not working. o kern/79251 geom [2TB] newfs fails on 2.6TB gbde device o kern/94632 geom [geom] Kernel output resets input while GELI asks for f kern/105390 geom [geli] filesystem on a md backed by sparse file with s o kern/107707 geom [geom] [patch] add new class geom_xbox360 to slice up p bin/110705 geom gmirror control utility does not exit with correct exi o kern/113790 geom [patch] enable the Camellia block cipher on GEOM ELI ( o kern/113837 geom [geom] unable to access 1024 sector size storage o kern/113885 geom [geom] [patch] improved gmirror balance algorithm o kern/114532 geom GEOM_MIRROR shows up in kldstat even if compiled in th 10 problems total. From owner-freebsd-geom@FreeBSD.ORG Sat Jul 21 12:31:16 2007 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 277FF16A41A for ; Sat, 21 Jul 2007 12:31:16 +0000 (UTC) (envelope-from tony@crosswinds.net) Received: from out-mx1.crosswinds.net (out-mx1.crosswinds.net [216.18.117.38]) by mx1.freebsd.org (Postfix) with ESMTP id 068BC13C457 for ; Sat, 21 Jul 2007 12:31:16 +0000 (UTC) (envelope-from tony@crosswinds.net) Received: from admin.crosswinds.net (out-mx1.crosswinds.net [216.18.117.38]) by out-mx1.crosswinds.net (Postfix) with ESMTP id A50B12B6F7 for ; Sat, 21 Jul 2007 08:12:40 -0400 (EDT) Received: by admin.crosswinds.net (Postfix, from userid 1001) id 6ECC4403D; Sat, 21 Jul 2007 08:12:40 -0400 (EDT) Date: Sat, 21 Jul 2007 08:12:40 -0400 From: Tony Holmes To: freebsd-geom@freebsd.org Message-ID: <20070721121240.GA45291@crosswinds.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Subject: Geom striped mirrors questions 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: Sat, 21 Jul 2007 12:31:16 -0000 I am trying to set up a RAID 10 data array using 12 identical 33gb scsi disks. 2 are being kept for spares First I set up a single slice on each disk using: fdisk -I -1 /dev/da{0,1,2,3,4,5,6,7,8,9,10,11,12,13} Then I set up the mirrors: gmirror label -v -b round-robin dm0 /dev/da0 /dev/da7 gmirror label -v -b round-robin dm1 /dev/da1 /dev/da8 gmirror label -v -b round-robin dm2 /dev/da2 /dev/da9 gmirror label -v -b round-robin dm3 /dev/da3 /dev/da10 gmirror label -v -b round-robin dm4 /dev/da4 /dev/da11 gmirror label -v -b round-robin dm5 /dev/da5 /dev/da12 And finally the stripe: gstripe label -s 524288 ds0 /dev/mirror/dm0 /dev/mirror/dm1 /dev/mirror/dm2 /dev/mirror/dm3 /dev/mirror/dm4 /dev/mirror/dm5 The gstatus is fine: and the array is usable/mountable/newfs'able but I am concered by the warnings in /var/log/messages: Jul 21 08:03:56 db kernel: GEOM_MIRROR: Device mirror/dm0 launched (2/2). Jul 21 08:04:06 db kernel: GEOM_MIRROR: Device mirror/dm1 launched (2/2). Jul 21 08:04:14 db kernel: GEOM_MIRROR: Device mirror/dm2 launched (2/2). Jul 21 08:04:21 db kernel: GEOM_MIRROR: Device mirror/dm3 launched (2/2). Jul 21 08:04:27 db kernel: GEOM_MIRROR: Device mirror/dm4 launched (2/2). Jul 21 08:04:34 db kernel: GEOM_MIRROR: Device mirror/dm5 launched (2/2). Jul 21 08:05:47 db kernel: GEOM_STRIPE: Device /dev/mirror/dm0 created (id=3520310645). Jul 21 08:06:57 db kernel: GEOM_STRIPE: Device ds0 created (id=2180637358). Jul 21 08:06:57 db kernel: GEOM_STRIPE: Disk mirror/dm0 attached to ds0. Jul 21 08:06:57 db kernel: GEOM_STRIPE: Cannot add disk mirror/dm0c to ds0 (error=17). Jul 21 08:06:57 db kernel: GEOM_STRIPE: Disk mirror/dm1 attached to ds0. Jul 21 08:06:57 db kernel: GEOM_STRIPE: Disk mirror/dm2 attached to ds0. Jul 21 08:06:58 db kernel: GEOM_STRIPE: Cannot add disk mirror/dm2c to ds0 (error=17). Jul 21 08:06:58 db kernel: GEOM_STRIPE: Disk mirror/dm3 attached to ds0. Jul 21 08:06:58 db kernel: GEOM_STRIPE: Cannot add disk mirror/dm3c to ds0 (error=17). Jul 21 08:06:58 db kernel: GEOM_STRIPE: Disk mirror/dm4 attached to ds0. Jul 21 08:06:58 db kernel: GEOM_STRIPE: Cannot add disk mirror/dm4c to ds0 (error=17). Jul 21 08:06:58 db kernel: GEOM_STRIPE: Disk mirror/dm5 attached to ds0. Jul 21 08:06:58 db kernel: GEOM_STRIPE: Device ds0 activated. Jul 21 08:06:58 db kernel: GEOM_STRIPE: Cannot add disk mirror/dm5c to ds0 (error=17). And it's odd that I do not get it for device dm1 (da1/da8). So, what am I doing wrong? This is on 7.0-CURRENT amd64. Athlon X2 3600, 2GB ram -- Tony Holmes Ph: (416) 993-1219 Founder and Senior Systems Architect Crosswinds Internet Communications Inc. From owner-freebsd-geom@FreeBSD.ORG Sat Jul 21 13:17:12 2007 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 0029D16A418 for ; Sat, 21 Jul 2007 13:17:11 +0000 (UTC) (envelope-from arne_woerner@yahoo.com) Received: from web30309.mail.mud.yahoo.com (web30309.mail.mud.yahoo.com [209.191.69.71]) by mx1.freebsd.org (Postfix) with SMTP id A735813C481 for ; Sat, 21 Jul 2007 13:17:11 +0000 (UTC) (envelope-from arne_woerner@yahoo.com) Received: (qmail 44315 invoked by uid 60001); 21 Jul 2007 13:17:11 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=cn7rdQh/ii57J3HQfmFNR5Mb37IlPOTn96H4UeDE/b8q28cDlg8wod28YfKH9ecZXP0CZyxLkg1GSVVo+yR2TOUGN/p2M41uKMYnRoVoOcq8vMNUkQ0gj94Mf30NjPkSkRUOQ3pAeG6PSEjFsZdCdtz+VbGOQAj+/R+p6PpA6CQ=; X-YMail-OSG: sNGrKukVM1kHWZoR9vOTcD_VnDFbhG0qRyFxNBOUR.0sm_9y6_HEAcKrztJeVEhMWcqgoVXJoJs2BwJl5t6W68k9oeY5GuFPZEs4aBc.UNfvVG22t821Ue3K8k6wtg-- Received: from [84.141.68.195] by web30309.mail.mud.yahoo.com via HTTP; Sat, 21 Jul 2007 06:17:10 PDT Date: Sat, 21 Jul 2007 06:17:10 -0700 (PDT) From: Arne "Wörner" To: Tony Holmes , freebsd-geom@freebsd.org In-Reply-To: <20070721121240.GA45291@crosswinds.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <990910.43461.qm@web30309.mail.mud.yahoo.com> Cc: Subject: Re: Geom striped mirrors questions 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: Sat, 21 Jul 2007 13:17:12 -0000 --- Tony Holmes wrote: > I am trying to set up a RAID 10 data array using 12 identical 33gb scsi > disks. 2 are being kept for spares > > First I set up a single slice on each disk using: > > fdisk -I -1 /dev/da{0,1,2,3,4,5,6,7,8,9,10,11,12,13} > What is this good for? > Jul 21 08:06:57 db kernel: GEOM_STRIPE: Disk mirror/dm0 attached to ds0. > Jul 21 08:06:57 db kernel: GEOM_STRIPE: Cannot add disk mirror/dm0c to ds0 > (error=17). > Jul 21 08:06:57 db kernel: GEOM_STRIPE: Disk mirror/dm1 attached to ds0. > I would interpret this as follows: gstripe takes dm0 and dm1 into its ds0... When it sniffed at dm0c it saw, that it has the same meta data as dm0, which results in error number (errno) 17 (EEXISTS /usr/include/errno.h)... Resolution: You should delete the fdisk meta data in the beginning (first 63 sectors) of each disk for "cosmetic" reasons, because: 1. It is not used... 2. It creates unnecessary warnings... :) -Arne ____________________________________________________________________________________ Be a better Globetrotter. Get better travel answers from someone who knows. Yahoo! Answers - Check it out. http://answers.yahoo.com/dir/?link=list&sid=396545469 From owner-freebsd-geom@FreeBSD.ORG Sat Jul 21 13:24:57 2007 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 BCDE216A417 for ; Sat, 21 Jul 2007 13:24:57 +0000 (UTC) (envelope-from tony@crosswinds.net) Received: from out-mx1.crosswinds.net (out-mx1.crosswinds.net [216.18.117.38]) by mx1.freebsd.org (Postfix) with ESMTP id 97BE613C45D for ; Sat, 21 Jul 2007 13:24:57 +0000 (UTC) (envelope-from tony@crosswinds.net) Received: from admin.crosswinds.net (out-mx1.crosswinds.net [216.18.117.38]) by out-mx1.crosswinds.net (Postfix) with ESMTP id 2407E2C485; Sat, 21 Jul 2007 09:25:19 -0400 (EDT) Received: by admin.crosswinds.net (Postfix, from userid 1001) id 0F59E403D; Sat, 21 Jul 2007 09:25:19 -0400 (EDT) Date: Sat, 21 Jul 2007 09:25:19 -0400 From: Tony Holmes To: Arne =?iso-8859-1?Q?W=F6rner?= Message-ID: <20070721132519.GA49264@crosswinds.net> References: <20070721121240.GA45291@crosswinds.net> <990910.43461.qm@web30309.mail.mud.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <990910.43461.qm@web30309.mail.mud.yahoo.com> User-Agent: Mutt/1.4.2.1i Cc: freebsd-geom@freebsd.org Subject: Re: Geom striped mirrors questions 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: Sat, 21 Jul 2007 13:24:57 -0000 > --- Tony Holmes wrote: > > I am trying to set up a RAID 10 data array using 12 identical 33gb scsi > > disks. 2 are being kept for spares > > > > First I set up a single slice on each disk using: > > > > fdisk -I -1 /dev/da{0,1,2,3,4,5,6,7,8,9,10,11,12,13} > > > What is this good for? > > > Jul 21 08:06:57 db kernel: GEOM_STRIPE: Disk mirror/dm0 attached to ds0. > > Jul 21 08:06:57 db kernel: GEOM_STRIPE: Cannot add disk mirror/dm0c to ds0 > > (error=17). > > Jul 21 08:06:57 db kernel: GEOM_STRIPE: Disk mirror/dm1 attached to ds0. > > > I would interpret this as follows: > gstripe takes dm0 and dm1 into its ds0... > When it sniffed at dm0c it saw, that it has the same meta data as dm0, which > results in error number (errno) 17 (EEXISTS /usr/include/errno.h)... > > Resolution: > You should delete the fdisk meta data in the beginning (first 63 sectors) of > each disk for "cosmetic" reasons, because: > 1. It is not used... > 2. It creates unnecessary warnings... Ahhh, that was the basis of my confusion. I will try that! Thanks for the super fast response :) -- Tony Holmes Ph: (416) 993-1219 Founder and Senior Systems Architect Crosswinds Internet Communications Inc.