From owner-freebsd-geom@FreeBSD.ORG Mon Nov 7 11:02: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 CD35F16A41F for ; Mon, 7 Nov 2005 11:02:03 +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 6A8F043D46 for ; Mon, 7 Nov 2005 11:02:03 +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.3/8.13.3) with ESMTP id jA7B23XZ049822 for ; Mon, 7 Nov 2005 11:02:03 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id jA7B22l5049816 for freebsd-geom@freebsd.org; Mon, 7 Nov 2005 11:02:02 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 7 Nov 2005 11:02:02 GMT Message-Id: <200511071102.jA7B22l5049816@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, 07 Nov 2005 11:02:03 -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/10/25] kern/87986 geom [geom] [hang] gmirror and quota will hang 4 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 Nov 7 11:42:55 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 56E3B16A427; Mon, 7 Nov 2005 11:42:55 +0000 (GMT) (envelope-from pjd@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5F80D43D5F; Mon, 7 Nov 2005 11:42:54 +0000 (GMT) (envelope-from pjd@FreeBSD.org) Received: from freefall.freebsd.org (pjd@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id jA7Bgs4m060089; Mon, 7 Nov 2005 11:42:54 GMT (envelope-from pjd@freefall.freebsd.org) Received: (from pjd@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id jA7BgsLi060085; Mon, 7 Nov 2005 11:42:54 GMT (envelope-from pjd) Date: Mon, 7 Nov 2005 11:42:54 GMT From: Pawel Jakub Dawidek Message-Id: <200511071142.jA7BgsLi060085@freefall.freebsd.org> To: pjd@FreeBSD.org, freebsd-geom@FreeBSD.org, pjd@FreeBSD.org Cc: Subject: Re: kern/87986: [geom] [hang] gmirror and quota will hang the OS 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, 07 Nov 2005 11:42:55 -0000 Synopsis: [geom] [hang] gmirror and quota will hang the OS Responsible-Changed-From-To: freebsd-geom->pjd Responsible-Changed-By: pjd Responsible-Changed-When: Mon Nov 7 11:40:00 GMT 2005 Responsible-Changed-Why: I'll take this one. Does your problems occure when mirror is synchronizing? Does system hang hard or you can enter DDB and get me 'ps' output? Could you try this patch and see if it fixes your problem: http://people.freebsd.org/~pjd/patches/g_mirror.patch http://www.freebsd.org/cgi/query-pr.cgi?pr=87986 From owner-freebsd-geom@FreeBSD.ORG Wed Nov 9 21:25: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 33FCD16A41F; Wed, 9 Nov 2005 21:25:35 +0000 (GMT) (envelope-from djh@nebcorp.com) Received: from ratchet.nebcorp.com (ratchet.nebcorp.com [205.217.153.72]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0902243D45; Wed, 9 Nov 2005 21:25:35 +0000 (GMT) (envelope-from djh@nebcorp.com) Received: by ratchet.nebcorp.com (Postfix, from userid 1014) id B2AFED9849; Wed, 9 Nov 2005 13:25:34 -0800 (PST) Date: Wed, 9 Nov 2005 13:25:34 -0800 From: Danny Howard To: freebsd-geom@freebsd.org, freebsd-hackers@freebsd.org Message-ID: <20051109212534.GD72876@ratchet.nebcorp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i X-Loop: djhoward@uiuc.edu Cc: Subject: GEOM for multipath? How? 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, 09 Nov 2005 21:25:35 -0000 Hello, Alas, my fancy Engenio dual-FC disk array is inaccessible to me for testing. :( But we are working on switching over to RHEL due to availability of FC multi-path redundancy drivers for RHEL but nada for FreeBSD. I was reading Linux' md man page, which sounds awfully similar to geom, and they have a provider called: MUTIPATH MULTIPATH is not really a RAID at all as there is only one real device in a MULTIPATH md array. However there are multiple access points (paths) to this device, and one of these paths might fail, so there are some similarities. A MULTIPATH array is composed of a number of logical different devices, often fibre channel interfaces, that all refer the the same real device. If one of these interfaces fails (e.g. due to cable prob- lems), the multipath driver to attempt to redirect requests to another interface. And I says to myself "AHA! Multipath should be easy to implement on FreeBSD as well, via geom." But I can't find an obvious way given existing geom utils to do this. And like I said, the box I'd use this on is inaccesible for now. Basically, I'd want a provider, that would see two disks, and if it could talk to one disk, it would, else it would talk to the other. Anyone here have a multipath capable hardware infrastructure who could test out some applicable geom config? Like I say a third time ... I have a nice Engenio 2882 FC sitting in a Datacenter, 3,000 miles away, that is connected to a system that is offline. I get to visit after Thanksgiving ... :/ Thanks, -danny -- http://dannyman.toldme.com/ From owner-freebsd-geom@FreeBSD.ORG Wed Nov 9 21:32:23 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 CC29B16A41F; Wed, 9 Nov 2005 21:32:23 +0000 (GMT) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (gate.funkthat.com [69.17.45.168]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6897E43D48; Wed, 9 Nov 2005 21:32:23 +0000 (GMT) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (localhost.funkthat.com [127.0.0.1]) by hydrogen.funkthat.com (8.13.3/8.13.3) with ESMTP id jA9LWM8Z008983; Wed, 9 Nov 2005 13:32:22 -0800 (PST) (envelope-from jmg@hydrogen.funkthat.com) Received: (from jmg@localhost) by hydrogen.funkthat.com (8.13.3/8.13.3/Submit) id jA9LWMvx008982; Wed, 9 Nov 2005 13:32:22 -0800 (PST) (envelope-from jmg) Date: Wed, 9 Nov 2005 13:32:22 -0800 From: John-Mark Gurney To: Danny Howard Message-ID: <20051109213221.GA775@funkthat.com> Mail-Followup-To: Danny Howard , freebsd-geom@freebsd.org, freebsd-hackers@freebsd.org References: <20051109212534.GD72876@ratchet.nebcorp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20051109212534.GD72876@ratchet.nebcorp.com> User-Agent: Mutt/1.4.2.1i X-Operating-System: FreeBSD 5.4-RELEASE-p6 i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html Cc: freebsd-hackers@freebsd.org, freebsd-geom@freebsd.org Subject: Re: GEOM for multipath? How? X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: John-Mark Gurney List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Nov 2005 21:32:23 -0000 Danny Howard wrote this message on Wed, Nov 09, 2005 at 13:25 -0800: > And I says to myself "AHA! Multipath should be easy to implement on > FreeBSD as well, via geom." But I can't find an obvious way given > existing geom utils to do this. And like I said, the box I'd use this > on is inaccesible for now. > > Basically, I'd want a provider, that would see two disks, and if it > could talk to one disk, it would, else it would talk to the other. geom_fox is what you are looking for: http://lists.freebsd.org/pipermail/freebsd-current/2003-June/005288.html but as phk mentions: but since the isp driver has very aggresive retrie policies as it is now, the actual usability is still somewhat below par. i.e. if a request goes to one path, it will never be failed, and not get a change to try the other path... I can't seem to find the recent mailing list messages talking about these issues... -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not." From owner-freebsd-geom@FreeBSD.ORG Wed Nov 9 21:41: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 422AC16A420; Wed, 9 Nov 2005 21:41:30 +0000 (GMT) (envelope-from djh@nebcorp.com) Received: from ratchet.nebcorp.com (ratchet.nebcorp.com [205.217.153.72]) by mx1.FreeBSD.org (Postfix) with ESMTP id DEE2B43D46; Wed, 9 Nov 2005 21:41:29 +0000 (GMT) (envelope-from djh@nebcorp.com) Received: by ratchet.nebcorp.com (Postfix, from userid 1014) id BEA22D982E; Wed, 9 Nov 2005 13:41:29 -0800 (PST) Date: Wed, 9 Nov 2005 13:41:29 -0800 From: Danny Howard To: freebsd-geom@freebsd.org, freebsd-hackers@freebsd.org Message-ID: <20051109214129.GE72876@ratchet.nebcorp.com> References: <20051109212534.GD72876@ratchet.nebcorp.com> <20051109213221.GA775@funkthat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20051109213221.GA775@funkthat.com> User-Agent: Mutt/1.4.2.1i X-Loop: djhoward@uiuc.edu Cc: Subject: Re: GEOM for multipath? How? 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, 09 Nov 2005 21:41:30 -0000 Gurney, Hey ... yes, I recall there being issues with the QLogic drivers ... I wonder if anyone has given the mpt drivers a shot? I was able to speak with an engineer at Engenio (now owned by LSI) and she said there were some issues with the QLogic dual-port cards that were interesting to her, but the LSI dual-port cards behaved differently ... ... I need to dig up her contact information ... Of course, my system-in-the-datacenter has QLogic cards in it ... :) But it is very nice to see the fox is out and about. -danny From owner-freebsd-geom@FreeBSD.ORG Thu Nov 10 13:22:23 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 7B2BB16A41F; Thu, 10 Nov 2005 13:22:23 +0000 (GMT) (envelope-from babkin@verizon.net) Received: from vms040pub.verizon.net (vms040pub.verizon.net [206.46.252.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4462743D45; Thu, 10 Nov 2005 13:22:23 +0000 (GMT) (envelope-from babkin@verizon.net) Received: from vms170.mailsrvcs.net ([192.168.1.3]) by vms040.mailsrvcs.net (Sun Java System Messaging Server 6.2-4.02 (built Sep 9 2005)) with ESMTPA id <0IPQ002BWPQQRB10@vms040.mailsrvcs.net>; Thu, 10 Nov 2005 07:06:26 -0600 (CST) Date: Thu, 10 Nov 2005 07:06:26 -0600 (CST) From: Sergey Babkin To: Danny Howard , freebsd-geom@freebsd.org, freebsd-hackers@freebsd.org Message-id: <32275093.1131627986609.JavaMail.root@vms170.mailsrvcs.net> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit Cc: Subject: Re: Re: GEOM for multipath? How? X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: babkin@users.sf.net List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Nov 2005 13:22:23 -0000 >From: Danny Howard >Hey ... yes, I recall there being issues with the QLogic drivers ... I >wonder if anyone has given the mpt drivers a shot? I was able to speak >with an engineer at Engenio (now owned by LSI) and she said there were >some issues with the QLogic dual-port cards that were interesting to >her, but the LSI dual-port cards behaved differently ... QLogic worked fine in multi-path configuration with UnixWare. I think LSI and Adaptec did too. The only trick is to make sure that the IRQs of the cards are not shared between the cards or with any other device. -SB From owner-freebsd-geom@FreeBSD.ORG Thu Nov 10 13:48:21 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 331DD16A41F; Thu, 10 Nov 2005 13:48:21 +0000 (GMT) (envelope-from phk@critter.freebsd.dk) Received: from phk.freebsd.dk (phk.freebsd.dk [130.225.244.222]) by mx1.FreeBSD.org (Postfix) with ESMTP id C684143D4C; Thu, 10 Nov 2005 13:48:20 +0000 (GMT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (unknown [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id CA3DCBC84; Thu, 10 Nov 2005 13:48:16 +0000 (UTC) To: babkin@users.sf.net From: "Poul-Henning Kamp" In-Reply-To: Your message of "Thu, 10 Nov 2005 07:06:26 CST." <32275093.1131627986609.JavaMail.root@vms170.mailsrvcs.net> Date: Thu, 10 Nov 2005 14:48:15 +0100 Message-ID: <5582.1131630495@critter.freebsd.dk> Sender: phk@critter.freebsd.dk Cc: Danny Howard , freebsd-hackers@freebsd.org, freebsd-geom@freebsd.org Subject: Re: GEOM for multipath? How? 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, 10 Nov 2005 13:48:21 -0000 In message <32275093.1131627986609.JavaMail.root@vms170.mailsrvcs.net>, Sergey Babkin writes: >>From: Danny Howard > >>Hey ... yes, I recall there being issues with the QLogic drivers ... I >>wonder if anyone has given the mpt drivers a shot? I was able to speak >>with an engineer at Engenio (now owned by LSI) and she said there were >>some issues with the QLogic dual-port cards that were interesting to >>her, but the LSI dual-port cards behaved differently ... > >QLogic worked fine in multi-path configuration with UnixWare. >I think LSI and Adaptec did too. The only trick is to make sure >that the IRQs of the cards are not shared between the cards or with >any other device. I suspect it is not the card as much as the driver, but I am not sure. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. From owner-freebsd-geom@FreeBSD.ORG Thu Nov 10 14:01:36 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 06BC116A43E; Thu, 10 Nov 2005 14:01:36 +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 5E51843D45; Thu, 10 Nov 2005 14:01:32 +0000 (GMT) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 4A28551CD1; Thu, 10 Nov 2005 15:01:31 +0100 (CET) Received: from localhost (pjd.wheel.pl [10.0.1.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 4923550F92; Thu, 10 Nov 2005 15:01:25 +0100 (CET) Date: Thu, 10 Nov 2005 15:01:13 +0100 From: Pawel Jakub Dawidek To: Poul-Henning Kamp Message-ID: <20051110140113.GC29291@garage.freebsd.pl> References: <32275093.1131627986609.JavaMail.root@vms170.mailsrvcs.net> <5582.1131630495@critter.freebsd.dk> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="MnLPg7ZWsaic7Fhd" Content-Disposition: inline In-Reply-To: <5582.1131630495@critter.freebsd.dk> 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=-5.9 required=3.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.4 Cc: Danny Howard , freebsd-geom@freebsd.org, babkin@users.sf.net, freebsd-hackers@freebsd.org Subject: Re: GEOM for multipath? How? 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, 10 Nov 2005 14:01:36 -0000 --MnLPg7ZWsaic7Fhd Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Nov 10, 2005 at 02:48:15PM +0100, Poul-Henning Kamp wrote: +> In message <32275093.1131627986609.JavaMail.root@vms170.mailsrvcs.net>, = Sergey=20 +> Babkin writes: +> >>From: Danny Howard +> > +> >>Hey ... yes, I recall there being issues with the QLogic drivers ... I +> >>wonder if anyone has given the mpt drivers a shot? I was able to speak +> >>with an engineer at Engenio (now owned by LSI) and she said there were +> >>some issues with the QLogic dual-port cards that were interesting to +> >>her, but the LSI dual-port cards behaved differently ... +> > +> >QLogic worked fine in multi-path configuration with UnixWare. +> >I think LSI and Adaptec did too. The only trick is to make sure=20 +> >that the IRQs of the cards are not shared between the cards or with +> >any other device. +>=20 +> I suspect it is not the card as much as the driver, but I am not sure. I was able to modify the driver in a way multipathing started to work (no more hanging request when path was disconnected). It was hackish, but worked, so I'm quite sure it's driver's fault. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --MnLPg7ZWsaic7Fhd Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDc1KpForvXbEpPzQRAt8ZAKC5L+cJOGO+O/n8roo7b31zDO0mYQCfWebc V8AanVflb0TACzFCwxNBjMM= =wcL/ -----END PGP SIGNATURE----- --MnLPg7ZWsaic7Fhd-- From owner-freebsd-geom@FreeBSD.ORG Thu Nov 10 17:36: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 F24E316A41F; Thu, 10 Nov 2005 17:36:01 +0000 (GMT) (envelope-from djh@nebcorp.com) Received: from ratchet.nebcorp.com (ratchet.nebcorp.com [205.217.153.72]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8E5FD43D58; Thu, 10 Nov 2005 17:36:00 +0000 (GMT) (envelope-from djh@nebcorp.com) Received: by ratchet.nebcorp.com (Postfix, from userid 1014) id 4F56BD983B; Thu, 10 Nov 2005 09:36:00 -0800 (PST) Date: Thu, 10 Nov 2005 09:36:00 -0800 From: Danny Howard To: Pawel Jakub Dawidek Message-ID: <20051110173600.GA23887@ratchet.nebcorp.com> References: <32275093.1131627986609.JavaMail.root@vms170.mailsrvcs.net> <5582.1131630495@critter.freebsd.dk> <20051110140113.GC29291@garage.freebsd.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20051110140113.GC29291@garage.freebsd.pl> User-Agent: Mutt/1.4.2.1i X-Loop: djhoward@uiuc.edu Cc: freebsd-hackers@freebsd.org, Poul-Henning Kamp , babkin@users.sf.net, freebsd-geom@freebsd.org Subject: Re: GEOM for multipath? How? 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, 10 Nov 2005 17:36:02 -0000 On Thu, Nov 10, 2005 at 03:01:13PM +0100, Pawel Jakub Dawidek wrote: > On Thu, Nov 10, 2005 at 02:48:15PM +0100, Poul-Henning Kamp wrote: > +> In message <32275093.1131627986609.JavaMail.root@vms170.mailsrvcs.net>, Sergey > +> Babkin writes: > +> >QLogic worked fine in multi-path configuration with UnixWare. > +> >I think LSI and Adaptec did too. The only trick is to make sure > +> >that the IRQs of the cards are not shared between the cards or with > +> >any other device. > +> > +> I suspect it is not the card as much as the driver, but I am not sure. > > I was able to modify the driver in a way multipathing started to work > (no more hanging request when path was disconnected). It was hackish, > but worked, so I'm quite sure it's driver's fault. Well, it is good to hear that multipathing is working in some cases. But, and I don't mean to troll or flame, just get my job done, it sounds like if I want MP on the production database, I should stick with the Red Hat this time around, eh? Hopefully I can get some infrastructure to test on sometime. It would be neat if MP on FreeBDS was very straightforward. It would be neater still if I could make some small contribution to everyone elses' efforts to make it happen. :) Thanks, -danny -- http://dannyman.toldme.com/ From owner-freebsd-geom@FreeBSD.ORG Fri Nov 11 15:08:36 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 1A86616A41F for ; Fri, 11 Nov 2005 15:08:36 +0000 (GMT) (envelope-from mailing@digital.nonspace.net) Received: from v00058.home.net.pl (data.pl [212.85.96.58]) by mx1.FreeBSD.org (Postfix) with SMTP id 38A1343D46 for ; Fri, 11 Nov 2005 15:08:34 +0000 (GMT) (envelope-from mailing@digital.nonspace.net) Received: from localhost (dot.data@home@127.0.0.1) by matrix01.home.net.pl with SMTP; Fri, 11 Nov 2005 15:08:30 -0000 Date: Fri, 11 Nov 2005 16:07:27 +0100 From: Michal Bartkowiak To: freebsd-geom@freebsd.org Message-Id: <20051111160727.0d07dfd7.mailing@digital.nonspace.net> X-Mailer: Sylpheed version 1.0.6 (GTK+ 1.2.10; i386-portbld-freebsd5.4) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: encrypting root partition with geli 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, 11 Nov 2005 15:08:36 -0000 Hello, I know that geli is well suited for encrypting root partition (with -b option) but I don't get how to exactly achive this, because befeore initialization there is filesystem present and this partition is filled with data.. can I simply use init argument on it? Or should I create additional partition, copy all files from / to this new one, initialize it and after rebooting delete old? I'll be really happy if someone could give me some hints or even detailed solution. My second question is about /boot directory - both unencrypted on usb device and encrypted from root partiotion should be exactly the same? And finally how to encrypt more than one partiotion with the same passphrase assuming that one of them is root partiotion and I want all of them to be mounted at boot time (so passphrase should be entered just once)? Thanks for all suggestions and replies, Michal Bartkowiak From owner-freebsd-geom@FreeBSD.ORG Sat Nov 12 00:19:56 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 A2C5816A41F; Sat, 12 Nov 2005 00:19:56 +0000 (GMT) (envelope-from saturnero@freesbie.org) Received: from jail1-fbsd4.consiagnet.it (jail1-fbsd4.consiagnet.it [83.149.128.151]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2858B43D46; Sat, 12 Nov 2005 00:19:55 +0000 (GMT) (envelope-from saturnero@freesbie.org) Received: from [192.168.99.202] (host165-171.pool872.interbusiness.it [87.2.171.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by jail1-fbsd4.consiagnet.it (Postfix) with ESMTP id DCD4D5747; Sat, 12 Nov 2005 01:24:33 +0100 (CET) Message-ID: <43753528.7030802@freesbie.org> Date: Sat, 12 Nov 2005 01:19:52 +0100 From: Dario Freni User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051001) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Chris Pressey , current@freebsd.org, geom@freebsd.org References: <20051027200448.1ba236fe.cpressey@catseye.mine.nu> In-Reply-To: <20051027200448.1ba236fe.cpressey@catseye.mine.nu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: fdisk(8) no longer capable of altering geometry X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Nov 2005 00:19:56 -0000 My little follow-up to this issue. This bug is quite critical on products using bsdinstaller such as FreeSBIE or pfSense. I heard rumours that PC-BSD also encounter this problem and had to workaround it by sysinstall. Can somebody please take a look at it? Thanks, Dario Chris Pressey wrote: > [this is a follow-up to / correction of my post to geom@ a few days ago, > to which there was no reply] > > Hello, > > It appears that fdisk(8) is no longer capable of altering the geometry > of a disk. (By which I mean, the kernel's idea of the BIOS'es idea of > the geometry, of course.) I'd find it reassuring to know whether or not > anyone else is seeing the same behaviour, before I go the official route > and file a PR. > > Initially I thought that this failure case was only for uninitialized > disks, but I have tried further tests and I can't get fdisk(8) to change > the geometry in any of the cases. These cases are: > > a. uninitialized, totally blank disk (dd if=/dev/zero of=/dev/ad1 ...) > b. initialized disk with FreeBSD (or any other OS) installed on it > c. same as b, but with its root partition mounted on /mnt > d. the disk containing the currently booted FreeBSD system > (mounted on /, of course) > > In each of these cases, I tried a sequence like the following: > > fdisk -BI ad1 > fdisk -u ad1 > say yes, and plug in different but compatible values for cylinders, > heads, and sectors/track> > > fdisk ad1 > > > The behaviour I see is, in summary: > > a & b: fdisk issues the warning "fdisk: Geom not found" which presumably > refers to the fact that there is no GEOM MBR provider for that > disk. It then falls back to the legacy behaviour of raw-writing > the partition table into sector zero of the disk. This does not, > however, trigger an update of the kernel's idea of the geometry. > > c & d: no "Geom not found" warning, but no change in geometry either. > > I don't see this behaviour on DragonFly; cases a and b work as you would > logically expect (as they worked in 4.x, AFAIR, but I have not yet > tested this) where the geometry does get changed, and subsequent runs of > fdisk report the changed geometry. > > In cases c & d, the behaviour is the same as FreeBSD - nothing changes. > This is not too surprising, since the disk _is_ in use - but an error > message would probably make more sense. > > This bug is one of the few remaining things standing in the way of > porting the BSD Installer to FreeBSD. Without some way of altering the > the geometry, it can't install onto a system whose BIOS misreports the > disk geometry. > > My analysis of the problem can be found in my previous post to geom@, > but to sum it up: I think fdisk needs to inform GEOM somehow that the > geometry should be changed. It might need to trigger the creation of a > GEOM MBR provider for the disk before it does so; but I'm not certain of > any of this, since my knowledge of GEOM is slim at best. > > Hopefully someone more familiar with GEOM and such under -CURRENT is > listening and can shed more light on this problem and/or provide a > workaround and/or explain how I'm wrong and show me the right way to do > what I'm trying to do (change geometry) in -CURRENT. > > Thanks for your time, > -Chris > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > -- Dario Freni (saturnero@freesbie.org) FreeSBIE developer (http://www.freesbie.org) GPG Public key at http://www.saturnero.net/saturnero.asc