From owner-freebsd-geom@FreeBSD.ORG Sun Dec 18 04:17:23 2005 Return-Path: X-Original-To: freebsd-geom@hub.freebsd.org Delivered-To: freebsd-geom@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E008A16A420; Sun, 18 Dec 2005 04:17:23 +0000 (GMT) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9968343D4C; Sun, 18 Dec 2005 04:17:23 +0000 (GMT) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id jBI4HNVS004887; Sun, 18 Dec 2005 04:17:23 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id jBI4HNlP004883; Sun, 18 Dec 2005 04:17:23 GMT (envelope-from linimon) Date: Sun, 18 Dec 2005 04:17:23 GMT From: Mark Linimon Message-Id: <200512180417.jBI4HNlP004883@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-geom@FreeBSD.org Cc: Subject: Re: kern/90582: [geom_mirror] Restore cause panic string (ffs_blkfree) 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, 18 Dec 2005 04:17:24 -0000 Synopsis: [geom_mirror] Restore cause panic string (ffs_blkfree) Responsible-Changed-From-To: freebsd-bugs->freebsd-geom Responsible-Changed-By: linimon Responsible-Changed-When: Sun Dec 18 04:17:10 UTC 2005 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=90582 From owner-freebsd-geom@FreeBSD.ORG Sun Dec 18 17:06:27 2005 Return-Path: X-Original-To: freebsd-geom@FreeBSD.org Delivered-To: freebsd-geom@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 00E1616A41F for ; Sun, 18 Dec 2005 17:06:27 +0000 (GMT) (envelope-from marius.nuennerich@gmx.net) Received: from mail.gmx.net (mail.gmx.de [213.165.64.21]) by mx1.FreeBSD.org (Postfix) with SMTP id 31FB043D5E for ; Sun, 18 Dec 2005 17:06:25 +0000 (GMT) (envelope-from marius.nuennerich@gmx.net) Received: (qmail invoked by alias); 18 Dec 2005 17:06:24 -0000 Received: from p5083889C.dip0.t-ipconnect.de (EHLO sol) [80.131.136.156] by mail.gmx.net (mp015) with SMTP; 18 Dec 2005 18:06:24 +0100 X-Authenticated: #5707313 Date: Sun, 18 Dec 2005 18:06:18 +0100 From: Marius Nuennerich To: freebsd-geom@FreeBSD.org Message-ID: <20051218180618.3a637567@sol> X-Mailer: Sylpheed-Claws 1.9.100 (GTK+ 2.8.9; i386-portbld-freebsd5.4) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Cc: Subject: gvinum raid5 degraded with Promise PDC20375 up with Sil 3114 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, 18 Dec 2005 17:06:27 -0000 Hi all, I have set up a RAID5 with gvinum on 6-STABLE as of 2005-12-15 with a Sil 3114 on PCI and a VIA 6420 onboard. It seems to work so far. However, when I replace the Sil 3114 with a Promise PDC20375 (TX2 Plus) it says on boot: GEOM_VINUM: subdisk data.p0.s0 state change: down -> stale data.p0.s0 is on ad8 which is the (only) Disk attached to the Promise. # gvinum list -v | grep -A 4 data.p0.s0 Subdisk data.p0.s0: Size: 250058616832 bytes (238474 MB) State: stale Plex data.p0 at offset 0 (0 B) Drive seag0 (seag0) at offset 135680 (132 kB) If I use the Sil 3114 again the RAID is up again. Any idea what is wrong and what to try? Thanks in advance Marius From owner-freebsd-geom@FreeBSD.ORG Mon Dec 19 00:23:03 2005 Return-Path: X-Original-To: freebsd-geom@FreeBSD.org Delivered-To: freebsd-geom@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 69CFB16A41F for ; Mon, 19 Dec 2005 00:23:03 +0000 (GMT) (envelope-from le@FreeBSD.org) Received: from imap1u.univie.ac.at (murder.univie.ac.at [131.130.1.183]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4B50F43D5A for ; Mon, 19 Dec 2005 00:23:01 +0000 (GMT) (envelope-from le@FreeBSD.org) Received: from korben (korben.prv.univie.ac.at [131.130.7.98]) by imap1u.univie.ac.at (8.12.10/8.12.10) with ESMTP id jBJ0Mq4U075674 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Mon, 19 Dec 2005 01:22:53 +0100 (CET) Date: Mon, 19 Dec 2005 01:22:51 +0100 From: Lukas Ertl To: Marius Nuennerich In-Reply-To: <20051218180618.3a637567@sol> Message-ID: References: <20051218180618.3a637567@sol> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-geom@FreeBSD.org Subject: Re: gvinum raid5 degraded with Promise PDC20375 up with Sil 3114 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, 19 Dec 2005 00:23:03 -0000 On Sun, 18 Dec 2005, Marius Nuennerich wrote: > However, when I replace the Sil 3114 with a Promise PDC20375 (TX2 Plus) > it says on boot: > GEOM_VINUM: subdisk data.p0.s0 state change: down -> stale If you do "start data.p0", it should be synchronizing. I'm not sure though why it comes up as stale. regards, le -- Lukas Ertl http://homepage.univie.ac.at/l.ertl/ le@FreeBSD.org http://people.freebsd.org/~le/ From owner-freebsd-geom@FreeBSD.ORG Mon Dec 19 04:13:19 2005 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 585C416A41F for ; Mon, 19 Dec 2005 04:13:19 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from mh1.centtech.com (moat3.centtech.com [207.200.51.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id B26DB43D46 for ; Mon, 19 Dec 2005 04:13:18 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [192.168.42.22] (andersonbox2.centtech.com [192.168.42.22]) by mh1.centtech.com (8.13.1/8.13.1) with ESMTP id jBJ4DHsD024970 for ; Sun, 18 Dec 2005 22:13:17 -0600 (CST) (envelope-from anderson@centtech.com) Message-ID: <43A6335D.7090700@centtech.com> Date: Sun, 18 Dec 2005 22:13:17 -0600 From: Eric Anderson User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051204) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-geom@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.87.1/1212/Sun Dec 18 05:09:50 2005 on mh1.centtech.com X-Virus-Status: Clean Subject: gnop list 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, 19 Dec 2005 04:13:19 -0000 I just created a quick gnop device, like: gnop create ad0 which successfully created a /dev/ad0.nop* set of devices, without any warnings. Now, when I do a: gnop list I get this error: # gnop list Cannot get GEOM tree: Unknown error: -1. I've tried turning kern.geom.nop.debug to various settings, but it doesn't seem to output anything to dmesg, or /var/log/messages. uname: FreeBSD 7.0-CURRENT #49: Thu Dec 15 13:13:21 CST 2005 Any hints? Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology Anything that works is better than anything that doesn't. ------------------------------------------------------------------------ From owner-freebsd-geom@FreeBSD.ORG Mon Dec 19 06:06:10 2005 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EF57616A423 for ; Mon, 19 Dec 2005 06:06:10 +0000 (GMT) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.FreeBSD.org (Postfix) with ESMTP id AF94943D60 for ; Mon, 19 Dec 2005 06:06:08 +0000 (GMT) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 6196852C2C; Mon, 19 Dec 2005 07:06:06 +0100 (CET) Received: from localhost (dkp222.neoplus.adsl.tpnet.pl [83.24.19.222]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 5139250F92; Mon, 19 Dec 2005 07:06:00 +0100 (CET) Date: Mon, 19 Dec 2005 07:04:57 +0100 From: Pawel Jakub Dawidek To: Eric Anderson Message-ID: <20051219060457.GA91084@garage.freebsd.pl> References: <43A6335D.7090700@centtech.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="1yeeQ81UyVL57Vl7" Content-Disposition: inline In-Reply-To: <43A6335D.7090700@centtech.com> X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 User-Agent: mutt-ng/devel-r535 (FreeBSD) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-0.5 required=3.0 tests=BAYES_00,RCVD_IN_NJABL_DUL, RCVD_IN_SORBS_DUL autolearn=no version=3.0.4 Cc: freebsd-geom@freebsd.org Subject: Re: gnop list 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, 19 Dec 2005 06:06:11 -0000 --1yeeQ81UyVL57Vl7 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Dec 18, 2005 at 10:13:17PM -0600, Eric Anderson wrote: +> I just created a quick gnop device, like: +>=20 +> gnop create ad0 +>=20 +> which successfully created a /dev/ad0.nop* set of devices, without any w= arnings. +>=20 +> Now, when I do a: +>=20 +> gnop list +>=20 +> I get this error: +>=20 +> # gnop list +> Cannot get GEOM tree: Unknown error: -1. Grr, I didn't merge one fix from p4. Should be ok now. Thanks! --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --1yeeQ81UyVL57Vl7 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDpk2JForvXbEpPzQRArUPAKCmp1LH+nwrfYG0JmNeGDooHKZSAACfdJRr B5LdqtaZmlJd+P1GPJoyjWc= =40q2 -----END PGP SIGNATURE----- --1yeeQ81UyVL57Vl7-- From owner-freebsd-geom@FreeBSD.ORG Mon Dec 19 11:02:35 2005 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A4F2816A41F for ; Mon, 19 Dec 2005 11:02:35 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id B1BD543D91 for ; Mon, 19 Dec 2005 11:02:12 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id jBJB2BcY011173 for ; Mon, 19 Dec 2005 11:02:11 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id jBJB2AmR011167 for freebsd-geom@freebsd.org; Mon, 19 Dec 2005 11:02:10 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 19 Dec 2005 11:02:10 GMT Message-Id: <200512191102.jBJB2AmR011167@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter 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, 19 Dec 2005 11:02:35 -0000 Current FreeBSD problem reports Critical problems Serious problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2005/01/21] kern/76538 geom [gbde] nfs-write on gbde partition stalls o [2005/08/04] kern/84556 geom [geom] GBDE-encrypted swap causes panic a o [2005/10/16] kern/87544 geom [gbde] mmaping large files on a gbde file o [2005/11/16] kern/89102 geom [geom_vfs] [panic] panic when forced unmo o [2005/12/08] bin/90093 geom fdisk(8) incapable of altering in-core ge o [2005/12/18] kern/90582 geom [geom_mirror] [panic] Restore cause panic 6 problems total. Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2005/02/26] bin/78131 geom gbde "destroy" not working. o [2005/03/26] kern/79251 geom [2TB] newfs fails on 2.6TB gbde device 2 problems total. From owner-freebsd-geom@FreeBSD.ORG Mon Dec 19 22:52:02 2005 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 33AA916A41F for ; Mon, 19 Dec 2005 22:52:02 +0000 (GMT) (envelope-from freebsd@walter.transip.nl) Received: from relay1.transip.nl (relay1.transip.nl [80.69.67.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id AF64A43D66 for ; Mon, 19 Dec 2005 22:52:01 +0000 (GMT) (envelope-from freebsd@walter.transip.nl) Received: from quark.lfms.nl (quark.lfms.nl [81.171.100.4]) by relay1.transip.nl (Postfix) with ESMTP id 239EB3C0A45 for ; Mon, 19 Dec 2005 23:52:01 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by quark.lfms.nl (Postfix) with ESMTP id 75707889163 for ; Mon, 19 Dec 2005 23:51:58 +0100 (CET) Received: from epia.dt.lfms.nl (epia.tun.lfms.nl [172.20.4.1]) by quark.lfms.nl (Postfix) with ESMTP id 9A3A5889164 for ; Mon, 19 Dec 2005 23:51:49 +0100 (CET) Received: from avalon.dt.lfms.nl (avalon.dt.lfms.nl [172.19.6.1]) by epia.dt.lfms.nl (Postfix) with ESMTP id 747C050BF9 for ; Mon, 19 Dec 2005 23:51:54 +0100 (CET) Date: Mon, 19 Dec 2005 23:53:24 +0100 From: Walter Hop X-Mailer: The Bat! (v3.62.14) Professional X-Priority: 3 (Normal) Message-ID: <1926276358.20051219235324@lifeforms.nl> To: freebsd-geom@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: quark.lfms.nl (amavisd-new/ClamAV/SpamAssassin) Subject: dumpon on a gmirror system 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, 19 Dec 2005 22:52:02 -0000 Hello all, I hope this is the right mailinglist. One of our machines running gmirror has become unstable and seems to panic at times. I would like to enable crash dumps which requires dumping to a swap partition. My problem is: all the partitions are gmirror-ed, and gmirror partitions can't be used with dumpon because GEOM is already down at the time of dumping. Someone on a mailinglist had suggested to dump to one of the gmirror components directly (/dev/ad4s1b in my case). This would bring the disks out of sync, although it wouldn't be critical if dumping works exactly as planned. Nevertheless, it would be devastating if I'd ruin the mirror set. Is this practice recommended? I also don't seem to have an entry for ad4s1b in /dev, is there a way to get around this? How do people using gmirror exclusively handle the problem of saving crash dumps? Any help would be appreciated! Kind regards, Walter Hop Transip BV -- Dieses Schreiben wurde mit Hilfe einer Datenverarbeitungsanlage erstellt und bedarf daher keiner Unterschrift. From owner-freebsd-geom@FreeBSD.ORG Mon Dec 19 23:06:18 2005 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9F03416A41F for ; Mon, 19 Dec 2005 23:06:18 +0000 (GMT) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.FreeBSD.org (Postfix) with ESMTP id E7E2343D53 for ; Mon, 19 Dec 2005 23:06:17 +0000 (GMT) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 3BE4A52B3E; Tue, 20 Dec 2005 00:06:16 +0100 (CET) Received: from localhost (dls108.neoplus.adsl.tpnet.pl [83.24.48.108]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 1994F50F93; Tue, 20 Dec 2005 00:06:10 +0100 (CET) Date: Tue, 20 Dec 2005 00:05:06 +0100 From: Pawel Jakub Dawidek To: Walter Hop Message-ID: <20051219230506.GF91822@garage.freebsd.pl> References: <1926276358.20051219235324@lifeforms.nl> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="/QKKmeG/X/bPShih" Content-Disposition: inline In-Reply-To: <1926276358.20051219235324@lifeforms.nl> X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 User-Agent: mutt-ng/devel-r535 (FreeBSD) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-0.5 required=3.0 tests=BAYES_00,RCVD_IN_NJABL_DUL, RCVD_IN_SORBS_DUL autolearn=no version=3.0.4 Cc: freebsd-geom@freebsd.org Subject: Re: dumpon on a gmirror system 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, 19 Dec 2005 23:06:18 -0000 --/QKKmeG/X/bPShih Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Dec 19, 2005 at 11:53:24PM +0100, Walter Hop wrote: +> Hello all, +>=20 +> I hope this is the right mailinglist. +>=20 +> One of our machines running gmirror has become unstable and seems to +> panic at times. I would like to enable crash dumps which requires +> dumping to a swap partition. My problem is: all the partitions are +> gmirror-ed, and gmirror partitions can't be used with dumpon because +> GEOM is already down at the time of dumping. +>=20 +> Someone on a mailinglist had suggested to dump to one of the gmirror +> components directly (/dev/ad4s1b in my case). This would bring the +> disks out of sync, although it wouldn't be critical if dumping works +> exactly as planned. Nevertheless, it would be devastating if I'd ruin +> the mirror set. Is this practice recommended? +>=20 +> I also don't seem to have an entry for ad4s1b in /dev, is there a way +> to get around this? Are you sure you mirror partitions and not slices nor whole disks? Output of 'gmirror list' will be helpful. +> How do people using gmirror exclusively handle the problem of saving +> crash dumps? I, for one, prefer ddb(4), which is enough for me. Other probably have stable systems and don't need dumps at all:) --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --/QKKmeG/X/bPShih Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDpzyiForvXbEpPzQRAp0IAJ9jrkK+cBe8+ofvKUbEOrIBwbfMZgCeJaPL 7qYQWWUo2cCxeIWIlj2dQNQ= =VgZb -----END PGP SIGNATURE----- --/QKKmeG/X/bPShih-- From owner-freebsd-geom@FreeBSD.ORG Mon Dec 19 23:18:20 2005 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2764816A420; Mon, 19 Dec 2005 23:18:20 +0000 (GMT) (envelope-from freebsd@walter.transip.nl) Received: from relay0.transip.nl (relay0.transip.nl [80.69.67.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 020F843D62; Mon, 19 Dec 2005 23:18:18 +0000 (GMT) (envelope-from freebsd@walter.transip.nl) Received: from quark.lfms.nl (quark.lfms.nl [81.171.100.4]) by relay0.transip.nl (Postfix) with ESMTP id 0D61223F472; Tue, 20 Dec 2005 00:18:08 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by quark.lfms.nl (Postfix) with ESMTP id 59D0F889163; Tue, 20 Dec 2005 00:18:11 +0100 (CET) Received: from epia.dt.lfms.nl (epia.tun.lfms.nl [172.20.4.1]) by quark.lfms.nl (Postfix) with ESMTP id 788E488900C; Tue, 20 Dec 2005 00:18:07 +0100 (CET) Received: from avalon.dt.lfms.nl (avalon.dt.lfms.nl [172.19.6.1]) by epia.dt.lfms.nl (Postfix) with ESMTP id 66DAF50BF9; Tue, 20 Dec 2005 00:18:12 +0100 (CET) Date: Tue, 20 Dec 2005 00:19:44 +0100 From: Walter Hop X-Mailer: The Bat! (v3.62.14) Professional X-Priority: 3 (Normal) Message-ID: <11510009518.20051220001944@lifeforms.nl> To: Pawel Jakub Dawidek In-Reply-To: <20051219230506.GF91822@garage.freebsd.pl> References: <1926276358.20051219235324@lifeforms.nl> <20051219230506.GF91822@garage.freebsd.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: quark.lfms.nl (amavisd-new/ClamAV/SpamAssassin) Cc: freebsd-geom@freebsd.org Subject: Re[2]: dumpon on a gmirror system 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, 19 Dec 2005 23:18:20 -0000 [in reply to pjd@FreeBSD.org, 20-12-2005] Hi Pawel, thanks for the reply! > Are you sure you mirror partitions and not slices nor whole disks? > Output of 'gmirror list' will be helpful. I am mirroring the whole drive. This is how it is setup: virt1:~# gmirror list Geom name: gm0 State: COMPLETE Components: 2 Balance: round-robin Slice: 4096 Flags: NONE GenID: 0 SyncID: 1 ID: 2245734875 Providers: 1. Name: mirror/gm0 Mediasize: 203928108544 (190G) Sectorsize: 512 Mode: r5w5e2 Consumers: 1. Name: ad4 Mediasize: 203928109056 (190G) Sectorsize: 512 Mode: r1w1e1 State: ACTIVE Priority: 0 Flags: DIRTY GenID: 0 SyncID: 1 ID: 3315293457 2. Name: ad6 Mediasize: 203928109056 (190G) Sectorsize: 512 Mode: r1w1e1 State: ACTIVE Priority: 0 Flags: DIRTY GenID: 0 SyncID: 1 ID: 3493568637 virt1:~# df Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/mirror/gm0s1a 253678 104876 128508 45% / devfs 1 1 0 100% /dev /dev/mirror/gm0s1d 1012974 95224 836714 10% /var /dev/mirror/gm0s1e 253678 40 233344 0% /tmp /dev/mirror/gm0s1f 187309866 33001524 139323554 19% /usr procfs 4 4 0 100% /proc devfs 1 1 0 100% /usr/opt/httpd/dev devfs 1 1 0 100% /usr/opt/named/dev >> How do people using gmirror exclusively handle the problem of saving >> crash dumps? > > I, for one, prefer ddb(4), which is enough for me. Well, this machine is colocated, so having the machine trap to the debugger and calling a non-trained datacenter engineer to read up the output isn't very tempting :) Maybe I can hook something up serially, but it would be much better if we could just get a dump so the machine can resume its tasks quickly. > Other probably have stable systems and don't need dumps at all:) That would be nice :) I'm not even sure that it is a panic, but the problem remains despite hardware replacement so I guess something fishy is going on... Cheers, Walter Hop Transip BV -- Blaat het niet, dan schaapt het niet. From owner-freebsd-geom@FreeBSD.ORG Mon Dec 19 23:32:51 2005 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0731916A41F for ; Mon, 19 Dec 2005 23:32:51 +0000 (GMT) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.FreeBSD.org (Postfix) with ESMTP id C932743D5D for ; Mon, 19 Dec 2005 23:32:49 +0000 (GMT) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 833A252B3E; Tue, 20 Dec 2005 00:32:47 +0100 (CET) Received: from localhost (dls108.neoplus.adsl.tpnet.pl [83.24.48.108]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 93D2950F93; Tue, 20 Dec 2005 00:32:39 +0100 (CET) Date: Tue, 20 Dec 2005 00:31:33 +0100 From: Pawel Jakub Dawidek To: Walter Hop Message-ID: <20051219233133.GG91822@garage.freebsd.pl> References: <1926276358.20051219235324@lifeforms.nl> <20051219230506.GF91822@garage.freebsd.pl> <11510009518.20051220001944@lifeforms.nl> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="/Zw+/jwnNHcBRYYu" Content-Disposition: inline In-Reply-To: <11510009518.20051220001944@lifeforms.nl> X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 User-Agent: mutt-ng/devel-r535 (FreeBSD) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-0.5 required=3.0 tests=BAYES_00,RCVD_IN_NJABL_DUL, RCVD_IN_SORBS_DUL autolearn=no version=3.0.4 Cc: freebsd-geom@freebsd.org Subject: Re: dumpon on a gmirror system 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, 19 Dec 2005 23:32:51 -0000 --/Zw+/jwnNHcBRYYu Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Dec 20, 2005 at 12:19:44AM +0100, Walter Hop wrote: +> [in reply to pjd@FreeBSD.org, 20-12-2005] +>=20 +> Hi Pawel, +>=20 +> thanks for the reply! +>=20 +> > Are you sure you mirror partitions and not slices nor whole disks? +> > Output of 'gmirror list' will be helpful. +>=20 +> I am mirroring the whole drive. Ok, so I'm afraid you cannot disconnect single partition from it. This is one of the reasons I prefer mirroring every partition separetly. Actually changing configuration from whole-disk-mirror to per-partition-mirrors is possible even remotly, but it's quite risky, so I won't recommend it... Not sure what else can I suggest. If those panics are reproducable, you can risk removing one disk from the mirror and setting dump partition on its 'b' partition, but I'm guessing it is not the answer you were looking for. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --/Zw+/jwnNHcBRYYu Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDp0LVForvXbEpPzQRAtrRAJ4n3hYTwFurL8gveuKzzYQvp60vTwCfRXnW tX7L1f/KF0JSdrczZLmCdnM= =hlgb -----END PGP SIGNATURE----- --/Zw+/jwnNHcBRYYu-- From owner-freebsd-geom@FreeBSD.ORG Tue Dec 20 00:04:59 2005 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 49B4516A41F for ; Tue, 20 Dec 2005 00:04:59 +0000 (GMT) (envelope-from marius.nuennerich@gmx.net) Received: from mail.gmx.net (mail.gmx.de [213.165.64.21]) by mx1.FreeBSD.org (Postfix) with SMTP id 54E4E43D5A for ; Tue, 20 Dec 2005 00:04:57 +0000 (GMT) (envelope-from marius.nuennerich@gmx.net) Received: (qmail invoked by alias); 20 Dec 2005 00:04:56 -0000 Received: from p5083B162.dip0.t-ipconnect.de (EHLO sol) [80.131.177.98] by mail.gmx.net (mp001) with SMTP; 20 Dec 2005 01:04:56 +0100 X-Authenticated: #5707313 Date: Tue, 20 Dec 2005 01:04:55 +0100 From: Marius Nuennerich To: freebsd-geom@freebsd.org Message-ID: <20051220010455.60e0509c@sol> In-Reply-To: References: <20051218180618.3a637567@sol> X-Mailer: Sylpheed-Claws 1.9.100 (GTK+ 2.8.9; i386-portbld-freebsd5.4) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Subject: Re: gvinum raid5 degraded with Promise PDC20375 up with Sil 3114 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: Tue, 20 Dec 2005 00:04:59 -0000 On Mon, 19 Dec 2005 01:22:51 +0100 Lukas Ertl wrote: > On Sun, 18 Dec 2005, Marius Nuennerich wrote: > > > However, when I replace the Sil 3114 with a Promise PDC20375 (TX2 Plus) > > it says on boot: > > GEOM_VINUM: subdisk data.p0.s0 state change: down -> stale > > If you do "start data.p0", it should be synchronizing. I'm not sure > though why it comes up as stale. Yes, that worked, thanks :) regards Marius From owner-freebsd-geom@FreeBSD.ORG Tue Dec 20 13:49:22 2005 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AA7B116A41F for ; Tue, 20 Dec 2005 13:49:22 +0000 (GMT) (envelope-from cochard@gmail.com) Received: from nproxy.gmail.com (nproxy.gmail.com [64.233.182.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5F34E43D55 for ; Tue, 20 Dec 2005 13:49:19 +0000 (GMT) (envelope-from cochard@gmail.com) Received: by nproxy.gmail.com with SMTP id x37so429413nfc for ; Tue, 20 Dec 2005 05:49:17 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=RykhN8+cYM8b5CLhC9XK5a0xzs5/OB3ms1d9AYlaj2IP0hMBgEkSXahrHRp2oAq3LJmtKTT4fun2OyqnR2QSNzZVsOlPMq+THJACGK5Ptc2TWXoiz8u+F2BrlsL78jTWBH7/zqMv5TgIgoOvkugdeHAzlYbQhlOZt9B8Pk3eRgE= Received: by 10.48.162.7 with SMTP id k7mr313252nfe; Tue, 20 Dec 2005 05:49:17 -0800 (PST) Received: by 10.48.48.13 with HTTP; Tue, 20 Dec 2005 05:49:17 -0800 (PST) Message-ID: <3131aa530512200549p6a74d00r@mail.gmail.com> Date: Tue, 20 Dec 2005 14:49:17 +0100 From: Olivier Cochard To: freebsd-geom@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: How to use gvinum without vi ? 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: Tue, 20 Dec 2005 13:49:22 -0000 Hi all, I'm creating a minimal BSD system, and I would like to use gvinum... I haven't have "vi" on this system (it's an embedded distribution), and whe= n I try to launch gvinum, I have this error message: $ gvinum create -f /etc/raid.conf /usr/bin/vi: not found gvinum: couldn't exec /usr/bin/vi; status: 32512: Unknown error: 0 Why does gvinum need vi ? Thanks, Olivier From owner-freebsd-geom@FreeBSD.ORG Tue Dec 20 14:01:06 2005 Return-Path: X-Original-To: geom@freebsd.org Delivered-To: freebsd-geom@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A168416A41F for ; Tue, 20 Dec 2005 14:01:06 +0000 (GMT) (envelope-from ivoras@fer.hr) Received: from pinus.cc.fer.hr (pinus.cc.fer.hr [161.53.73.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id 957EC43D7D for ; Tue, 20 Dec 2005 14:01:04 +0000 (GMT) (envelope-from ivoras@fer.hr) Received: from [161.53.72.113] (lara.cc.fer.hr [161.53.72.113]) by pinus.cc.fer.hr (8.12.2/8.12.2) with ESMTP id jBKE0uFx025652; Tue, 20 Dec 2005 15:00:57 +0100 (MET) Message-ID: <43A80E49.7050408@fer.hr> Date: Tue, 20 Dec 2005 14:59:37 +0100 From: Ivan Voras User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050921) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Olivier Cochard References: <3131aa530512200549p6a74d00r@mail.gmail.com> In-Reply-To: <3131aa530512200549p6a74d00r@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: geom@freebsd.org Subject: Re: How to use gvinum without vi ? 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: Tue, 20 Dec 2005 14:01:06 -0000 Olivier Cochard wrote: > $ gvinum create -f /etc/raid.conf > /usr/bin/vi: not found > gvinum: couldn't exec /usr/bin/vi; status: 32512: Unknown error: 0 > > Why does gvinum need vi ? Did you try changing the EDITOR environment variable to some other editor? From owner-freebsd-geom@FreeBSD.ORG Tue Dec 20 14:07:00 2005 Return-Path: X-Original-To: freebsd-geom@FreeBSD.org Delivered-To: freebsd-geom@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 98A1E16A41F for ; Tue, 20 Dec 2005 14:07:00 +0000 (GMT) (envelope-from le@FreeBSD.org) Received: from imap1u.univie.ac.at (murder1.univie.ac.at [131.130.1.183]) by mx1.FreeBSD.org (Postfix) with ESMTP id F1F0243D4C for ; Tue, 20 Dec 2005 14:06:59 +0000 (GMT) (envelope-from le@FreeBSD.org) Received: from pcle2.cc.univie.ac.at (pcle2.cc.univie.ac.at [131.130.2.177]) by imap1u.univie.ac.at (8.12.10/8.12.10) with ESMTP id jBKE6B4U060244 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 20 Dec 2005 15:06:12 +0100 (CET) Date: Tue, 20 Dec 2005 15:06:11 +0100 (CET) From: Lukas Ertl To: Olivier Cochard In-Reply-To: <3131aa530512200549p6a74d00r@mail.gmail.com> Message-ID: <20051220150516.Q32255@pcle2.cc.univie.ac.at> References: <3131aa530512200549p6a74d00r@mail.gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-geom@FreeBSD.org Subject: Re: How to use gvinum without vi ? 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: Tue, 20 Dec 2005 14:07:00 -0000 On Tue, 20 Dec 2005, Olivier Cochard wrote: > Hi all, > I'm creating a minimal BSD system, and I would like to use gvinum... > I haven't have "vi" on this system (it's an embedded distribution), and when > I try to launch gvinum, I > have this error message: > > $ gvinum create -f /etc/raid.conf > /usr/bin/vi: not found > gvinum: couldn't exec /usr/bin/vi; status: 32512: Unknown error: 0 Don't use the "-f" parameter. regards, le -- Lukas Ertl http://homepage.univie.ac.at/l.ertl/ le@FreeBSD.org http://people.freebsd.org/~le/ From owner-freebsd-geom@FreeBSD.ORG Tue Dec 20 14:40:00 2005 Return-Path: X-Original-To: freebsd-geom@FreeBSD.org Delivered-To: freebsd-geom@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 04FDA16A422; Tue, 20 Dec 2005 14:40:00 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from mh1.centtech.com (moat3.centtech.com [207.200.51.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4195E43D8B; Tue, 20 Dec 2005 14:39:47 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [10.177.171.220] (neutrino.centtech.com [10.177.171.220]) by mh1.centtech.com (8.13.1/8.13.1) with ESMTP id jBKEdkpo054070; Tue, 20 Dec 2005 08:39:46 -0600 (CST) (envelope-from anderson@centtech.com) Message-ID: <43A817AE.4010204@centtech.com> Date: Tue, 20 Dec 2005 08:39:42 -0600 From: Eric Anderson User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051204) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Pawel Jakub Dawidek References: <43A6335D.7090700@centtech.com> <20051219060457.GA91084@garage.freebsd.pl> In-Reply-To: <20051219060457.GA91084@garage.freebsd.pl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.87.1/1213/Mon Dec 19 08:48:34 2005 on mh1.centtech.com X-Virus-Status: Clean Cc: freebsd-geom@FreeBSD.org Subject: Re: gnop list 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: Tue, 20 Dec 2005 14:40:00 -0000 Pawel Jakub Dawidek wrote: >On Sun, Dec 18, 2005 at 10:13:17PM -0600, Eric Anderson wrote: >+> I just created a quick gnop device, like: >+> >+> gnop create ad0 >+> >+> which successfully created a /dev/ad0.nop* set of devices, without any warnings. >+> >+> Now, when I do a: >+> >+> gnop list >+> >+> I get this error: >+> >+> # gnop list >+> Cannot get GEOM tree: Unknown error: -1. > >Grr, I didn't merge one fix from p4. Should be ok now. >Thanks! > > Looks great now!!! Thanks! Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology Anything that works is better than anything that doesn't. ------------------------------------------------------------------------ From owner-freebsd-geom@FreeBSD.ORG Tue Dec 20 19:48:15 2005 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 62F0516A41F for ; Tue, 20 Dec 2005 19:48:15 +0000 (GMT) (envelope-from michael.lea@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5735343D6D for ; Tue, 20 Dec 2005 19:48:02 +0000 (GMT) (envelope-from michael.lea@gmail.com) Received: by xproxy.gmail.com with SMTP id t12so1115728wxc for ; Tue, 20 Dec 2005 11:48:01 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=nMKeJA5BWuPIiw89k4oiqKDmFf0xxjOprqi4kTAy4OLzuXfQPyMlOhHu1rbs7Yf3xjDSnaWQNisas2/3o5jzYw+n+eo/qXP45AE6b5O/9guLC8qZEpAu1eEdiKDkl8BLbwvqhhr500bqqUyPWZq2Bx55gi5iPMWKwMfTZP789X0= Received: by 10.70.87.2 with SMTP id k2mr6037152wxb; Tue, 20 Dec 2005 11:48:01 -0800 (PST) Received: by 10.70.19.15 with HTTP; Tue, 20 Dec 2005 11:48:01 -0800 (PST) Message-ID: <9c393a720512201148g13819dc2u9730a5c7a77ca814@mail.gmail.com> Date: Tue, 20 Dec 2005 13:48:01 -0600 From: Michael Lea To: freebsd-geom@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: issues setting up gvinum 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: Tue, 20 Dec 2005 19:48:15 -0000 Hi, I'm having some issues setting up gvinum on a new system. My ultimate goals are to: a) leave some free space on the disk for me to grow into (either with new filesystems or using growfs) as needed, and b) mirror essential filesystems (/, /usr, etc) onto a second disk But at this point I can't even get the gvinum configuration to survive a re= boot. Here's my info: -- CUT HERE -- Fixit# uname -a FreeBSD 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Thu Nov 3 09:36:13 UTC 2005 root@x64.samsco.home:/usr/obj/usr/src/sys/GENERIC i386 Fixit# kldstat Id Refs Address Size Name 1 4 0xc0400000 63070c kernel 2 1 0xc0e69000 fc5c geom_vinum.ko 3 16 0xc0e79000 568dc acpi.ko Fixit# fdisk ad0 ******* Working on device /dev/ad0 ******* parameters extracted from in-core disklabel are: cylinders=3D17753 heads=3D15 sectors/track=3D63 (945 blks/cyl) Figures below won't work with BIOS for partitions not in cyl 1 parameters to be used for BIOS calculations are: cylinders=3D17753 heads=3D15 sectors/track=3D63 (945 blks/cyl) Media sector size is 512 Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 1 is: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) start 63, size 16776522 (8191 Meg), flag 80 (active) =09beg: cyl 0/ head 1/ sector 1; =09end: cyl 344/ head 14/ sector 63 The data for partition 2 is: The data for partition 3 is: The data for partition 4 is: Fixit# disklabel ad0s1 # /dev/ad0s1: 8 partitions: # size offset fstype [fsize bsize bps/cpg] c: 16776522 0 unused 0 0 # "raw" part, don't= edit d: 16776506 16 vinum Fixit# gvinum printconfig # Vinum configuration of , saved at Tue Dec 20 12:28:05 2005 drive d0 device /dev/ad0s1d volume usr volume tmp volume var volume swap volume root plex name usr.p0 org concat vol usr plex name tmp.p0 org concat vol tmp plex name var.p0 org concat vol var plex name swap.p0 org concat vol swap plex name root.p0 org concat vol root sd name usr.p0.s0 drive d0 len 2097152s driveoffset 3068169s plex usr.p0 plexoffset 0s sd name tmp.p0.s0 drive d0 len 524288s driveoffset 2543881s plex tmp.p0 plexoffset 0s sd name var.p0.s0 drive d0 len 524288s driveoffset 2019593s plex var.p0 plexoffset 0s sd name swap.p0.s0 drive d0 len 970752s driveoffset 1048841s plex swap.p0 plexoffset 0s sd name root.p0.s0 drive d0 len 1048576s driveoffset 265s plex root.p0 plexoffset 0s -- CUT HERE -- However, following a reboot, my gvinum config looks like: -- CUT HERE -- Fixit# gvinum printconfig # Vinum configuration of , saved at Tue Dec 20 13:41:03 2005 drive d0 device /dev/ad0s1d volume usr volume tmp volume var volume swap volume root plex name usr.p0 org concat plex name tmp.p0 org concat plex name var.p0 org concat plex name swap.p0 org concat plex name root.p0 org concat sd name usr.p0.s0 drive d0 len 2097152s driveoffset 3068169s sd name tmp.p0.s0 drive d0 len 524288s driveoffset 2543881s sd name var.p0.s0 drive d0 len 524288s driveoffset 2019593s sd name swap.p0.s0 drive d0 len 970752s driveoffset 1048841s sd name root.p0.s0 drive d0 len 1048576s driveoffset 265s -- CUT HERE -- The subdisks seem to be getting detached from the plexes, which are getting detached from the volumes. The "attach" command doesn't seem to be supported in 6.0's vinum implementation, so at this point I need to recreate the plexes & subdisks. Any thoughts? Am I missing something? Thanks. - Mike From owner-freebsd-geom@FreeBSD.ORG Tue Dec 20 22:46:31 2005 Return-Path: X-Original-To: freebsd-geom@FreeBSD.org Delivered-To: freebsd-geom@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4B6E516A41F for ; Tue, 20 Dec 2005 22:46:31 +0000 (GMT) (envelope-from le@FreeBSD.org) Received: from imap1u.univie.ac.at (murder1.univie.ac.at [131.130.1.183]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9E1B643D69 for ; Tue, 20 Dec 2005 22:46:30 +0000 (GMT) (envelope-from le@FreeBSD.org) Received: from korben (le.vpn.univie.ac.at [131.130.222.177]) by imap1u.univie.ac.at (8.12.10/8.12.10) with ESMTP id jBKMjo4U026442 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Tue, 20 Dec 2005 23:45:59 +0100 (CET) Date: Tue, 20 Dec 2005 23:45:44 +0100 From: Lukas Ertl To: Michael Lea In-Reply-To: <9c393a720512201148g13819dc2u9730a5c7a77ca814@mail.gmail.com> Message-ID: References: <9c393a720512201148g13819dc2u9730a5c7a77ca814@mail.gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-geom@FreeBSD.org Subject: Re: issues setting up gvinum 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: Tue, 20 Dec 2005 22:46:31 -0000 On Tue, 20 Dec 2005, Michael Lea wrote: > But at this point I can't even get the gvinum configuration to survive a reboot. > > Here's my info: > > -- CUT HERE -- > Fixit# uname -a > FreeBSD 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Thu Nov 3 09:36:13 UTC Please update to 6-STABLE. I committed some fixes that should solve your problem, I guess. cheers, le -- Lukas Ertl http://homepage.univie.ac.at/l.ertl/ le@FreeBSD.org http://people.freebsd.org/~le/ From owner-freebsd-geom@FreeBSD.ORG Wed Dec 21 16:20:41 2005 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BBB5E16A424; Wed, 21 Dec 2005 16:20:41 +0000 (GMT) (envelope-from lk@tempest.sk) Received: from proxy.dgrp.sk (proxy.dgrp.sk [195.28.127.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id EE6E743D62; Wed, 21 Dec 2005 16:20:40 +0000 (GMT) (envelope-from lk@tempest.sk) Received: by proxy.dgrp.sk (Postfix, from userid 1003) id 309138009; Wed, 21 Dec 2005 17:20:39 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on proxy.dgrp.sk X-Spam-Level: X-Spam-Status: No, score=0.3 required=4.0 tests=AWL autolearn=ham version=3.1.0 Received: from webmail.tempest.sk (domino1.tempest.sk [195.28.100.38]) by proxy.dgrp.sk (Postfix) with ESMTP id 47C488007; Wed, 21 Dec 2005 17:20:35 +0100 (CET) Received: from lk.tempest.sk ([195.28.109.47]) by webmail.tempest.sk (Lotus Domino Release 6.5.4) with ESMTP id 2005122117203418-9407 ; Wed, 21 Dec 2005 17:20:34 +0100 Received: from lk.tempest.sk (localhost [127.0.0.1]) by lk.tempest.sk (8.13.3/8.12.9) with ESMTP id jBLGKS5G060219; Wed, 21 Dec 2005 17:20:28 +0100 (CET) (envelope-from lk@lk.tempest.sk) Received: (from koren@localhost) by lk.tempest.sk (8.13.3/8.13.1/Submit) id jBLGKSSK060216; Wed, 21 Dec 2005 17:20:28 +0100 (CET) (envelope-from lk) X-Authentication-Warning: lk.tempest.sk: koren set sender to lk using -f Sender: lk@tempest.sk To: freebsd-geom@freebsd.org, freebsd-stable@freebsd.org From: Ludo Koren Date: 21 Dec 2005 17:20:27 +0100 Message-ID: <8764pi7778.fsf@lk.tempest.sk> Lines: 93 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 X-MIMETrack: Itemize by SMTP Server on Domino1/DGRP(Release 6.5.4|March 27, 2005) at 21.12.2005 17:20:34, Serialize by Router on Domino1/DGRP(Release 6.5.4|March 27, 2005) at 21.12.2005 17:20:35, Serialize complete at 21.12.2005 17:20:35 Content-Type: text/plain; charset=us-ascii Cc: Subject: gvinum: adding plex and subdisks to existing volume panic 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: Wed, 21 Dec 2005 16:20:42 -0000 Hi, I'm using 5.4-STABLE. One of the mirrored disks died. I want to add new disk, which has not the same size as the died one. The output of the gvinum l is the following: # gvinum l 4 drives: D rd2 State: up /dev/da2s1h A: 0/1023 MB (0%) D d2 State: up /dev/da2s1f A: 0/15452 MB (0%) D d3 State: up /dev/da3s1 A: 0/70001 MB (0%) D d4 State: up /dev/da1s1 A: 0/70001 MB (0%) 2 volumes: V root State: up Plexes: 1 Size: 1023 MB V usr State: up Plexes: 2 Size: 83 GB 4 plexes: P usr.p0 C State: down Subdisks: 1 Size: 68 GB P usr.p1 C State: up Subdisks: 2 Size: 83 GB P root.p1 C State: up Subdisks: 1 Size: 1023 MB P root.p0 C State: down Subdisks: 0 Size: 0 B 6 subdisks: S usr.p0.s0 State: down D: d1 Size: 15 GB S usr.p1.s0 State: up D: d2 Size: 15 GB S root.p1.s0 State: up D: rd2 Size: 1023 MB S root.p0.s0 State: down D: rd1 Size: 1023 MB S usr.p0.s1 State: up D: d3 Size: 68 GB S usr.p1.s1 State: up D: d4 Size: 68 GB and # camcontrol devlist -v scbus0 on ahd0 bus 0: at scbus0 target 3 lun 0 (pass0,da0) at scbus0 target 9 lun 0 (pass1,da1) at scbus0 target 10 lun 0 (sa0,pass2) < > at scbus0 target -1 lun -1 () scbus1 on ahd1 bus 0: at scbus1 target 1 lun 0 (pass3,da2) at scbus1 target 8 lun 0 (pass4,da3) < > at scbus1 target -1 lun -1 () scbus-1 on xpt0 bus 0: < > at scbus-1 target -1 lun -1 (xpt0) I want to have the whole new disk a one vinum slice so the # disklabel da0s1 # /dev/da0s1: 8 partitions: # size offset fstype [fsize bsize bps/cpg] a: 143363700 281 4.2BSD 0 0 0 c: 143363997 0 unused 0 0 # "raw" part, don't edit h: 143363981 16 vinum The old one was: # disklabel da2s1 # /dev/da2s1: 8 partitions: # size offset fstype [fsize bsize bps/cpg] a: 2096855 281 4.2BSD 2048 16384 0 b: 2097152 2097152 swap c: 35840952 0 unused 0 0 # "raw" part, don't edit f: 31646648 4194304 vinum h: 2097136 16 vinum When I try to do: # gvinum create gvinum.conf it ends up in immediate panic (page fault). The gvinum.conf file: drive d1b device /dev/da0s1h plex name usr.p2 org concat vol usr plex name root.p2 org concat vol root sd name root.p2.s0 drive d1b len 2096871s driveoffset 265s plex root.p2 plexoffset 0s sd name usr.p2.s0 drive d1b len 31646383s driveoffset 2097136s plex usr.p2 plexoffset 0s Am I doing something wrong? How can be added a new disk to existing mirror in gvinum? Any help appreciated, I cannot find useful hints. Regards, lk From owner-freebsd-geom@FreeBSD.ORG Wed Dec 21 16:51:33 2005 Return-Path: X-Original-To: freebsd-geom@FreeBSD.org Delivered-To: freebsd-geom@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 66A7B16A41F; Wed, 21 Dec 2005 16:51:33 +0000 (GMT) (envelope-from le@FreeBSD.org) Received: from imap1u.univie.ac.at (murder.univie.ac.at [131.130.1.183]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6BE4943D8E; Wed, 21 Dec 2005 16:51:30 +0000 (GMT) (envelope-from le@FreeBSD.org) Received: from korben ([80.75.40.27]) (authenticated bits=0) by imap1u.univie.ac.at (8.12.10/8.12.10) with ESMTP id jBLGni4V004553 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Wed, 21 Dec 2005 17:49:57 +0100 (CET) Date: Wed, 21 Dec 2005 17:49:38 +0100 From: Lukas Ertl To: Ludo Koren In-Reply-To: <8764pi7778.fsf@lk.tempest.sk> Message-ID: References: <8764pi7778.fsf@lk.tempest.sk> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-stable@FreeBSD.org, freebsd-geom@FreeBSD.org Subject: Re: gvinum: adding plex and subdisks to existing volume panic 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: Wed, 21 Dec 2005 16:51:33 -0000 On Wed, 21 Dec 2005, Ludo Koren wrote: > When I try to do: > # gvinum create gvinum.conf > > it ends up in immediate panic (page fault). The gvinum.conf file: It would be easier to track down this problem if you could provide the place where the panic happens or even better a backtrace. thanks, le -- Lukas Ertl http://homepage.univie.ac.at/l.ertl/ le@FreeBSD.org http://people.freebsd.org/~le/ From owner-freebsd-geom@FreeBSD.ORG Wed Dec 21 20:56:02 2005 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 74F6E16A41F; Wed, 21 Dec 2005 20:56:02 +0000 (GMT) (envelope-from lk@tempest.sk) Received: from proxy.dgrp.sk (proxy.dgrp.sk [195.28.127.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 45B1E43D55; Wed, 21 Dec 2005 20:55:53 +0000 (GMT) (envelope-from lk@tempest.sk) Received: by proxy.dgrp.sk (Postfix, from userid 1003) id 60E31800A; Wed, 21 Dec 2005 21:55:52 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on proxy.dgrp.sk X-Spam-Level: X-Spam-Status: No, score=0.3 required=4.0 tests=AWL autolearn=ham version=3.1.0 Received: from webmail.tempest.sk (domino1.tempest.sk [195.28.100.38]) by proxy.dgrp.sk (Postfix) with ESMTP id DAD868009; Wed, 21 Dec 2005 21:55:49 +0100 (CET) Received: from lk.tempest.sk ([195.28.109.47]) by webmail.tempest.sk (Lotus Domino Release 6.5.4) with ESMTP id 2005122121554776-9435 ; Wed, 21 Dec 2005 21:55:47 +0100 Received: from lk.tempest.sk (localhost [127.0.0.1]) by lk.tempest.sk (8.13.3/8.12.9) with ESMTP id jBLKtgLQ070851; Wed, 21 Dec 2005 21:55:42 +0100 (CET) (envelope-from lk@lk.tempest.sk) Received: (from koren@localhost) by lk.tempest.sk (8.13.3/8.13.1/Submit) id jBLKtgMw070848; Wed, 21 Dec 2005 21:55:42 +0100 (CET) (envelope-from lk) X-Authentication-Warning: lk.tempest.sk: koren set sender to lk using -f Sender: lk@tempest.sk To: Lukas Ertl References: <8764pi7778.fsf@lk.tempest.sk> From: Ludo Koren Date: 21 Dec 2005 21:55:42 +0100 In-Reply-To: Message-ID: <87u0d25fw1.fsf@lk.tempest.sk> Lines: 56 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 X-MIMETrack: Itemize by SMTP Server on Domino1/DGRP(Release 6.5.4|March 27, 2005) at 21.12.2005 21:55:47, Serialize by Router on Domino1/DGRP(Release 6.5.4|March 27, 2005) at 21.12.2005 21:55:49, Serialize complete at 21.12.2005 21:55:50, Serialize by Router on Domino1/DGRP(Release 6.5.4|March 27, 2005) at 21.12.2005 21:55:50 Content-Type: text/plain; charset=us-ascii Cc: freebsd-stable@freebsd.org, freebsd-geom@freebsd.org Subject: Re: gvinum: adding plex and subdisks to existing volume panic 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: Wed, 21 Dec 2005 20:56:03 -0000 >>>>> "Lukas Ertl" == Lukas Ertl writes: Lukas Ertl> On Wed, 21 Dec 2005, Ludo Koren wrote: >> When I try to do: # gvinum create gvinum.conf >> >> it ends up in immediate panic (page fault). The gvinum.conf >> file: Lukas Ertl> It would be easier to track down this problem if you Lukas Ertl> could provide the place where the panic happens or Lukas Ertl> even better a backtrace. # kgdb /usr/obj/usr/src/sys/GENERIC/kernel vmcore.15 [GDB will not be able to debug user-mode threads: /usr/lib/libthread_db.so: Undefined symbol "ps_pglobal_lookup"] GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-marcel-freebsd". (no debugging symbols found)...Attempt to extract a component of a value that is not a structure pointer. (kgdb) (kgdb) (kgdb) bt #0 0xc0618252 in doadump () #1 0xc06187dc in boot () #2 0xc0618a70 in panic () #3 0xc07c82bc in trap_fatal () #4 0xc07c8023 in trap_pfault () #5 0xc07c7c65 in trap () #6 0xc07b7bba in calltrap () #7 0xc28d0018 in ?? () #8 0xc27b0010 in ?? () #9 0xc2760010 in ?? () #10 0xc2765800 in ?? () #11 0x00000000 in ?? () #12 0xe4db2848 in ?? () #13 0xe4db282c in ?? () #14 0xc26a8500 in ?? () #15 0x00000001 in ?? () #16 0xc08e6ed0 in runq () #17 0x00000000 in ?? () #18 0x0000000c in ?? () #19 0x00000000 in ?? () #20 0xc09f38c5 in ?? () #21 0x00000008 in ?? () #22 0x00010286 in ?? () #23 0xc26a8500 in ?? () #24 0xc261c280 in ?? () #25 0xe4db2ca0 in ?? () #26 0xc09eb422 in ?? () #27 0xc26a8500 in ?? () #28 0xc060eaa1 in free () Previous frame inner to this frame (corrupt stack?) (kgdb) From owner-freebsd-geom@FreeBSD.ORG Wed Dec 21 21:12:20 2005 Return-Path: X-Original-To: freebsd-geom@FreeBSD.org Delivered-To: freebsd-geom@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BF55E16A41F; Wed, 21 Dec 2005 21:12:20 +0000 (GMT) (envelope-from le@FreeBSD.org) Received: from imap1u.univie.ac.at (murder1.univie.ac.at [131.130.1.183]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2301943D53; Wed, 21 Dec 2005 21:12:19 +0000 (GMT) (envelope-from le@FreeBSD.org) Received: from korben (korben.prv.univie.ac.at [131.130.7.98]) by imap1u.univie.ac.at (8.12.10/8.12.10) with ESMTP id jBLL6O4U071070 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Wed, 21 Dec 2005 22:06:25 +0100 (CET) Date: Wed, 21 Dec 2005 22:06:25 +0100 From: Lukas Ertl To: Ludo Koren In-Reply-To: <87u0d25fw1.fsf@lk.tempest.sk> Message-ID: References: <8764pi7778.fsf@lk.tempest.sk> <87u0d25fw1.fsf@lk.tempest.sk> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-stable@FreeBSD.org, freebsd-geom@FreeBSD.org Subject: Re: gvinum: adding plex and subdisks to existing volume panic 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: Wed, 21 Dec 2005 21:12:20 -0000 On Wed, 21 Dec 2005, Ludo Koren wrote: > (kgdb) bt > #0 0xc0618252 in doadump () > #1 0xc06187dc in boot () > #2 0xc0618a70 in panic () > #3 0xc07c82bc in trap_fatal () > #4 0xc07c8023 in trap_pfault () > #5 0xc07c7c65 in trap () > #6 0xc07b7bba in calltrap () > #7 0xc28d0018 in ?? () > #8 0xc27b0010 in ?? () Unfortunately, that doesn't help me at all, since there's no debugging info. Have a look at . thanks, le -- Lukas Ertl http://homepage.univie.ac.at/l.ertl/ le@FreeBSD.org http://people.freebsd.org/~le/ From owner-freebsd-geom@FreeBSD.ORG Thu Dec 22 12:08:07 2005 Return-Path: X-Original-To: freebsd-geom@FreeBSD.org Delivered-To: freebsd-geom@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4063D16A41F; Thu, 22 Dec 2005 12:08:07 +0000 (GMT) (envelope-from lk@tempest.sk) Received: from mailgw.dgrp.sk (mailgw.dgrp.sk [195.28.127.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6BBAD43D6E; Thu, 22 Dec 2005 12:07:45 +0000 (GMT) (envelope-from lk@tempest.sk) Received: by mailgw.dgrp.sk (Postfix, from userid 1003) id C472E34A5A7; Thu, 22 Dec 2005 13:07:44 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on mailgw.dgrp.sk X-Spam-Level: X-Spam-Status: No, score=-2.5 required=4.0 tests=AWL,BAYES_00 autolearn=ham version=3.1.0 Received: from webmail.tempest.sk (domino1.tempest.sk [195.28.100.38]) by mailgw.dgrp.sk (Postfix) with ESMTP id 1213134A5A2; Thu, 22 Dec 2005 13:07:39 +0100 (CET) Received: from lk.tempest.sk ([195.28.109.47]) by webmail.tempest.sk (Lotus Domino Release 6.5.4) with ESMTP id 2005122213073836-9622 ; Thu, 22 Dec 2005 13:07:38 +0100 Received: from lk.tempest.sk (localhost [127.0.0.1]) by lk.tempest.sk (8.13.3/8.12.9) with ESMTP id jBMC7Wl2007325; Thu, 22 Dec 2005 13:07:32 +0100 (CET) (envelope-from koren@lk.tempest.sk) Received: (from koren@localhost) by lk.tempest.sk (8.13.3/8.13.1/Submit) id jBMC7WfC007322; Thu, 22 Dec 2005 13:07:32 +0100 (CET) (envelope-from koren) Date: Thu, 22 Dec 2005 13:07:32 +0100 (CET) Message-Id: <200512221207.jBMC7WfC007322@lk.tempest.sk> From: Ludo Koren To: le@FreeBSD.org In-reply-to: (message from Lukas Ertl on Wed, 21 Dec 2005 22:06:25 +0100) References: <8764pi7778.fsf@lk.tempest.sk> <87u0d25fw1.fsf@lk.tempest.sk> X-MIMETrack: Itemize by SMTP Server on Domino1/DGRP(Release 6.5.4|March 27, 2005) at 22.12.2005 13:07:38, Serialize by Router on Domino1/DGRP(Release 6.5.4|March 27, 2005) at 22.12.2005 13:07:39, Serialize complete at 22.12.2005 13:07:39 Cc: freebsd-stable@FreeBSD.org, freebsd-geom@FreeBSD.org Subject: Re: gvinum: adding plex and subdisks to existing volume panic 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, 22 Dec 2005 12:08:07 -0000 >Unfortunately, that doesn't help me at all, since there's no debugging >info. Have a look at >. sorry I realized it late... Here is the info: Script started on Thu Dec 22 12:25:56 2005 501 gw|/var/crash>kgdb /usr/obj/usr/src/sys/INTIME/kernel.debug vmcore.17 [GDB will not be able to debug user-mode threads: /usr/lib/libthread_db.so: Undefined symbol "ps_pglobal_lookup"] GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-marcel-freebsd". Unread portion of the kernel message buffer: Copyright (c) 1992-2005 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.4-STABLE #0: Thu Dec 22 10:41:32 CET 2005 root@gw.intime.sk:/usr/obj/usr/src/sys/INTIME ACPI APIC Table: Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) 4 CPU 1.60GHz (1599.96-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf12 Stepping = 2 Features=0x3febfbff real memory = 1071906816 (1022 MB) avail memory = 1042771968 (994 MB) ioapic0: Changing APIC ID to 1 ioapic0 irqs 0-23 on motherboard netsmb_dev: loaded npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard acpi0: Power Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0 cpu0: on acpi0 acpi_throttle0: on cpu0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 agp0: mem 0xffa80000-0xffafffff,0xf0000000-0xf7ffffff irq 16 at device 2.0 on pci0 agp0: detected 892k stolen memory agp0: aperture size is 128M uhci0: port 0xe800-0xe81f irq 16 at device 29.0 on pci0 usb0: on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: port 0xe880-0xe89f irq 19 at device 29.1 on pci0 usb1: on uhci1 usb1: USB revision 1.0 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2: port 0xec00-0xec1f irq 18 at device 29.2 on pci0 usb2: on uhci2 usb2: USB revision 1.0 uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered pci0: at device 29.7 (no driver attached) pcib1: at device 30.0 on pci0 pci1: on pcib1 ahd0: port 0xde00-0xdeff,0xd000-0xd0ff mem 0xff8fc000-0xff8fdfff irq 22 at device 1.0 on pci1 aic7902: Ultra320 Wide Channel A, SCSI Id=15, PCI 33 or 66Mhz, 512 SCBs ahd1: port 0xd400-0xd4ff,0xd800-0xd8ff mem 0xff8fe000-0xff8fffff irq 21 at device 1.1 on pci1 aic7902: Ultra320 Wide Channel B, SCSI Id=15, PCI 33 or 66Mhz, 512 SCBs fxp0: port 0xdc00-0xdc3f mem 0xff8fb000-0xff8fbfff irq 20 at device 8.0 on pci1 miibus0: on fxp0 inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp0: Ethernet address: 00:03:47:ff:6e:9f isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0xffa0-0xffaf,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 31.1 on pci0 ata0: channel #0 on atapci0 ata1: channel #1 on atapci0 pci0: at device 31.3 (no driver attached) pci0: at device 31.5 (no driver attached) acpi_button0: on acpi0 fdc0: port 0x3f7,0x3f4-0x3f5,0x3f2-0x3f3,0x3f0-0x3f1 irq 6 drq 2 on acpi0 fd0: <1440-KB 3.5" drive> on fdc0 drive 0 sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A ppc0: port 0x378-0x37f irq 7 on acpi0 ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode ppbus0: on ppc0 plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 pmtimer0 on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounter "TSC" frequency 1599956116 Hz quality 800 Timecounters tick every 10.000 msec Waiting 5 seconds for SCSI devices to settle sa0 at ahd0 bus 0 target 10 lun 0 sa0: Removable Sequential Access SCSI-2 device sa0: 40.000MB/s transfers (20.000MHz, offset 32, 16bit) da0 at ahd0 bus 0 target 3 lun 0 da0: Fixed Direct Access SCSI-3 device da0: 320.000MB/s transfers (160.000MHz, offset 63, 16bit), Tagged Queueing Enabled da0: 70007MB (143374744 512 byte sectors: 255H 63S/T 8924C) da1 at ahd0 bus 0 target 9 lun 0 da1: Fixed Direct Access SCSI-3 device da1: 320.000MB/s transfers (160.000MHz, offset 127, 16bit), Tagged Queueing Enabled da1: 70007MB (143374805 512 byte sectors: 255H 63S/T 8924C) da2 at ahd1 bus 0 target 1 lun 0 da2: Fixed Direct Access SCSI-3 device da2: 160.000MB/s transfers (80.000MHz, offset 63, 16bit), Tagged Queueing Enabled da2: 17501MB (35843670 512 byte sectors: 255H 63S/T 2231C) da3 at ahd1 bus 0 target 8 lun 0 da3: Fixed Direct Access SCSI-3 device da3: 320.000MB/s transfers (160.000MHz, offset 127, 16bit), Tagged Queueing Enabled da3: 70007MB (143374805 512 byte sectors: 255H 63S/T 8924C) GEOM_VINUM: plex request failed for gvinum/plex/usr.p1[READ(offset=4096, length=512)] GEOM_VINUM: plex request failed for gvinum/plex/usr.p1[READ(offset=4096, length=512)] GEOM_VINUM: plex request failed for gvinum/plex/usr.p1[READ(offset=0, length=512)] GEOM_VINUM: plex request failed for gvinum/plex/usr.p1[READ(offset=512, length=512)] GEOM_VINUM: plex request failed for gvinum/plex/usr.p1[READ(offset=0, length=512)] Mounting root from ufs:/dev/gvinum/root <118>Enter full pathname of shell or RETURN for /bin/sh: <118># <118>/etc/rc.d <118># <118>kernel dumps on /dev/da2s1b <118># <118>/dev/gvinum/root on / (ufs, local, read-only) <118>devfs on /dev (devfs, local) <118># Fatal trap 12: page fault while in kernel mode fault virtual address = 0x40 fault code = supervisor read, page not present instruction pointer = 0x8:0xc07339c9 stack pointer = 0x10:0xe5f9e840 frame pointer = 0x10:0xe5f9e848 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 2 (g_event) trap number = 12 panic: page fault Uptime: 2m32s Dumping 1022 MB 16 32 48 64 80 96 112 128 144 160 176 192 208 224 240 256 272 288 304 320 336 352 368 384 400 416 432 448 464 480 496 512 528 544 560 576 592 608 624 640 656 672 688 704 720 736 752 768 784 800 816 832 848 864 880 896 912 928 944 960 976 992 1008 #0 doadump () at pcpu.h:160 160 pcpu.h: No such file or directory. in pcpu.h (kgdb) add-symbol-file /usr/src/sys/modules/geom/geom_vinum/geom_vinum.ko 0xc072 a9b8 add symbol table from file "/usr/src/sys/modules/geom/geom_vinum/geom_vinum.ko" at .text_addr = 0xc072a9b8 (y or n) y Reading symbols from /usr/src/sys/modules/geom/geom_vinum/geom_vinum.ko...done. (kgdb) bt #0 doadump () at pcpu.h:160 #1 0xc04eaf44 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:412 #2 0xc04eb1d8 in panic (fmt=0xc060fcbc "%s") at /usr/src/sys/kern/kern_shutdown.c:568 #3 0xc05ec2f0 in trap_fatal (frame=0xe5f9e800, eva=64) at /usr/src/sys/i386/i386/trap.c:822 #4 0xc05ec057 in trap_pfault (frame=0xe5f9e800, usermode=0, eva=64) at /usr/src/sys/i386/i386/trap.c:737 #5 0xc05ebcb9 in trap (frame= {tf_fs = -1040646120, tf_es = -1037893616, tf_ds = -1038024688, tf_edi = -1038012416, tf_esi = 0, tf_ebp = -436606904, tf_isp = -436606932, tf_ebx = -1038077952, tf_edx = 1, tf_ecx = -1066995504, tf_eax = 0, tf_trapno = 12, tf_err = 0, tf_eip = -1066190391, tf_cs = 8, tf_eflags = 66182, tf_esp = -1038077952, tf_ss = -1038516864}) at /usr/src/sys/i386/i386/trap.c:427 #6 0xc05dc52a in calltrap () at /usr/src/sys/i386/i386/exception.s:140 #7 0xc1f90018 in ?? () #8 0xc2230010 in ?? () #9 0xc2210010 in ?? () #10 0xc2213000 in ?? () #11 0x00000000 in ?? () #12 0xe5f9e848 in ?? () #13 0xe5f9e82c in ?? () #14 0xc2203000 in ?? () ---Type to continue, or q to quit--- #15 0x00000001 in ?? () #16 0xc066f0d0 in runq () #17 0x00000000 in ?? () #18 0x0000000c in ?? () #19 0x00000000 in ?? () #20 0xc07339c9 in gv_update_plex_state () #21 0x00000008 in ?? () #22 0x00010286 in ?? () #23 0xc2203000 in ?? () #24 0xc2197d80 in ?? () #25 0xe5f9eca0 in ?? () #26 0xc072b526 in gv_config () #27 0xc2203000 in ?? () #28 0x0222ee56 in ?? () #29 0xe5f9e86c in ?? () #30 0xc203b9d0 in ?? () #31 0xc203b030 in ?? () #32 0xc203b8a0 in ?? () #33 0xc2031c90 in ?? () #34 0x00000000 in ?? () #35 0xc1fc2600 in ?? () #36 0xe5f9e898 in ?? () #37 0xc0467ada in ahd_action (sim=0xc2203000, ccb=0x0) ---Type to continue, or q to quit--- at /usr/src/sys/dev/aic7xxx/aic79xx_osm.c:552 Previous frame inner to this frame (corrupt stack?) (kgdb) q 502 gw|/var/crash>exit Script done on Thu Dec 22 12:26:54 2005 From owner-freebsd-geom@FreeBSD.ORG Thu Dec 22 16:28:31 2005 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B854516A41F for ; Thu, 22 Dec 2005 16:28:31 +0000 (GMT) (envelope-from mark@gaiahost.coop) Received: from biodiesel.gaiahost.coop (biodiesel.gaiahost.coop [64.95.78.120]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0BF1343D4C for ; Thu, 22 Dec 2005 16:28:28 +0000 (GMT) (envelope-from mark@gaiahost.coop) Received: from localhost (host-64-65-195-19.spr.choiceone.net [::ffff:64.65.195.19]) (AUTH: LOGIN mark@hubcapconsulting.com) by biodiesel.gaiahost.coop with esmtp; Thu, 22 Dec 2005 11:28:18 -0500 id 000800B5.43AAD424.00005585 Received: by localhost (sSMTP sendmail emulation); Thu, 22 Dec 2005 11:28:22 -0500 Date: Thu, 22 Dec 2005 11:28:22 -0500 From: Mark Bucciarelli To: freebsd-geom@FreeBSD.org Message-ID: <20051222162821.GA2836@rabbit> Mail-Followup-To: freebsd-geom@FreeBSD.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Cc: Subject: gmirror: Any way to speed mirror build? 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, 22 Dec 2005 16:28:31 -0000 I have to build three boxes with the same configuration (same kernel, same disk size, RAID1 gmirror). Is there any way to build the mirrors more quickly? For example if I dump the file system on disk1 then newfs and restore the dump to disk2 will adding disk2 to the mirror go faster? If not, is there anyway to make it faster? m From owner-freebsd-geom@FreeBSD.ORG Thu Dec 22 16:32:30 2005 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 182C816A41F for ; Thu, 22 Dec 2005 16:32:30 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from mh1.centtech.com (moat3.centtech.com [207.200.51.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 87A1043D5F for ; Thu, 22 Dec 2005 16:32:29 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [10.177.171.220] (neutrino.centtech.com [10.177.171.220]) by mh1.centtech.com (8.13.1/8.13.1) with ESMTP id jBMGWSam096348; Thu, 22 Dec 2005 10:32:28 -0600 (CST) (envelope-from anderson@centtech.com) Message-ID: <43AAD516.9020100@centtech.com> Date: Thu, 22 Dec 2005 10:32:22 -0600 From: Eric Anderson User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051204) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Mark Bucciarelli References: <20051222162821.GA2836@rabbit> In-Reply-To: <20051222162821.GA2836@rabbit> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.87.1/1213/Mon Dec 19 08:48:34 2005 on mh1.centtech.com X-Virus-Status: Clean Cc: freebsd-geom@freebsd.org Subject: Re: gmirror: Any way to speed mirror build? 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, 22 Dec 2005 16:32:30 -0000 Mark Bucciarelli wrote: >I have to build three boxes with the same configuration (same kernel, >same disk size, RAID1 gmirror). > >Is there any way to build the mirrors more quickly? > >For example if I dump the file system on disk1 then newfs and restore >the dump to disk2 will adding disk2 to the mirror go faster? > >If not, is there anyway to make it faster? > > I believe these sysctl's will do the trick for you: kern.geom.mirror.syncs_per_sec: Number of synchronizations requests per second kern.geom.mirror.reqs_per_sync: Number of regular I/O requests per synchronization request Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology Anything that works is better than anything that doesn't. ------------------------------------------------------------------------ From owner-freebsd-geom@FreeBSD.ORG Thu Dec 22 16:48:56 2005 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E99D416A41F for ; Thu, 22 Dec 2005 16:48:56 +0000 (GMT) (envelope-from michael.lea@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.198]) by mx1.FreeBSD.org (Postfix) with ESMTP id EF86C43D5E for ; Thu, 22 Dec 2005 16:48:55 +0000 (GMT) (envelope-from michael.lea@gmail.com) Received: by xproxy.gmail.com with SMTP id t12so311737wxc for ; Thu, 22 Dec 2005 08:48:55 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ROGJTuIMzijQuOUmK2Q7Q2jym61T5Grg1Eh7e9QfoT1z+ln5DNuT5vr7xy5hRA1JHHLcei2tSVrHUuXdaK+DZKcTzZBSaJ8K0lyiJYZB6q/Ux8Oldkgfd+DQ1pd6uu5/pNGm8/zAnGW2SgUem8FooaN8Zs5rUElHkyhe8G407ug= Received: by 10.70.10.4 with SMTP id 4mr2207948wxj; Thu, 22 Dec 2005 08:48:55 -0800 (PST) Received: by 10.70.19.15 with HTTP; Thu, 22 Dec 2005 08:48:55 -0800 (PST) Message-ID: <9c393a720512220848t4562a8d5ua24bc778ec6c597f@mail.gmail.com> Date: Thu, 22 Dec 2005 10:48:55 -0600 From: Michael Lea To: Lukas Ertl In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <9c393a720512201148g13819dc2u9730a5c7a77ca814@mail.gmail.com> Cc: freebsd-geom@freebsd.org Subject: Re: issues setting up gvinum 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, 22 Dec 2005 16:48:57 -0000 On 12/20/05, Lukas Ertl wrote: > On Tue, 20 Dec 2005, Michael Lea wrote: > > > But at this point I can't even get the gvinum configuration to survive = a reboot. > > > > Here's my info: > > > > -- CUT HERE -- > > Fixit# uname -a > > FreeBSD 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Thu Nov 3 09:36:13 UTC > > Please update to 6-STABLE. I committed some fixes that should solve your > problem, I guess. That did the trick. What were the fixes? I'd prefer to track the security branch if at all possible, and add specific patches from STABLE as needed. Thanks. - Mike