From owner-freebsd-geom@FreeBSD.ORG Sun Jun 29 20:49:01 2008 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 09F9D1065676 for ; Sun, 29 Jun 2008 20:49:01 +0000 (UTC) (envelope-from gcubfg-freebsd-geom@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id B26C48FC14 for ; Sun, 29 Jun 2008 20:49:00 +0000 (UTC) (envelope-from gcubfg-freebsd-geom@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1KD3pR-0004Eu-Ij for freebsd-geom@freebsd.org; Sun, 29 Jun 2008 20:48:57 +0000 Received: from 78-1-109-153.adsl.net.t-com.hr ([78.1.109.153]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 29 Jun 2008 20:48:57 +0000 Received: from ivoras by 78-1-109-153.adsl.net.t-com.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 29 Jun 2008 20:48:57 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-geom@freebsd.org From: Ivan Voras Date: Sun, 29 Jun 2008 22:48:49 +0200 Lines: 33 Message-ID: References: <0A8C1986-1DC1-4445-9111-0DEDBBCC6847@hmallett.co.uk> <20080622233638.4hclgmsw8408s4cg@www.hmallett.co.uk> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig01CA1534047E0389E768C503" X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 78-1-109-153.adsl.net.t-com.hr User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) In-Reply-To: <20080622233638.4hclgmsw8408s4cg@www.hmallett.co.uk> X-Enigmail-Version: 0.95.6 Sender: news Subject: Re: Filesystem replication geom proposal 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, 29 Jun 2008 20:49:01 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig01CA1534047E0389E768C503 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable hywel@hmallett.co.uk wrote: > I certainly agree that there's no point in reinventing the wheel,=20 > however I don't see how gmirror, without major changes, can work in a=20 > way that can cope with a disconnected network and maintain data=20 > consistency when the network is reconnected. Yes, gmirror would have to grow support for "smart" resilvering,=20 probably by having a bitmap of changed blocks maintained on the working=20 drive(s) so it can only update the changed data instead of whole drives=20 (which would happen now if ggated would support automatic reconnects). --------------enig01CA1534047E0389E768C503 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIZ/UyldnAQVacBcgRAkzqAKC9UwGc941/6vhe9wMA33+Yl6xN5gCgqTkn iS+T2tuH9mxHIADflRONkdY= =MCtC -----END PGP SIGNATURE----- --------------enig01CA1534047E0389E768C503-- From owner-freebsd-geom@FreeBSD.ORG Mon Jun 30 11:06:57 2008 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 3329710656FE for ; Mon, 30 Jun 2008 11:06:57 +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 206708FC1B for ; Mon, 30 Jun 2008 11:06:57 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m5UB6vVm095745 for ; Mon, 30 Jun 2008 11:06:57 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m5UB6ui8095741 for freebsd-geom@FreeBSD.org; Mon, 30 Jun 2008 11:06:56 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 30 Jun 2008 11:06:56 GMT Message-Id: <200806301106.m5UB6ui8095741@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, 30 Jun 2008 11:06:57 -0000 Current FreeBSD problem reports Critical problems Serious problems S Tracker Resp. Description -------------------------------------------------------------------------------- s kern/73177 geom kldload geom_* causes panic due to memory exhaustion 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 s kern/89102 geom [geom] [panic] panic when forced unmount FS from unplu o kern/89546 geom [geom] GEOM error a kern/89660 geom [vinum] [patch] [panic] due to g_malloc returning null o bin/90093 geom fdisk(8) incapable of altering in-core geometry o kern/90582 geom [geom] [panic] Restore cause panic string (ffs_blkfree 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 kern/113957 geom [gmirror] gmirror is intermittently reporting a degrad o kern/120021 geom net-p2p/qbittorrent crashes system when it works thoug o kern/120231 geom [geom] GEOM_CONCAT error adding second drive o kern/121364 geom [gmirror] Removing all providers create a "zombie" mir o kern/122067 geom [panic]: Geom crashed during boot f kern/122415 geom [geom] UFS labels are being constantly created and rem o kern/123122 geom GEOM / gjournal kernel lock o kern/123962 geom [panic] gjournal(8): gjournal (455Gb data, 8Gb journal o kern/124130 geom [gmirror][usb] gmirror fails to start usb devices that o kern/124294 geom [geom] gmirror(8) have inappropriate logic when workin o kern/124969 geom gvinum(8): gvinum raid5 plex does not detect missing s 22 problems total. Non-critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- o bin/78131 geom gbde(8) "destroy" not working. o kern/79035 geom [vinum] gvinum unable to create a striped set of mirro 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 o kern/107707 geom [geom] [patch] [request] add new class geom_xbox360 to p bin/110705 geom gmirror(8) control utility does not exit with correct o kern/113837 geom [geom] unable to access 1024 sector size storage o kern/113885 geom [gmirror] [patch] improved gmirror balance algorithm o kern/114532 geom [geom] GEOM_MIRROR shows up in kldstat even if compile f kern/115547 geom [geom] [patch] [request] let GEOM Eli get password fro o kern/119743 geom [geom] geom label for cds is keeped after dismount and o kern/120044 geom [msdosfs] [geom] incorrect MSDOSFS label fries adminis o kern/121559 geom [patch] [geom] geom label class allows to create inacc o kern/123630 geom [patch] [gmirror] gmirror doesnt allow the original dr o misc/124434 geom [UPDATING] [patch]: Missing UPDATING entry for geom mi o kern/124973 geom [gjournal] [patch] boot order affects geom_journal con 16 problems total. From owner-freebsd-geom@FreeBSD.ORG Mon Jun 30 22:23:30 2008 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 C42DD1065673 for ; Mon, 30 Jun 2008 22:23:30 +0000 (UTC) (envelope-from hywel@hmallett.co.uk) Received: from lisbon.directrouter.com (lisbon.directrouter.com [72.249.30.130]) by mx1.freebsd.org (Postfix) with ESMTP id 9DFD58FC16 for ; Mon, 30 Jun 2008 22:23:30 +0000 (UTC) (envelope-from hywel@hmallett.co.uk) Received: from hmallett.plus.com ([81.174.158.104] helo=[192.168.0.66]) by lisbon.directrouter.com with esmtpa (Exim 4.69) (envelope-from ) id 1KDRmQ-0001Ni-46; Mon, 30 Jun 2008 17:23:26 -0500 Message-Id: <27A404FA-FDEE-4A8E-A16D-DCBC9E41AED0@hmallett.co.uk> From: Hywel Mallett To: Ivan Voras In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v924) Date: Mon, 30 Jun 2008 23:23:24 +0100 References: <0A8C1986-1DC1-4445-9111-0DEDBBCC6847@hmallett.co.uk> <20080622233638.4hclgmsw8408s4cg@www.hmallett.co.uk> X-Mailer: Apple Mail (2.924) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - lisbon.directrouter.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - hmallett.co.uk X-Source: X-Source-Args: X-Source-Dir: Cc: freebsd-geom@freebsd.org Subject: Re: Filesystem replication geom proposal 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, 30 Jun 2008 22:23:30 -0000 On 29 Jun 2008, at 21:48, Ivan Voras wrote: > > Yes, gmirror would have to grow support for "smart" resilvering, > probably by having a bitmap of changed blocks maintained on the > working drive(s) so it can only update the changed data instead of > whole drives (which would happen now if ggated would support > automatic reconnects). > The problem with that simplistic approach is that because write-order fidelity is not maintained, during the resynchronisation the slave/ secondary is inconsistent. From owner-freebsd-geom@FreeBSD.ORG Thu Jul 3 06:47:39 2008 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 562011065677 for ; Thu, 3 Jul 2008 06:47:39 +0000 (UTC) (envelope-from tataz@tataz.chchile.org) Received: from postfix1-g20.free.fr (postfix1-g20.free.fr [212.27.60.42]) by mx1.freebsd.org (Postfix) with ESMTP id 12E558FC19 for ; Thu, 3 Jul 2008 06:47:38 +0000 (UTC) (envelope-from tataz@tataz.chchile.org) Received: from smtp5-g19.free.fr (smtp5-g19.free.fr [212.27.42.35]) by postfix1-g20.free.fr (Postfix) with ESMTP id B94DC27EFDFD for ; Thu, 3 Jul 2008 08:14:19 +0200 (CEST) Received: from smtp5-g19.free.fr (localhost.localdomain [127.0.0.1]) by smtp5-g19.free.fr (Postfix) with ESMTP id 8E1583F626B; Thu, 3 Jul 2008 08:14:17 +0200 (CEST) Received: from tatooine.tataz.chchile.org (tataz.chchile.org [82.233.239.98]) by smtp5-g19.free.fr (Postfix) with ESMTP id 5D4113F6243; Thu, 3 Jul 2008 08:14:17 +0200 (CEST) Received: from obiwan.tataz.chchile.org (unknown [192.168.1.25]) by tatooine.tataz.chchile.org (Postfix) with ESMTP id B37AA9B497; Thu, 3 Jul 2008 06:09:29 +0000 (UTC) Received: by obiwan.tataz.chchile.org (Postfix, from userid 1000) id 9EFD84089; Thu, 3 Jul 2008 08:09:29 +0200 (CEST) Date: Thu, 3 Jul 2008 08:09:29 +0200 From: Jeremie Le Hen To: Andrea Brancatelli Message-ID: <20080703060929.GA79324@obiwan.tataz.chchile.org> References: <722jk9fo.1214219192.4360070.andrea@ragedrecords.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.15 (2007-04-06) Cc: "freebsd-geom@freebsd.org" Subject: Re: GMirror problem updating from FreeBSD 6.2 to 7.0 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, 03 Jul 2008 06:47:39 -0000 Hi Andrea, On Mon, Jun 23, 2008 at 12:08:59PM +0100, Andrea Brancatelli wrote: > On 6/23/2008, "Andrea Brancatelli" wrote: > > [.....] > > >What should I do? Maybe write a new bsdlabel and hope it matches the > >previous one (it should as I think) > > Should I try to restart the old 6.2 installation and see if it can see > the mirror? > > Maybe I should try to mount the partition directly bypassing the mirror? > > Thank you very much for your help, the situation's pretty much > critical... You can use "gmirror clear " to remove the metadata, so it won't be tasted as a gmirror component anymore. Don't forget to "stop" the mirror first. Regards, -- Jeremie Le Hen < jeremie at le-hen dot org >< ttz at chchile dot org >