From owner-freebsd-geom@FreeBSD.ORG Mon May 5 01:56:27 2008 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 43B091065674; Mon, 5 May 2008 01:56:27 +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 0DF038FC13; Mon, 5 May 2008 01:56:27 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m451uQht099719; Mon, 5 May 2008 01:56:26 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m451uQGK099715; Mon, 5 May 2008 01:56:26 GMT (envelope-from linimon) Date: Mon, 5 May 2008 01:56:26 GMT Message-Id: <200805050156.m451uQGK099715@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-amd64@FreeBSD.org, freebsd-geom@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: kern/89546: [geom] GEOM error 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, 05 May 2008 01:56:27 -0000 Synopsis: [geom] GEOM error Responsible-Changed-From-To: freebsd-amd64->freebsd-geom Responsible-Changed-By: linimon Responsible-Changed-When: Mon May 5 01:56:00 UTC 2008 Responsible-Changed-Why: Reclassify. http://www.freebsd.org/cgi/query-pr.cgi?pr=89546 From owner-freebsd-geom@FreeBSD.ORG Mon May 5 11:07:05 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 17DDD106566B for ; Mon, 5 May 2008 11:07:05 +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 028988FC2C for ; Mon, 5 May 2008 11:07:05 +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 m45B742d070697 for ; Mon, 5 May 2008 11:07:04 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m45B74M0070693 for freebsd-geom@FreeBSD.org; Mon, 5 May 2008 11:07:04 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 5 May 2008 11:07:04 GMT Message-Id: <200805051107.m45B74M0070693@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, 05 May 2008 11:07:05 -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 s kern/89102 geom [geom] [panic] panic when forced unmount FS from unplu o kern/89546 geom [geom] GEOM error 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/115572 geom [gbde] [patch] gbde partitions fail at 28bit/48bit LBA o kern/120021 geom net-p2p/qbittorrent crashes system when it works thoug o kern/120231 geom [geom] GEOM_CONCAT error adding second drive f 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 20 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 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 o 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 f kern/121907 geom [request] [geom] geom output to console obscures other 13 problems total. From owner-freebsd-geom@FreeBSD.ORG Fri May 9 17:04:59 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 59C57106567D for ; Fri, 9 May 2008 17:04:59 +0000 (UTC) (envelope-from news@nermal.rz1.convenimus.net) Received: from dd17730.kasserver.com (dd17730.kasserver.com [85.13.138.103]) by mx1.freebsd.org (Postfix) with ESMTP id 196438FC12 for ; Fri, 9 May 2008 17:04:59 +0000 (UTC) (envelope-from news@nermal.rz1.convenimus.net) Received: from nermal.rz1.convenimus.net (sub87-230-112-207.he-dsl.de [87.230.112.207]) by dd17730.kasserver.com (Postfix) with ESMTP id 916A21802C034 for ; Fri, 9 May 2008 18:54:09 +0200 (CEST) Received: by nermal.rz1.convenimus.net (Postfix, from userid 8) id 697E015254; Fri, 9 May 2008 18:29:21 +0200 (CEST) To: freebsd-geom@freebsd.org Path: not-for-mail From: Christian Baer Newsgroups: gmane.os.freebsd.devel.geom Date: Fri, 9 May 2008 18:29:21 +0200 (CEST) Organization: Convenimus Projekt Lines: 29 Message-ID: NNTP-Posting-Host: sunny.rz1.convenimus.net X-Trace: nermal.rz1.convenimus.net 1210350561 93203 192.168.100.5 (9 May 2008 16:29:21 GMT) X-Complaints-To: abuse@convenimus.net NNTP-Posting-Date: Fri, 9 May 2008 16:29:21 +0000 (UTC) User-Agent: slrn/0.9.8.1 (FreeBSD/6.3-STABLE (sparc64)) Subject: Keeping gmirror and geli after a reinstall 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, 09 May 2008 17:04:59 -0000 Hello folks! I have really done it! I managed to absolutely screw up the FreeBSD installation on my Sun. That happens if you don't watch what you are doing and install stuff via the ports *without* portupgrade. Now several apps won't start anymore and give really strange errors when they try. :-) That makes a real mess of your system. :-) Thankfully, mutt and slrn are not among these apllications. Ok, this is FreeBSD not Windows, so it would probably be possible to fix the installtion. However, it would probably be less work to reinstall the whole thing (first I have to *find* the stuff causing the problems) and besides, this is a good excuse to upgrade to 7.0. :-) Now, to the actual question... This machine has 2 gmirrors and both are encrypted with geli. Setting these up and blanking them is a real pain, so I was wondering if I could just leave them as they are and keep using them after the reinstall. The partitions on the drives will not need to be changed, so there is no reason to clear them. Needless to say, I *will* be making a backup of the data on the mirror before I start with this. However, if I know in advance that this will not work (for example because geli and/or gmirror changed too much since 6.3), I won't bother trying to reuse them but will just recreate them as well. Has anyone tried this before? Regards, Chris From owner-freebsd-geom@FreeBSD.ORG Fri May 9 22:42:36 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 BD211106564A for ; Fri, 9 May 2008 22:42:36 +0000 (UTC) (envelope-from bsd@fluffles.net) Received: from mail.fluffles.net (fluffles.net [80.69.95.190]) by mx1.freebsd.org (Postfix) with ESMTP id 83D768FC14 for ; Fri, 9 May 2008 22:42:36 +0000 (UTC) (envelope-from bsd@fluffles.net) Received: from [10.0.0.25] (cust.95.160.adsl.cistron.nl [195.64.95.160]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: info@fluffles.net) by mail.fluffles.net (Postfix) with ESMTP id 30970B29D69; Sat, 10 May 2008 00:24:02 +0200 (CEST) Message-ID: <4824CF57.5030404@fluffles.net> Date: Sat, 10 May 2008 00:25:27 +0200 From: "fluffles.net" User-Agent: Thunderbird 2.0.0.14 (X11/20080505) MIME-Version: 1.0 To: Christian Baer References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Cc: freebsd-geom@freebsd.org Subject: Re: Keeping gmirror and geli after a reinstall 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, 09 May 2008 22:42:36 -0000 Christian Baer wrote: > Now, to the actual question... > This machine has 2 gmirrors and both are encrypted with geli. Setting > these up and blanking them is a real pain, so I was wondering if I could > just leave them as they are and keep using them after the reinstall. The > partitions on the drives will not need to be changed, so there is no > reason to clear them. > Yes, you can just use your existing software arrays and geom providers under 7.0. Since the configuration of geom modules is stored on the disks themselves (the last sector of the consumer). Simply install FreeBSD on a medium, load gmirror and you should have devices in your /dev/mirror/ tree. geli should work with geli attach . FreeBSD 7 should have no problem detecting the arrays you made with FreeBSD 6.x. As long as you seperated your data from your operating system, there is no problem. If FreeBSD is (partly) installed on a gstripe,graid3 or graid5 array, with or without geli encryption, it becomes a different story. Note that it is not possible to boot from such a device. I'm using this kind of configuration with a small flash device which contains / and /boot, and the /usr, /var, /tmp and storage devices on a geom_raid5 provider with GELI encryption. Without geom_journal, crashes could easily cause your box to boot in single user mode, which is quite a pain if you rely on the machine. That is why i'm using geom_journal now. > Has anyone tried this before? > Many times. =) Fine regards, Veronica Fluffles.net