From owner-freebsd-geom@FreeBSD.ORG Sun Dec 4 00:00:32 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 01A2416A420 for ; Sun, 4 Dec 2005 00:00:32 +0000 (GMT) (envelope-from mroyce@gmail.com) Received: from lion.esosoft.net (lion.esosoft.net [38.118.200.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id BC56143D55 for ; Sun, 4 Dec 2005 00:00:31 +0000 (GMT) (envelope-from mroyce@gmail.com) Received: from c-67-180-255-192.hsd1.ca.comcast.net ([67.180.255.192] helo=underdog.gmail.com) by lion.esosoft.net with esmtpa (Exim 4.43) id 1EihIt-000HM0-Gi for freebsd-geom@freebsd.org; Sat, 03 Dec 2005 16:00:31 -0800 Message-Id: <6.2.5.6.2.20051203155803.05950eb0@baac.net> X-Mailer: QUALCOMM Windows Eudora Version 6.2.5.6 Date: Sat, 03 Dec 2005 16:00:40 -0800 To: freebsd-geom@freebsd.org From: "M. Royce" Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: gmirror forget question - why forget gm0 instead of ad4? 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, 04 Dec 2005 00:00:32 -0000 I want to be sure I understand how to replace a drive if it fails now that I have gmirror working. I don't understand the forget command. I saw this in comments section of Ralf's web page about gmirror: -------- If a drive fails (eg. drive /dev/ad4): # gmirror forget gm0 # shutdown -h replace the drive with a fresh one # gmirror insert gm0 /dev/ad4 And it should start synchronizing if autosynchronization is turned on. -------- Why do you forget gm0? I would think if ad4 failed I'd "forget /dev/ad4". would really appreciate a brief explanation. thanks! Royce From owner-freebsd-geom@FreeBSD.ORG Sun Dec 4 01:00: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 6D36E16A41F for ; Sun, 4 Dec 2005 01:00:07 +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 B19C143D86 for ; Sun, 4 Dec 2005 01:00:01 +0000 (GMT) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id EF49E52C3F; Sun, 4 Dec 2005 01:59:59 +0100 (CET) Received: from localhost (djx92.neoplus.adsl.tpnet.pl [83.24.1.92]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id A22D352C7F; Sun, 4 Dec 2005 01:59:53 +0100 (CET) Date: Sun, 4 Dec 2005 01:59:10 +0100 From: Pawel Jakub Dawidek To: "M. Royce" Message-ID: <20051204004358.GD3698@garage.freebsd.pl> References: <6.2.5.6.2.20051203155803.05950eb0@baac.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="gMR3gsNFwZpnI/Ts" Content-Disposition: inline In-Reply-To: <6.2.5.6.2.20051203155803.05950eb0@baac.net> 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: gmirror forget question - why forget gm0 instead of ad4? 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, 04 Dec 2005 01:00:07 -0000 --gMR3gsNFwZpnI/Ts Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Dec 03, 2005 at 04:00:40PM -0800, M. Royce wrote: +> I want to be sure I understand how to replace a drive if it fails now th= at I have gmirror working. I don't understand the forget command. +>=20 +> I saw this in comments section of Ralf's web page about gmirror: +>=20 +> -------- +> If a drive fails (eg. drive /dev/ad4): +>=20 +> # gmirror forget gm0 +> # shutdown -h +>=20 +> replace the drive with a fresh one +>=20 +> # gmirror insert gm0 /dev/ad4 +>=20 +> And it should start synchronizing if autosynchronization is turned on. +> -------- +>=20 +> Why do you forget gm0? I would think if ad4 failed I'd "forget /dev/ad4". +>=20 +> would really appreciate a brief explanation. If a drive fails or is not detected, gmirror doesn't know if it was ad4, da0, da0s1a or anything else, because it discovers components based on their metadata, not names. By doing 'gmirror forget' you say: "forget about missing components". Without forgetting missing components you can't run specific actions, which need to be notes in metadata of all components. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --gMR3gsNFwZpnI/Ts Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDkj9eForvXbEpPzQRAj9uAKDoJ8LQejvM1zi3H8YS3WrEFaXyrgCcC0Go S48qlqWtusGqng8641DRcMU= =JqrT -----END PGP SIGNATURE----- --gMR3gsNFwZpnI/Ts-- From owner-freebsd-geom@FreeBSD.ORG Sun Dec 4 04:18: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 23EDF16A420 for ; Sun, 4 Dec 2005 04:18:07 +0000 (GMT) (envelope-from mroyce@gmail.com) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id 80EEA43D6D for ; Sun, 4 Dec 2005 04:18:03 +0000 (GMT) (envelope-from mroyce@gmail.com) Received: by wproxy.gmail.com with SMTP id i5so809272wra for ; Sat, 03 Dec 2005 20:18:02 -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:references; b=RrkEB2KELgxlVj48KOP/Dt7lSBpIwPbLJU4x++CAQ7ju2ViravYyHc61Zy8wix55AeNJFSR1gTAzGPU5+UKmQ4XQTgfXXvlWPxSphv4Fv42cPrhjdGyOvnchyG266d8XzkPx0RwAbwNEhEOZN8CE40bSyw5K75TJzohNXwupM+k= Received: by 10.64.193.4 with SMTP id q4mr2192979qbf; Sat, 03 Dec 2005 20:18:02 -0800 (PST) Received: by 10.65.163.7 with HTTP; Sat, 3 Dec 2005 20:18:02 -0800 (PST) Message-ID: <2b0d6fa20512032018g581dc6feybcf13c05e85af3ec@mail.gmail.com> Date: Sat, 3 Dec 2005 20:18:02 -0800 From: Royce To: Pawel Jakub Dawidek In-Reply-To: <20051204004358.GD3698@garage.freebsd.pl> MIME-Version: 1.0 References: <6.2.5.6.2.20051203155803.05950eb0@baac.net> <20051204004358.GD3698@garage.freebsd.pl> 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 Cc: freebsd-geom@freebsd.org Subject: Re: gmirror forget question - why forget gm0 instead of ad4? 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, 04 Dec 2005 04:18:07 -0000 Pawel, thanks! This is just the info I needed. Now it makes sense, rather than risking running commands I don't understand. Royce On 12/3/05, Pawel Jakub Dawidek wrote: > > > If a drive fails or is not detected, gmirror doesn't know if it was ad4, > da0, da0s1a or anything else, because it discovers components based on > their metadata, not names. By doing 'gmirror forget' you say: "forget > about missing components". Without forgetting missing components you > can't run specific actions, which need to be notes in metadata of all > components. > > From owner-freebsd-geom@FreeBSD.ORG Mon Dec 5 11:02: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 51B0616A41F for ; Mon, 5 Dec 2005 11:02:07 +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 C91CC43D83 for ; Mon, 5 Dec 2005 11:01:56 +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 jB5B1up5023851 for ; Mon, 5 Dec 2005 11:01:56 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id jB5B1sKg023843 for freebsd-geom@freebsd.org; Mon, 5 Dec 2005 11:01:54 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 5 Dec 2005 11:01:54 GMT Message-Id: <200512051101.jB5B1sKg023843@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, 05 Dec 2005 11:02:07 -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 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 Dec 5 22:37:15 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 38BBE16A420; Mon, 5 Dec 2005 22:37:15 +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 ECA5843D5E; Mon, 5 Dec 2005 22:37:14 +0000 (GMT) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id jB5MbEtf033680; Mon, 5 Dec 2005 22:37:14 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id jB5MbEOF033676; Mon, 5 Dec 2005 22:37:14 GMT (envelope-from linimon) Date: Mon, 5 Dec 2005 22:37:14 GMT From: Mark Linimon Message-Id: <200512052237.jB5MbEOF033676@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-geom@FreeBSD.org Cc: Subject: Re: kern/89998: [geom] syntax inconsistency with geom_ drivers X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Dec 2005 22:37:15 -0000 Old Synopsis: syntax inconsistency with geom_ drivers New Synopsis: [geom] syntax inconsistency with geom_ drivers Responsible-Changed-From-To: freebsd-bugs->freebsd-geom Responsible-Changed-By: linimon Responsible-Changed-When: Mon Dec 5 22:36:50 GMT 2005 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=89998 From owner-freebsd-geom@FreeBSD.ORG Mon Dec 5 22:53:53 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 EEFCF16A41F; Mon, 5 Dec 2005 22:53:53 +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 31CCF43D6B; Mon, 5 Dec 2005 22:53:53 +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 jB5MrrnG034568; Mon, 5 Dec 2005 22:53:53 GMT (envelope-from pjd@freefall.freebsd.org) Received: (from pjd@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id jB5MrqVS034564; Mon, 5 Dec 2005 22:53:53 GMT (envelope-from pjd) Date: Mon, 5 Dec 2005 22:53:53 GMT From: Pawel Jakub Dawidek Message-Id: <200512052253.jB5MrqVS034564@freefall.freebsd.org> To: pjd@FreeBSD.org, freebsd-geom@FreeBSD.org, fjoe@FreeBSD.org Cc: Subject: Re: kern/89998: [geom] syntax inconsistency with geom_ drivers X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Dec 2005 22:53:54 -0000 Synopsis: [geom] syntax inconsistency with geom_ drivers Responsible-Changed-From-To: freebsd-geom->fjoe Responsible-Changed-By: pjd Responsible-Changed-When: Mon Dec 5 22:51:07 GMT 2005 Responsible-Changed-Why: ggate is on purpose, because it create g_gate via DECLARE_GEOM_CLASS() and ggate via DECLARE_MODULE(9) (as I need MOD_LOAD/MOD_UNLOAD hooks). So the only one left is geom_uzip, which is fjoe@'s child. http://www.freebsd.org/cgi/query-pr.cgi?pr=89998 From owner-freebsd-geom@FreeBSD.ORG Tue Dec 6 05:42:45 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 85D6116A41F; Tue, 6 Dec 2005 05:42:45 +0000 (GMT) (envelope-from andrew@fubar.geek.nz) Received: from mta205-rme.xtra.co.nz (mta205-rme.xtra.co.nz [210.86.15.187]) by mx1.FreeBSD.org (Postfix) with ESMTP id 63CF343D45; Tue, 6 Dec 2005 05:42:43 +0000 (GMT) (envelope-from andrew@fubar.geek.nz) Received: from mta4-rme.xtra.co.nz ([210.86.15.193]) by mta205-rme.xtra.co.nz with ESMTP id <20051206054242.DKIA1687.mta205-rme.xtra.co.nz@mta4-rme.xtra.co.nz>; Tue, 6 Dec 2005 18:42:42 +1300 Received: from serv.int.fubar.geek.nz ([222.152.219.118]) by mta4-rme.xtra.co.nz with ESMTP id <20051206054242.KZVP1416.mta4-rme.xtra.co.nz@serv.int.fubar.geek.nz>; Tue, 6 Dec 2005 18:42:42 +1300 Received: from [192.168.1.160] (unknown [192.168.1.160]) by serv.int.fubar.geek.nz (Postfix) with ESMTP id 976FA60DD; Tue, 6 Dec 2005 18:42:40 +1300 (NZDT) Message-ID: <439524D6.6010705@fubar.geek.nz> Date: Tue, 06 Dec 2005 18:42:46 +1300 From: Andrew Turner User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051013) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Chris Pressey References: <20051027200448.1ba236fe.cpressey@catseye.mine.nu> <43753528.7030802@freesbie.org> <20051202123120.736bf5ff.cpressey@catseye.mine.nu> In-Reply-To: <20051202123120.736bf5ff.cpressey@catseye.mine.nu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: geom@freebsd.org, current@freebsd.org, discussion@bsdinstaller.com Subject: Re: [BSDInstaller] 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: Tue, 06 Dec 2005 05:42:45 -0000 Chris Pressey wrote: > Does ANYONE else see the same behaviour that I am seeing? Namely: > >- As root, run "fdisk -u ad1" (or on whatever disk you like) >- Tell fdisk(8) "yes, I'd like to change our idea of what the BIOS > thinks (of the geometry of this disk)" >- Give fdisk(8) any new geometry values you like >- Be happy with this choice >- Choose to write the new partition table >- Get a "GEOM not found" error (optional) >- Run "fdisk ad1" again and observe that the geometry hasn't changed > >I see this on CURRENT as of late last night. > > I can see this on CURRENT from a week ago. >-Chris > > > > From owner-freebsd-geom@FreeBSD.ORG Wed Dec 7 14:45: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 6CE9C16A422 for ; Wed, 7 Dec 2005 14:45:07 +0000 (GMT) (envelope-from oxy@field.hu) Received: from dumballah.tvnet.hu (dumballah.tvnet.hu [195.38.96.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id AA96143DCD for ; Wed, 7 Dec 2005 14:44:21 +0000 (GMT) (envelope-from oxy@field.hu) Received: from localhost (localhost.localdomain [127.0.0.1]) by dumballah.tvnet.hu (Postfix) with ESMTP id D5575101794 for ; Wed, 7 Dec 2005 15:44:15 +0100 (CET) Received: from dumballah.tvnet.hu ([127.0.0.1]) by localhost (dumballah.tvnet.hu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 27280-23 for ; Wed, 7 Dec 2005 15:44:15 +0100 (CET) Received: from oxy (dsl85-238-73-88.pool.tvnet.hu [85.238.73.88]) by dumballah.tvnet.hu (Postfix) with SMTP id A0F08101B0F for ; Wed, 7 Dec 2005 15:44:14 +0100 (CET) Message-ID: <000b01c5fb3c$b47456e0$0201a8c0@oxy> From: "OxY" To: Date: Wed, 7 Dec 2005 15:44:19 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-2"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2527 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527 X-Virus-Scanned: by amavisd-new at tvnet.hu Subject: geom mirror write performance problem 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, 07 Dec 2005 14:45:08 -0000 i found the real problem, it was not the xl driver, but the geom mirror.. if i try to write to an other disk, not in the main systems raid1, then download is ok, 10M/s... then i tried to remove one disk from the raid1, and write on it.. the download is OK again... when i sync the raid array it gives poor performance again 1M/s.. what's wrong? the disks are OK, all hardwares too, it worked for almost a year without problem.. i upgraded from 5.4->6.0-rel 1week, that's when the problem appeared.. i use geom mirror on 2 other servers (5.4, 6.0) and works fine, fast enough.. any idea what to do? From owner-freebsd-geom@FreeBSD.ORG Wed Dec 7 15:52:34 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 AB9C116A41F for ; Wed, 7 Dec 2005 15:52:34 +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 44CBC43D49 for ; Wed, 7 Dec 2005 15:52:32 +0000 (GMT) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id E4F5452BC8; Wed, 7 Dec 2005 16:52:30 +0100 (CET) Received: from localhost (dke234.neoplus.adsl.tpnet.pl [83.24.8.234]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id ED00950F92; Wed, 7 Dec 2005 16:52:25 +0100 (CET) Date: Wed, 7 Dec 2005 16:51:33 +0100 From: Pawel Jakub Dawidek To: OxY Message-ID: <20051207155133.GI53288@garage.freebsd.pl> References: <000b01c5fb3c$b47456e0$0201a8c0@oxy> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="w2JjAQZceEVGylhD" Content-Disposition: inline In-Reply-To: <000b01c5fb3c$b47456e0$0201a8c0@oxy> 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: geom mirror write performance problem 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, 07 Dec 2005 15:52:34 -0000 --w2JjAQZceEVGylhD Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Dec 07, 2005 at 03:44:19PM +0100, OxY wrote: +> i found the real problem, it was not the xl driver, but the geom mirror.. +> if i try to write to an other disk, not in the main systems raid1, then +> download is ok, 10M/s... +> then i tried to remove one disk from the raid1, and write on it.. +> the download is OK again... +> when i sync the raid array it gives poor performance again 1M/s.. +> what's wrong? +>=20 +> the disks are OK, all hardwares too, it worked for almost a year without= problem.. +> i upgraded from 5.4->6.0-rel 1week, that's when the problem appeared.. +>=20 +> i use geom mirror on 2 other servers (5.4, 6.0) and works fine, fast eno= ugh.. +> any idea what to do?=20 Could you send dmesg from you system? --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --w2JjAQZceEVGylhD Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDlwUFForvXbEpPzQRAhyzAJ4j2LtVrWiONWBrnJMdEwsvUrn/lQCgpzUv cuvg8ZhzJXhdWhmpGW6OumY= =614B -----END PGP SIGNATURE----- --w2JjAQZceEVGylhD-- From owner-freebsd-geom@FreeBSD.ORG Wed Dec 7 16:32: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 DB4A616A41F; Wed, 7 Dec 2005 16:32:03 +0000 (GMT) (envelope-from oxy@field.hu) Received: from dumballah.tvnet.hu (dumballah.tvnet.hu [195.38.96.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9B6F543D46; Wed, 7 Dec 2005 16:32:02 +0000 (GMT) (envelope-from oxy@field.hu) Received: from localhost (localhost.localdomain [127.0.0.1]) by dumballah.tvnet.hu (Postfix) with ESMTP id 4A095101A8C; Wed, 7 Dec 2005 17:32:01 +0100 (CET) Received: from dumballah.tvnet.hu ([127.0.0.1]) by localhost (dumballah.tvnet.hu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 08887-17; Wed, 7 Dec 2005 17:32:00 +0100 (CET) Received: from oxy (dsl85-238-73-88.pool.tvnet.hu [85.238.73.88]) by dumballah.tvnet.hu (Postfix) with SMTP id EC4391018DA; Wed, 7 Dec 2005 17:31:59 +0100 (CET) Message-ID: <000701c5fb4b$c2682010$0201a8c0@oxy> From: "OxY" To: "Pawel Jakub Dawidek" References: <000b01c5fb3c$b47456e0$0201a8c0@oxy> <20051207155133.GI53288@garage.freebsd.pl> Date: Wed, 7 Dec 2005 17:32:04 +0100 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0004_01C5FB54.23B7CD40" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2527 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527 X-Virus-Scanned: by amavisd-new at tvnet.hu Cc: freebsd-geom@freebsd.org Subject: Re: geom mirror write performance problem 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, 07 Dec 2005 16:32:04 -0000 This is a multi-part message in MIME format. ------=_NextPart_000_0004_01C5FB54.23B7CD40 Content-Type: text/plain; format=flowed; charset="iso-8859-2"; reply-type=original Content-Transfer-Encoding: 7bit here's my dmesg ----- Original Message ----- From: "Pawel Jakub Dawidek" To: "OxY" Cc: Sent: Wednesday, December 07, 2005 4:51 PM Subject: Re: geom mirror write performance problem ------=_NextPart_000_0004_01C5FB54.23B7CD40 Content-Type: text/plain; format=flowed; name="dmesg.txt"; reply-type=original Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="dmesg.txt" Dec 6 23:22:08 Sco syslogd: kernel boot file is /boot/kernel/kernel Dec 6 23:22:08 Sco kernel: Copyright (c) 1992-2005 The FreeBSD Project. Dec 6 23:22:08 Sco kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988, = 1989, 1991, 1992, 1993, 1994 Dec 6 23:22:08 Sco kernel: The Regents of the University of California. = All rights reserved. Dec 6 23:22:08 Sco kernel: FreeBSD 6.0-RELEASE #0: Thu Dec 1 16:44:22 = CET 2005 Dec 6 23:22:08 Sco kernel: = oxygen@Sco.Field.hu:/usr/obj/usr/src/sys/ScoField Dec 6 23:22:08 Sco kernel: Timecounter "i8254" frequency 1193182 Hz = quality 0 Dec 6 23:22:08 Sco kernel: CPU: AMD Athlon(tm) processor (1328.02-MHz = 686-class CPU) Dec 6 23:22:08 Sco kernel: Origin =3D "AuthenticAMD" Id =3D 0x642 = Stepping =3D 2 Dec 6 23:22:08 Sco kernel: = Features=3D0x183f9ff Dec 6 23:22:08 Sco kernel: AMD = Features=3D0xc0440800,MMX+,3DNow+,3DNow> Dec 6 23:22:08 Sco kernel: real memory =3D 805240832 (767 MB) Dec 6 23:22:08 Sco kernel: avail memory =3D 782929920 (746 MB) Dec 6 23:22:08 Sco kernel: npx0: [FAST] Dec 6 23:22:08 Sco kernel: npx0: on motherboard Dec 6 23:22:08 Sco kernel: npx0: INT 16 interface Dec 6 23:22:08 Sco kernel: acpi0: on motherboard Dec 6 23:22:08 Sco kernel: acpi0: Power Button (fixed) Dec 6 23:22:08 Sco kernel: pci_link0: irq 5 on = acpi0 Dec 6 23:22:08 Sco kernel: pci_link1: irq 11 on = acpi0 Dec 6 23:22:08 Sco kernel: pci_link2: irq 10 on = acpi0 Dec 6 23:22:08 Sco kernel: pci_link3: on acpi0 Dec 6 23:22:08 Sco kernel: Timecounter "ACPI-fast" frequency 3579545 Hz = quality 1000 Dec 6 23:22:08 Sco kernel: acpi_timer0: <24-bit timer at 3.579545MHz> = port 0x4008-0x400b on acpi0 Dec 6 23:22:08 Sco kernel: cpu0: on acpi0 Dec 6 23:22:08 Sco kernel: acpi_button0: on acpi0 Dec 6 23:22:08 Sco kernel: acpi_button1: on acpi0 Dec 6 23:22:08 Sco kernel: pcib0: port = 0xcf8-0xcff,0x4000-0x407f,0x4080-0x40ff,0x5000-0x500f,0x6000-0x607f on = acpi0 Dec 6 23:22:08 Sco kernel: pci0: on pcib0 Dec 6 23:22:08 Sco kernel: pcib1: at device 1.0 on = pci0 Dec 6 23:22:08 Sco kernel: pci1: on pcib1 Dec 6 23:22:08 Sco kernel: isab0: at device 7.0 on = pci0 Dec 6 23:22:08 Sco kernel: isa0: on isab0 Dec 6 23:22:08 Sco kernel: atapci0: = port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xc000-0xc00f at device 7.1 on = pci0 Dec 6 23:22:08 Sco kernel: atapci0: Correcting VIA config for = southbridge data corruption bug Dec 6 23:22:08 Sco kernel: ata0: on atapci0 Dec 6 23:22:08 Sco kernel: ata1: on atapci0 Dec 6 23:22:08 Sco kernel: pci0: at device 9.0 (no = driver attached) Dec 6 23:22:08 Sco kernel: atapci1: port = 0xcc00-0xcc07,0xd000-0xd003,0xd400-0xd407,0xd800-0xd803,0xdc00-0xdc0f = irq 11 at device 12.0 on pci0 Dec 6 23:22:08 Sco kernel: ata2: on atapci1 Dec 6 23:22:08 Sco kernel: ata3: on atapci1 Dec 6 23:22:08 Sco kernel: xl0: <3Com 3c905C-TX Fast Etherlink XL> port = 0xe000-0xe07f mem 0xd9000000-0xd900007f irq 10 at device 13.0 on pci0 Dec 6 23:22:08 Sco kernel: miibus0: on xl0 Dec 6 23:22:08 Sco kernel: ukphy0: on miibus0 Dec 6 23:22:08 Sco kernel: ukphy0: 10baseT, 10baseT-FDX, 100baseTX, = 100baseTX-FDX, auto Dec 6 23:22:08 Sco kernel: xl0: Ethernet address: 00:0a:5e:41:62:1e Dec 6 23:22:08 Sco kernel: sio0: <16550A-compatible COM port> port = 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 Dec 6 23:22:08 Sco kernel: sio0: type 16550A Dec 6 23:22:08 Sco kernel: atkbdc0: port = 0x60,0x64 irq 1 on acpi0 Dec 6 23:22:08 Sco kernel: atkbd0: flags 0x1 irq 1 on = atkbdc0 Dec 6 23:22:08 Sco kernel: atkbd0: [GIANT-LOCKED] Dec 6 23:22:08 Sco kernel: orm0: at iomem = 0xc0000-0xc7fff,0xc8000-0xca7ff,0xcb000-0xcb7ff on isa0 Dec 6 23:22:08 Sco kernel: sc0: at flags 0x100 on isa0 Dec 6 23:22:08 Sco kernel: sc0: VGA <16 virtual consoles, = flags=3D0x300> Dec 6 23:22:08 Sco kernel: vga0: at port 0x3c0-0x3df = iomem 0xa0000-0xbffff on isa0 Dec 6 23:22:08 Sco kernel: sio1: configured irq 3 not in bitmap of = probed irqs 0 Dec 6 23:22:08 Sco kernel: sio1: port may not be enabled Dec 6 23:22:08 Sco kernel: Timecounter "TSC" frequency 1328018016 Hz = quality 800 Dec 6 23:22:08 Sco kernel: Timecounters tick every 1.000 msec Dec 6 23:22:08 Sco kernel: IP Filter: v4.1.8 initialized. Default =3D = pass all, Logging =3D enabled Dec 6 23:22:08 Sco kernel: ad0: 38204MB at = ata0-master UDMA100 Dec 6 23:22:08 Sco kernel: ad2: 38204MB at = ata1-master UDMA100 Dec 6 23:22:08 Sco kernel: ad4: 78167MB at = ata2-master UDMA100 Dec 6 23:22:08 Sco kernel: GEOM_MIRROR: Device gm0 created = (id=3D2273680881). Dec 6 23:22:08 Sco kernel: GEOM_MIRROR: Device gm0: provider ad0 = detected. Dec 6 23:22:08 Sco kernel: GEOM_MIRROR: Device gm0: provider ad2 = detected. Dec 6 23:22:08 Sco kernel: GEOM_MIRROR: Device gm0: provider ad2 = activated. Dec 6 23:22:08 Sco kernel: GEOM_MIRROR: Device gm0: provider ad0 = activated. Dec 6 23:22:08 Sco kernel: GEOM_MIRROR: Device gm0: provider mirror/gm0 = launched. Dec 6 23:22:08 Sco kernel: Trying to mount root from = ufs:/dev/mirror/gm0s1a ------=_NextPart_000_0004_01C5FB54.23B7CD40-- From owner-freebsd-geom@FreeBSD.ORG Wed Dec 7 16:56:43 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 290F416A41F for ; Wed, 7 Dec 2005 16:56:43 +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 B74D043D70 for ; Wed, 7 Dec 2005 16:56:41 +0000 (GMT) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 631AF52CA6; Wed, 7 Dec 2005 17:56:39 +0100 (CET) Received: from localhost (dke234.neoplus.adsl.tpnet.pl [83.24.8.234]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 4A1F850F92; Wed, 7 Dec 2005 17:56:32 +0100 (CET) Date: Wed, 7 Dec 2005 17:55:39 +0100 From: Pawel Jakub Dawidek To: OxY Message-ID: <20051207165538.GJ53288@garage.freebsd.pl> References: <000b01c5fb3c$b47456e0$0201a8c0@oxy> <20051207155133.GI53288@garage.freebsd.pl> <000701c5fb4b$c2682010$0201a8c0@oxy> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="y0Ed1hDcWxc3B7cn" Content-Disposition: inline In-Reply-To: <000701c5fb4b$c2682010$0201a8c0@oxy> 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: geom mirror write performance problem 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, 07 Dec 2005 16:56:43 -0000 --y0Ed1hDcWxc3B7cn Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Dec 07, 2005 at 05:32:04PM +0100, OxY wrote: +> here's my dmesg Looks good. I was wondering if you don't have two disks on the same ATA channel, but no. I'd like you tu run a test, but don't see how it can be done without destrying your mirror. Basically, you should try running two parallel writes on you both disks. Something like this: #!/bin/sh dd if=3D/dev/zero of=3D/dev/ad0 bs=3D1m count=3D1000 & dd if=3D/dev/zero of=3D/dev/ad2 bs=3D1m count=3D1000 & wait And see how it compares to single write test. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --y0Ed1hDcWxc3B7cn Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDlxQKForvXbEpPzQRAn1yAKDFMf24oGJ2OBLrV6Xd8Zup+wE9WQCePIoG 1N6BwFzsNFo20U48D7s3dao= =P9uk -----END PGP SIGNATURE----- --y0Ed1hDcWxc3B7cn-- From owner-freebsd-geom@FreeBSD.ORG Wed Dec 7 17:50:49 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 E2A3916A420; Wed, 7 Dec 2005 17:50:49 +0000 (GMT) (envelope-from oxy@field.hu) Received: from dumballah.tvnet.hu (dumballah.tvnet.hu [195.38.96.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id D332843D73; Wed, 7 Dec 2005 17:50:41 +0000 (GMT) (envelope-from oxy@field.hu) Received: from localhost (localhost.localdomain [127.0.0.1]) by dumballah.tvnet.hu (Postfix) with ESMTP id 369BD101986; Wed, 7 Dec 2005 18:50:40 +0100 (CET) Received: from dumballah.tvnet.hu ([127.0.0.1]) by localhost (dumballah.tvnet.hu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 16632-25; Wed, 7 Dec 2005 18:50:40 +0100 (CET) Received: from oxy (dsl85-238-73-88.pool.tvnet.hu [85.238.73.88]) by dumballah.tvnet.hu (Postfix) with SMTP id D8E0C10195E; Wed, 7 Dec 2005 18:50:39 +0100 (CET) Message-ID: <002201c5fb56$bff37590$0201a8c0@oxy> From: "OxY" To: "Pawel Jakub Dawidek" References: <000b01c5fb3c$b47456e0$0201a8c0@oxy><20051207155133.GI53288@garage.freebsd.pl><000701c5fb4b$c2682010$0201a8c0@oxy> <20051207165538.GJ53288@garage.freebsd.pl> Date: Wed, 7 Dec 2005 18:50:45 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-2"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2527 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527 X-Virus-Scanned: by amavisd-new at tvnet.hu Cc: freebsd-geom@freebsd.org Subject: Re: geom mirror write performance problem 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, 07 Dec 2005 17:50:50 -0000 i removed the each disk from mirror one-by-one and ran the tests: (when i removed one disk from the mirror the write speed was ok, since i added it again, then they were slow.. it was no difference which disk i did removed..) Sco root# dd if=/dev/zero of=/dev/ad0 bs=1m count=1000 1000+0 records in 1000+0 records out 1048576000 bytes transferred in 35.962419 secs (29157549 bytes/sec) Sco root# dd if=/dev/zero of=/dev/ad2 bs=1m count=1000 1000+0 records in 1000+0 records out 1048576000 bytes transferred in 36.575314 secs (28668954 bytes/sec) ----- Original Message ----- From: "Pawel Jakub Dawidek" To: "OxY" Cc: Sent: Wednesday, December 07, 2005 5:55 PM Subject: Re: geom mirror write performance problem From owner-freebsd-geom@FreeBSD.ORG Wed Dec 7 17:55:04 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 56A2216A41F for ; Wed, 7 Dec 2005 17:55:04 +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 7F64943D46 for ; Wed, 7 Dec 2005 17:55:02 +0000 (GMT) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id E32B252BC8; Wed, 7 Dec 2005 18:54:59 +0100 (CET) Received: from localhost (dke234.neoplus.adsl.tpnet.pl [83.24.8.234]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 8E35750F92; Wed, 7 Dec 2005 18:54:53 +0100 (CET) Date: Wed, 7 Dec 2005 18:53:59 +0100 From: Pawel Jakub Dawidek To: OxY Message-ID: <20051207175359.GK53288@garage.freebsd.pl> References: <20051207165538.GJ53288@garage.freebsd.pl> <002201c5fb56$bff37590$0201a8c0@oxy> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="dMdWWqg3F2Dv/qfw" Content-Disposition: inline In-Reply-To: <002201c5fb56$bff37590$0201a8c0@oxy> 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: geom mirror write performance problem 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, 07 Dec 2005 17:55:04 -0000 --dMdWWqg3F2Dv/qfw Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Dec 07, 2005 at 06:50:45PM +0100, OxY wrote: +> i removed the each disk from mirror one-by-one and ran the tests: +> (when i removed one disk from the mirror the write speed was ok, since i= added it again, then they were slow.. +> it was no difference which disk i did removed..) But the interesting thing to test is how they perform when you write to both of them at once without gmirror involved. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --dMdWWqg3F2Dv/qfw Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDlyG3ForvXbEpPzQRAseeAKCFXft4QPgElW/5WWnIgQis3JDzPgCdFDi3 0u6JQVWtYTmtIe7HUGv3iJM= =4b0B -----END PGP SIGNATURE----- --dMdWWqg3F2Dv/qfw-- From owner-freebsd-geom@FreeBSD.ORG Wed Dec 7 18:01:26 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 9143616A41F; Wed, 7 Dec 2005 18:01:26 +0000 (GMT) (envelope-from oxy@field.hu) Received: from dumballah.tvnet.hu (dumballah.tvnet.hu [195.38.96.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id E2B1C43D5E; Wed, 7 Dec 2005 18:01:25 +0000 (GMT) (envelope-from oxy@field.hu) Received: from localhost (localhost.localdomain [127.0.0.1]) by dumballah.tvnet.hu (Postfix) with ESMTP id 45CD71018BD; Wed, 7 Dec 2005 19:01:24 +0100 (CET) Received: from dumballah.tvnet.hu ([127.0.0.1]) by localhost (dumballah.tvnet.hu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 17380-38; Wed, 7 Dec 2005 19:01:23 +0100 (CET) Received: from oxy (dsl85-238-73-88.pool.tvnet.hu [85.238.73.88]) by dumballah.tvnet.hu (Postfix) with SMTP id 9EDBA10184A; Wed, 7 Dec 2005 19:01:23 +0100 (CET) Message-ID: <003a01c5fb58$3faca4e0$0201a8c0@oxy> From: "OxY" To: "Pawel Jakub Dawidek" References: <20051207165538.GJ53288@garage.freebsd.pl> <002201c5fb56$bff37590$0201a8c0@oxy> <20051207175359.GK53288@garage.freebsd.pl> Date: Wed, 7 Dec 2005 19:01:29 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-2"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2527 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527 X-Virus-Scanned: by amavisd-new at tvnet.hu Cc: freebsd-geom@freebsd.org Subject: Re: geom mirror write performance problem 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, 07 Dec 2005 18:01:26 -0000 it is not possible to test it..but i think it's ok.. it worked great, the 5.4->6.0 upgrade is the source of the problem.. +> i removed the each disk from mirror one-by-one and ran the tests: +> (when i removed one disk from the mirror the write speed was ok, since i added it again, then they were slow.. +> it was no difference which disk i did removed..) >But the interesting thing to test is how they perform when you write to >both of them at once without gmirror involved. ----- Original Message ----- From: "Pawel Jakub Dawidek" To: "OxY" Cc: Sent: Wednesday, December 07, 2005 6:53 PM Subject: Re: geom mirror write performance problem From owner-freebsd-geom@FreeBSD.ORG Wed Dec 7 18:09:50 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 B588516A42C for ; Wed, 7 Dec 2005 18:09:50 +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 6A4B843D6B for ; Wed, 7 Dec 2005 18:09:28 +0000 (GMT) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 890E652BC8; Wed, 7 Dec 2005 19:09:19 +0100 (CET) Received: from localhost (dke234.neoplus.adsl.tpnet.pl [83.24.8.234]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id AA27850F92; Wed, 7 Dec 2005 19:09:14 +0100 (CET) Date: Wed, 7 Dec 2005 19:08:21 +0100 From: Pawel Jakub Dawidek To: OxY Message-ID: <20051207180821.GL53288@garage.freebsd.pl> References: <20051207165538.GJ53288@garage.freebsd.pl> <002201c5fb56$bff37590$0201a8c0@oxy> <20051207175359.GK53288@garage.freebsd.pl> <003a01c5fb58$3faca4e0$0201a8c0@oxy> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="3CAnR4CLEnEWqRMR" Content-Disposition: inline In-Reply-To: <003a01c5fb58$3faca4e0$0201a8c0@oxy> 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: geom mirror write performance problem 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, 07 Dec 2005 18:09:51 -0000 --3CAnR4CLEnEWqRMR Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Dec 07, 2005 at 07:01:29PM +0100, OxY wrote: +> it is not possible to test it..but i think it's ok.. +> it worked great, the 5.4->6.0 upgrade is the source of the problem.. Actually it is possible... You said, when only one component is connected performance is fine. You can try something like this: # gmirror remove gm0 ad2 # swapoff /dev/mirror/gm0s1b (if you have one) and then run this script: #!/bin/sh dd if=3D/dev/zero of=3D/dev/ad2s1b bs=3D1m count=3D1000 & dd if=3D/dev/zero of=3D/dev/mirror/gm0s1b bs=3D1m count=3D1000 & wait --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --3CAnR4CLEnEWqRMR Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDlyUVForvXbEpPzQRAnaJAJ4/PzZxvU47hjHOLcT/7Ns4xeR1wACff/RM clS+G7sP+s4Hq0/AlpdEmik= =1XtC -----END PGP SIGNATURE----- --3CAnR4CLEnEWqRMR-- From owner-freebsd-geom@FreeBSD.ORG Wed Dec 7 18:39:44 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 2C52116A420; Wed, 7 Dec 2005 18:39:44 +0000 (GMT) (envelope-from oxy@field.hu) Received: from dumballah.tvnet.hu (dumballah.tvnet.hu [195.38.96.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7FD9543D88; Wed, 7 Dec 2005 18:39:36 +0000 (GMT) (envelope-from oxy@field.hu) Received: from localhost (localhost.localdomain [127.0.0.1]) by dumballah.tvnet.hu (Postfix) with ESMTP id 16C4E1018D0; Wed, 7 Dec 2005 19:39:32 +0100 (CET) Received: from dumballah.tvnet.hu ([127.0.0.1]) by localhost (dumballah.tvnet.hu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 22055-29; Wed, 7 Dec 2005 19:39:31 +0100 (CET) Received: from oxy (dsl85-238-73-88.pool.tvnet.hu [85.238.73.88]) by dumballah.tvnet.hu (Postfix) with SMTP id A69D81018C8; Wed, 7 Dec 2005 19:39:31 +0100 (CET) Message-ID: <001401c5fb5d$9380cfb0$0201a8c0@oxy> From: "OxY" To: "Pawel Jakub Dawidek" References: <20051207165538.GJ53288@garage.freebsd.pl> <002201c5fb56$bff37590$0201a8c0@oxy> <20051207175359.GK53288@garage.freebsd.pl> <003a01c5fb58$3faca4e0$0201a8c0@oxy> <20051207180821.GL53288@garage.freebsd.pl> Date: Wed, 7 Dec 2005 19:39:37 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-2"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2527 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527 X-Virus-Scanned: by amavisd-new at tvnet.hu Cc: freebsd-geom@freebsd.org Subject: Re: geom mirror write performance problem 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, 07 Dec 2005 18:39:44 -0000 Sco root# gmirror remove gm0 ad2 Sco root# swapoff /dev/mirror/gm0s2b Sco root# dd if=/dev/zero of=/dev/ad2s1b bs=1m count=1000 dd: /dev/ad2s1b: Operation not supported Sco root# dd if=/dev/zero of=/dev/ad2s2b bs=1m count=1000 dd: /dev/ad2s2b: short write on character device dd: /dev/ad2s2b: end of device 507+0 records in 506+1 records out 530972160 bytes transferred in 18.206418 secs (29164011 bytes/sec) Sco root# dd if=/dev/zero of=/dev/mirror/gm0s2b bs=1m count=1000 dd: /dev/mirror/gm0s2b: short write on character device dd: /dev/mirror/gm0s2b: end of device 507+0 records in 506+1 records out 530972160 bytes transferred in 19.109501 secs (27785768 bytes/sec) >Actually it is possible... You said, when only one component is >connected performance is fine. >You can try something like this: > ># gmirror remove gm0 ad2 ># swapoff /dev/mirror/gm0s1b (if you have one) ----- Original Message ----- From: "Pawel Jakub Dawidek" To: "OxY" Cc: Sent: Wednesday, December 07, 2005 7:08 PM Subject: Re: geom mirror write performance problem From owner-freebsd-geom@FreeBSD.ORG Wed Dec 7 19:00:28 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 050A416A428; Wed, 7 Dec 2005 19:00:28 +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 7467843D9C; Wed, 7 Dec 2005 18:59:57 +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 jB7IxkUd027275; Wed, 7 Dec 2005 10:59:46 -0800 (PST) (envelope-from jmg@hydrogen.funkthat.com) Received: (from jmg@localhost) by hydrogen.funkthat.com (8.13.3/8.13.3/Submit) id jB7Ixjwg027274; Wed, 7 Dec 2005 10:59:45 -0800 (PST) (envelope-from jmg) Date: Wed, 7 Dec 2005 10:59:45 -0800 From: John-Mark Gurney To: OxY Message-ID: <20051207185945.GQ55657@funkthat.com> References: <20051207165538.GJ53288@garage.freebsd.pl> <002201c5fb56$bff37590$0201a8c0@oxy> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <002201c5fb56$bff37590$0201a8c0@oxy> 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: Pawel Jakub Dawidek , freebsd-geom@FreeBSD.org Subject: Re: geom mirror write performance problem 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, 07 Dec 2005 19:00:28 -0000 OxY wrote this message on Wed, Dec 07, 2005 at 18:50 +0100: > i removed the each disk from mirror one-by-one and ran the tests: > (when i removed one disk from the mirror the write speed was ok, > since i added it again, then they were slow.. > it was no difference which disk i did removed..) I know this might be a stupid question, but did you wait for the mirror to sync before doing your write test? pjd, does gmirror limit how fast it rebuilds the mirror? -- 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 Dec 7 19:41:38 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 25DE816A420; Wed, 7 Dec 2005 19:41:38 +0000 (GMT) (envelope-from oxy@field.hu) Received: from dumballah.tvnet.hu (dumballah.tvnet.hu [195.38.96.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id F2C0143D7D; Wed, 7 Dec 2005 19:40:57 +0000 (GMT) (envelope-from oxy@field.hu) Received: from localhost (localhost.localdomain [127.0.0.1]) by dumballah.tvnet.hu (Postfix) with ESMTP id ABC4D1018DD; Wed, 7 Dec 2005 20:40:52 +0100 (CET) Received: from dumballah.tvnet.hu ([127.0.0.1]) by localhost (dumballah.tvnet.hu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 26784-47; Wed, 7 Dec 2005 20:40:51 +0100 (CET) Received: from oxy (dsl85-238-73-88.pool.tvnet.hu [85.238.73.88]) by dumballah.tvnet.hu (Postfix) with SMTP id 1B8B810193F; Wed, 7 Dec 2005 20:40:45 +0100 (CET) Message-ID: <002201c5fb66$23235040$0201a8c0@oxy> From: "OxY" To: Date: Wed, 7 Dec 2005 20:40:50 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-2"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2527 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527 X-Virus-Scanned: by amavisd-new at tvnet.hu Cc: Pawel Jakub Dawidek Subject: Re: geom mirror write performance problem 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, 07 Dec 2005 19:41:38 -0000 it's weird, but after the array is synced i ran Sco root# swapoff /dev/mirror/gm0s2b Sco root# dd if=/dev/zero of=/dev/mirror/gm0s2b bs=1m count=1000 dd: /dev/mirror/gm0s2b: short write on character device dd: /dev/mirror/gm0s2b: end of device 507+0 records in 506+1 records out 530972160 bytes transferred in 19.987893 secs (26564689 bytes/sec) it's fast on swap partition, while raid is complete...still slow on other partitions... ----- Original Message ----- From: "OxY" To: "Pawel Jakub Dawidek" Cc: Sent: Wednesday, December 07, 2005 7:39 PM Subject: Re: geom mirror write performance problem > Sco root# gmirror remove gm0 ad2 > Sco root# swapoff /dev/mirror/gm0s2b > Sco root# dd if=/dev/zero of=/dev/ad2s1b bs=1m count=1000 > dd: /dev/ad2s1b: Operation not supported > Sco root# dd if=/dev/zero of=/dev/ad2s2b bs=1m count=1000 > dd: /dev/ad2s2b: short write on character device > dd: /dev/ad2s2b: end of device > 507+0 records in > 506+1 records out > 530972160 bytes transferred in 18.206418 secs (29164011 bytes/sec) > Sco root# dd if=/dev/zero of=/dev/mirror/gm0s2b bs=1m count=1000 > dd: /dev/mirror/gm0s2b: short write on character device > dd: /dev/mirror/gm0s2b: end of device > 507+0 records in > 506+1 records out > 530972160 bytes transferred in 19.109501 secs (27785768 bytes/sec) > >>Actually it is possible... You said, when only one component is >>connected performance is fine. >>You can try something like this: >> >># gmirror remove gm0 ad2 >># swapoff /dev/mirror/gm0s1b (if you have one) > > ----- Original Message ----- > From: "Pawel Jakub Dawidek" > To: "OxY" > Cc: > Sent: Wednesday, December 07, 2005 7:08 PM > Subject: Re: geom mirror write performance problem > > From owner-freebsd-geom@FreeBSD.ORG Wed Dec 7 20:25:44 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 001C716A425 for ; Wed, 7 Dec 2005 20:25:43 +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 6543A43D6E for ; Wed, 7 Dec 2005 20:25:33 +0000 (GMT) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id A1C4E52CA6; Wed, 7 Dec 2005 21:25:31 +0100 (CET) Received: from localhost (dke234.neoplus.adsl.tpnet.pl [83.24.8.234]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id AB91A50F92; Wed, 7 Dec 2005 21:25:24 +0100 (CET) Date: Wed, 7 Dec 2005 21:24:30 +0100 From: Pawel Jakub Dawidek To: OxY Message-ID: <20051207202430.GM53288@garage.freebsd.pl> References: <20051207165538.GJ53288@garage.freebsd.pl> <002201c5fb56$bff37590$0201a8c0@oxy> <20051207175359.GK53288@garage.freebsd.pl> <003a01c5fb58$3faca4e0$0201a8c0@oxy> <20051207180821.GL53288@garage.freebsd.pl> <001401c5fb5d$9380cfb0$0201a8c0@oxy> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="n83H03bbH672hrlY" Content-Disposition: inline In-Reply-To: <001401c5fb5d$9380cfb0$0201a8c0@oxy> 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: geom mirror write performance problem 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, 07 Dec 2005 20:25:44 -0000 --n83H03bbH672hrlY Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Dec 07, 2005 at 07:39:37PM +0100, OxY wrote: +> Sco root# gmirror remove gm0 ad2 +> Sco root# swapoff /dev/mirror/gm0s2b +> Sco root# dd if=3D/dev/zero of=3D/dev/ad2s1b bs=3D1m count=3D1000 +> dd: /dev/ad2s1b: Operation not supported Try plain /dev/ad2 here, but please, use the script I gave you. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --n83H03bbH672hrlY Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDl0T+ForvXbEpPzQRAqjnAKC5lgn6AN2cvRu4GlzGo9hs0Qu/2wCgsOCp +Q26AyMn3OVLtaIfBvInNqM= =N6iY -----END PGP SIGNATURE----- --n83H03bbH672hrlY-- From owner-freebsd-geom@FreeBSD.ORG Wed Dec 7 20:27: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 B709116A41F for ; Wed, 7 Dec 2005 20:27:07 +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 2FF2243D8A for ; Wed, 7 Dec 2005 20:26:53 +0000 (GMT) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id F3E3252CAC; Wed, 7 Dec 2005 21:26:51 +0100 (CET) Received: from localhost (dke234.neoplus.adsl.tpnet.pl [83.24.8.234]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id DF8B150F92; Wed, 7 Dec 2005 21:26:46 +0100 (CET) Date: Wed, 7 Dec 2005 21:25:53 +0100 From: Pawel Jakub Dawidek To: John-Mark Gurney Message-ID: <20051207202553.GN53288@garage.freebsd.pl> References: <20051207165538.GJ53288@garage.freebsd.pl> <002201c5fb56$bff37590$0201a8c0@oxy> <20051207185945.GQ55657@funkthat.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="z9sQuz+HmDh2hVO4" Content-Disposition: inline In-Reply-To: <20051207185945.GQ55657@funkthat.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: OxY , freebsd-geom@FreeBSD.org Subject: Re: geom mirror write performance problem 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, 07 Dec 2005 20:27:07 -0000 --z9sQuz+HmDh2hVO4 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Dec 07, 2005 at 10:59:45AM -0800, John-Mark Gurney wrote: +> OxY wrote this message on Wed, Dec 07, 2005 at 18:50 +0100: +> > i removed the each disk from mirror one-by-one and ran the tests: +> > (when i removed one disk from the mirror the write speed was ok,=20 +> > since i added it again, then they were slow.. +> > it was no difference which disk i did removed..) +>=20 +> I know this might be a stupid question, but did you wait for the mirror +> to sync before doing your write test? Did you?:) +> pjd, does gmirror limit how fast it rebuilds the mirror? Yes, via sysctls: kern.geom.mirror.syncs_per_sec: Number of synchronizations requests per sec= ond kern.geom.mirror.reqs_per_sync: Number of regular I/O requests per synchron= ization request --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --z9sQuz+HmDh2hVO4 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDl0VRForvXbEpPzQRAg/HAKCVGanO3xmP0/HKpju9g1UM5z63xwCgzoPz 0I2c66CCFBcZDZNmsSdofX0= =SiYt -----END PGP SIGNATURE----- --z9sQuz+HmDh2hVO4-- From owner-freebsd-geom@FreeBSD.ORG Thu Dec 8 04:37:30 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 0F5F116A41F; Thu, 8 Dec 2005 04:37:30 +0000 (GMT) (envelope-from cpressey@catseye.mine.nu) Received: from priv-edtnes51.telusplanet.net (outbound04.telus.net [199.185.220.223]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9A0A943D60; Thu, 8 Dec 2005 04:37:10 +0000 (GMT) (envelope-from cpressey@catseye.mine.nu) Received: from catseye.biscuit.boo ([154.20.76.195]) by priv-edtnes51.telusplanet.net (InterMail vM.6.01.04.04 201-2131-118-104-20050224) with SMTP id <20051208043707.XAER25350.priv-edtnes51.telusplanet.net@catseye.biscuit.boo>; Wed, 7 Dec 2005 21:37:07 -0700 Date: Wed, 7 Dec 2005 20:38:12 -0800 From: Chris Pressey To: Andrew Turner Message-Id: <20051207203812.32e831f8.cpressey@catseye.mine.nu> In-Reply-To: <439524D6.6010705@fubar.geek.nz> References: <20051027200448.1ba236fe.cpressey@catseye.mine.nu> <43753528.7030802@freesbie.org> <20051202123120.736bf5ff.cpressey@catseye.mine.nu> <439524D6.6010705@fubar.geek.nz> Organization: Cat's Eye Technologies X-Mailer: Sylpheed version 1.0.6 (GTK+ 1.2.10; i386-portbld-freebsd4.11) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: geom@freebsd.org, current@freebsd.org, discussion@bsdinstaller.com Subject: Re: [BSDInstaller] 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: Thu, 08 Dec 2005 04:37:30 -0000 On Tue, 06 Dec 2005 18:42:46 +1300 Andrew Turner wrote: > Chris Pressey wrote: > > > Does ANYONE else see the same behaviour that I am seeing? Namely: > > [fdisk(8) incapable of changing geometry] > > > >I see this on CURRENT as of late last night. > > > I can see this on CURRENT from a week ago. Thanks, Andrew! The PR has been filed, the # is 90093. -Chris From owner-freebsd-geom@FreeBSD.ORG Fri Dec 9 07:03:59 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 B715216A41F; Fri, 9 Dec 2005 07:03:59 +0000 (GMT) (envelope-from matteo@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id F2B4443D90; Fri, 9 Dec 2005 07:03:54 +0000 (GMT) (envelope-from matteo@FreeBSD.org) Received: from freefall.freebsd.org (matteo@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id jB973sZC073981; Fri, 9 Dec 2005 07:03:54 GMT (envelope-from matteo@freefall.freebsd.org) Received: (from matteo@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id jB973sPL073977; Fri, 9 Dec 2005 07:03:54 GMT (envelope-from matteo) Date: Fri, 9 Dec 2005 07:03:54 GMT From: Matteo Riondato Message-Id: <200512090703.jB973sPL073977@freefall.freebsd.org> To: matteo@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-geom@FreeBSD.org Cc: Subject: Re: bin/90093: fdisk(8) incapable of altering in-core 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: Fri, 09 Dec 2005 07:03:59 -0000 Synopsis: fdisk(8) incapable of altering in-core geometry Responsible-Changed-From-To: freebsd-bugs->freebsd-geom Responsible-Changed-By: matteo Responsible-Changed-When: Fri Dec 9 07:03:25 GMT 2005 Responsible-Changed-Why: This is GEOM-related http://www.freebsd.org/cgi/query-pr.cgi?pr=90093 From owner-freebsd-geom@FreeBSD.ORG Fri Dec 9 20:31:24 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 B41F416A422 for ; Fri, 9 Dec 2005 20:31:24 +0000 (GMT) (envelope-from lapo@seanet.com) Received: from mx.seanet.com (mx.seanet.com [199.181.164.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id BE00643D88 for ; Fri, 9 Dec 2005 20:31:12 +0000 (GMT) (envelope-from lapo@seanet.com) Received: from [199.181.168.92] (wallace.osd.com [199.181.168.92]) (authenticated bits=0) by milkyway.seanet.com (8.13.4/8.13.4) with ESMTP id jB9KVArD050097 for ; Fri, 9 Dec 2005 12:31:11 -0800 (PST) (envelope-from lapo@seanet.com) Mime-Version: 1.0 (Apple Message framework v746.2) Content-Transfer-Encoding: 7bit Message-Id: <169FE8E2-A191-491B-864D-C1CBE28EE827@seanet.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: freebsd-geom@freebsd.org From: Lapo Nustrini Date: Fri, 9 Dec 2005 12:30:35 -0800 X-Mailer: Apple Mail (2.746.2) Subject: gmirror load problem X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Dec 2005 20:31:24 -0000 I'm trying to create a geom mirror using /dev/da0 and /dev/da1 on a live system. The system is running FreeBSD 5.4-RELEASE Its a dual Xeon setup with hot swappable scsi drives. The standard way I've achieved this in the past is by wiping out da1 and labeling da1 with: # dd if=/dev/zero of=/dev/da1 bs=512 count=79 # gmirror label -v -n -b round-robin gm0 /dev/da1 # gmirror load Then using fdisk to create a single dedicated partition on the disk, before moving on to recreating the file structure using bsdlabel, etc... # fdisk -v -B -I /dev/mirror/gm0 etc... I've done the above on 4 other similar servers in the past with no problems. This time however "gmirror load" returns a "Command 'load' not available" error. I thought gmirror must be already loaded but I can't unload gmirror or see a /dev/mirror directory on the system. The only gmirror commands which don't error out are: gmirror label and gmirror help. Does anyone have any ideas as to what I should be looking for to figure out what is preventing gmirror from loading? Thanks, Lapo Nustrini From owner-freebsd-geom@FreeBSD.ORG Sat Dec 10 02:30: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 4DBDE16A41F for ; Sat, 10 Dec 2005 02:30:59 +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 E43B543D58 for ; Sat, 10 Dec 2005 02:30:57 +0000 (GMT) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 3C41A51CCF; Sat, 10 Dec 2005 03:30:55 +0100 (CET) Received: from localhost (dkr145.neoplus.adsl.tpnet.pl [83.24.21.145]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 57BD050F92; Sat, 10 Dec 2005 03:30:44 +0100 (CET) Date: Sat, 10 Dec 2005 03:29:59 +0100 From: Pawel Jakub Dawidek To: Lapo Nustrini Message-ID: <20051210022959.GA726@garage.freebsd.pl> References: <169FE8E2-A191-491B-864D-C1CBE28EE827@seanet.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="bg08WKrSYDhXBjb5" Content-Disposition: inline In-Reply-To: <169FE8E2-A191-491B-864D-C1CBE28EE827@seanet.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,RCVD_IN_SORBS_WEB autolearn=no version=3.0.4 Cc: freebsd-geom@freebsd.org Subject: Re: gmirror load problem 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, 10 Dec 2005 02:30:59 -0000 --bg08WKrSYDhXBjb5 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Dec 09, 2005 at 12:30:35PM -0800, Lapo Nustrini wrote: +> This time however "gmirror load" returns a "Command 'load' not available= " error. +> I thought gmirror must be already loaded but I can't unload gmirror or s= ee a /dev/mirror directory on the system. Could you paste the result of the following commands: # kldstat -v | grep g_mirror # sysctl kern.module_path # ls -l /boot/kernel/geom_mirror.ko --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --bg08WKrSYDhXBjb5 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDmj2nForvXbEpPzQRAg3nAJ9OeQZCMNnk9GoGBo50ZMGGpC8xvgCeI3tG anG6tLEoQ/2LE2Mhm18zLc0= =lM46 -----END PGP SIGNATURE----- --bg08WKrSYDhXBjb5--