From owner-freebsd-geom@FreeBSD.ORG Mon Sep 26 11:07:02 2011 Return-Path: Delivered-To: freebsd-geom@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4C5861065689 for ; Mon, 26 Sep 2011 11:07:02 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 323178FC08 for ; Mon, 26 Sep 2011 11:07:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p8QB715g088146 for ; Mon, 26 Sep 2011 11:07:01 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p8QB71Um088144 for freebsd-geom@FreeBSD.org; Mon, 26 Sep 2011 11:07:01 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 26 Sep 2011 11:07:01 GMT Message-Id: <201109261107.p8QB71Um088144@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-geom@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-geom@FreeBSD.org X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Sep 2011 11:07:02 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/160811 geom [geom] Cannot change gmirror provider priority in RELE o kern/160562 geom [geom][patch] Allow to insert new component to geom_ra o kern/160409 geom [geli] failed to attach provider o kern/159595 geom [geom] [panic] panic on gmirror unload in vbox [regres o kern/159091 geom [geom] GEOM fails to scan nested partitions to create p kern/158398 geom [headers] [patch] includes o kern/158197 geom [geom] geom_cache with size>1000 leads to panics o kern/157879 geom [libgeom] ABI change without version bump in 8.2 o kern/157863 geom [geli] kbdmux prevents geli passwords from being enter o kern/157739 geom [geom] GPT labels with geom_multipath o kern/157724 geom [geom] gpart(8) 'add' command must preserve gap for sc o kern/157723 geom [geom] GEOM should not process 'c' (raw) partitions fo o kern/157108 geom [gjournal] dumpon(8) fails on gjournal providers o kern/155994 geom [geom] Long "Suspend time" when reading large files fr o kern/154226 geom [geom] GEOM label does not change when you modify them o kern/150858 geom [geom] [geom_label] [patch] glabel(8) is not compatibl o kern/150626 geom [geom] [gjournal] gjournal(8) destroys label o kern/150555 geom [geom] gjournal unusable on GPT partitions o kern/150334 geom [geom] [udf] [patch] geom label does not support UDF o kern/149762 geom volume labels with rogue characters o bin/149215 geom [panic] [geom_part] gpart(8): Delete linux's slice via o kern/147667 geom [gmirror] Booting with one component of a gmirror, the o kern/145818 geom [geom] geom_stat_open showing cached information for n o kern/145042 geom [geom] System stops booting after printing message "GE o kern/144905 geom [geom][geom_part] panic in gpart_ctlreq when unpluggin o kern/143455 geom gstripe(8) in RELENG_8 (31st Jan 2010) broken o kern/142563 geom [geom] [hang] ioctl freeze in zpool o kern/141740 geom [geom] gjournal(8): g_journal_destroy concurrent error o kern/140352 geom [geom] gjournal + glabel not working o kern/135898 geom [geom] Severe filesystem corruption - large files or l o kern/134922 geom [gmirror] [panic] kernel panic when use fdisk on disk o kern/134113 geom [geli] Problem setting secondary GELI key o kern/133931 geom [geli] [request] intentionally wrong password to destr o bin/132845 geom [geom] [patch] ggated(8) does not close files opened a o bin/131415 geom [geli] keystrokes are unregulary sent to Geli when typ o kern/131353 geom [geom] gjournal(8) kernel lock o kern/129674 geom [geom] gjournal root did not mount on boot o kern/129645 geom gjournal(8): GEOM_JOURNAL causes system to fail to boo o kern/129245 geom [geom] gcache is more suitable for suffix based provid f kern/128276 geom [gmirror] machine lock up when gmirror module is used o kern/127420 geom [geom] [gjournal] [panic] Journal overflow on gmirrore o kern/124973 geom [gjournal] [patch] boot order affects geom_journal con o kern/124969 geom gvinum(8): gvinum raid5 plex does not detect missing s o kern/123962 geom [panic] [gjournal] gjournal (455Gb data, 8Gb journal), o kern/123122 geom [geom] GEOM / gjournal kernel lock o kern/122738 geom [geom] gmirror list "losts consumers" after gmirror de o kern/122067 geom [geom] [panic] Geom crashed during boot o kern/121364 geom [gmirror] Removing all providers create a "zombie" mir o kern/120091 geom [geom] [geli] [gjournal] geli does not prompt for pass o kern/115856 geom [geli] ZFS thought it was degraded when it should have o kern/115547 geom [geom] [patch] [request] let GEOM Eli get password fro o kern/114532 geom [geom] GEOM_MIRROR shows up in kldstat even if compile f kern/113957 geom [gmirror] gmirror is intermittently reporting a degrad o kern/113837 geom [geom] unable to access 1024 sector size storage o kern/113419 geom [geom] geom fox multipathing not failing back o kern/107707 geom [geom] [patch] [request] add new class geom_xbox360 to o kern/94632 geom [geom] Kernel output resets input while GELI asks for o kern/90582 geom [geom] [panic] Restore cause panic string (ffs_blkfree o bin/90093 geom fdisk(8) incapable of altering in-core geometry o kern/87544 geom [gbde] mmaping large files on a gbde filesystem deadlo o bin/86388 geom [geom] [geom_part] periodic(8) daily should backup gpa o kern/84556 geom [geom] [panic] GBDE-encrypted swap causes panic at shu o kern/79251 geom [2TB] newfs fails on 2.6TB gbde device o kern/79035 geom [vinum] gvinum unable to create a striped set of mirro o bin/78131 geom gbde(8) "destroy" not working. 65 problems total. From owner-freebsd-geom@FreeBSD.ORG Mon Sep 26 13:29:26 2011 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4DF8A106566B for ; Mon, 26 Sep 2011 13:29:26 +0000 (UTC) (envelope-from gcubfg-freebsd-geom@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id 0462C8FC0A for ; Mon, 26 Sep 2011 13:29:25 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1R8BFN-00054C-6I for freebsd-geom@freebsd.org; Mon, 26 Sep 2011 15:29:25 +0200 Received: from lara.cc.fer.hr ([161.53.72.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 26 Sep 2011 15:29:25 +0200 Received: from ivoras by lara.cc.fer.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 26 Sep 2011 15:29:25 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-geom@freebsd.org From: Ivan Voras Date: Mon, 26 Sep 2011 15:29:11 +0200 Lines: 40 Message-ID: References: <1108033999.20110921224848@serebryakov.spb.ru> <20110922105105.GA1662@garage.freebsd.pl> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigCCCDF394FC0BB5C6AC8E07D1" X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: lara.cc.fer.hr User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:6.0.1) Gecko/20110907 Thunderbird/6.0.1 In-Reply-To: <20110922105105.GA1662@garage.freebsd.pl> X-Enigmail-Version: 1.1.2 Subject: Re: geom_fox vs geom_multipath? 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, 26 Sep 2011 13:29:26 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigCCCDF394FC0BB5C6AC8E07D1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 22/09/2011 12:51, Pawel Jakub Dawidek wrote: > On Wed, Sep 21, 2011 at 10:48:48PM +0400, Lev Serebryakov wrote: >> Hello, Freebsd-geom. >> >> We have both geom_fox without control utility and strange way of >> labelling and "conventional" geom_multipath. >> >> They seems to perform same task, but geom_multipath looks like >> "normal" module and geom_fox is very old one, before "rules" for >> modules was settled (metadata in first sector, no control utility, >> etc). >> >> Is it intentional? :) >=20 > The geom_fox class is more of an example GEOM class. Should it be disconnected from the build? I don't think it's ever used in practice... --------------enigCCCDF394FC0BB5C6AC8E07D1 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk6AficACgkQldnAQVacBch7iwCgm/5IO7hY0+BpAc+OteQgeSc7 LLQAoI+N3daWlikSxsMv/p6jf5ptFYJA =wAsU -----END PGP SIGNATURE----- --------------enigCCCDF394FC0BB5C6AC8E07D1-- From owner-freebsd-geom@FreeBSD.ORG Mon Sep 26 15:13:56 2011 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1174D1065673; Mon, 26 Sep 2011 15:13:56 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from onlyone.friendlyhosting.spb.ru (onlyone.friendlyhosting.spb.ru [IPv6:2a01:4f8:131:60a2::2]) by mx1.freebsd.org (Postfix) with ESMTP id CBDD08FC27; Mon, 26 Sep 2011 15:13:55 +0000 (UTC) Received: from lion.home.serebryakov.spb.ru (unknown [IPv6:2001:470:923f:1:d578:b545:b004:4d]) (Authenticated sender: lev@serebryakov.spb.ru) by onlyone.friendlyhosting.spb.ru (Postfix) with ESMTPA id CEA624AC2D; Mon, 26 Sep 2011 19:13:54 +0400 (MSD) Date: Mon, 26 Sep 2011 19:13:53 +0400 From: Lev Serebryakov Organization: FreeBSD X-Priority: 3 (Normal) Message-ID: <310097590.20110926191353@serebryakov.spb.ru> To: Ivan Voras In-Reply-To: References: <1108033999.20110921224848@serebryakov.spb.ru> <20110922105105.GA1662@garage.freebsd.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-geom@freebsd.org Subject: Re: geom_fox vs geom_multipath? X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: lev@FreeBSD.org List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Sep 2011 15:13:56 -0000 Hello, Ivan. You wrote 26 =D1=81=D0=B5=D0=BD=D1=82=D1=8F=D0=B1=D1=80=D1=8F 2011 =D0=B3.,= 17:29:11: >> The geom_fox class is more of an example GEOM class. > Should it be disconnected from the build? I don't think it's ever used > in practice... And the same question is about geom_aes :) --=20 // Black Lion AKA Lev Serebryakov From owner-freebsd-geom@FreeBSD.ORG Mon Sep 26 15:56:43 2011 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E2DBF106564A for ; Mon, 26 Sep 2011 15:56:43 +0000 (UTC) (envelope-from ivoras@gmail.com) Received: from mail-yw0-f54.google.com (mail-yw0-f54.google.com [209.85.213.54]) by mx1.freebsd.org (Postfix) with ESMTP id A3C598FC12 for ; Mon, 26 Sep 2011 15:56:43 +0000 (UTC) Received: by ywp17 with SMTP id 17so5624889ywp.13 for ; Mon, 26 Sep 2011 08:56:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=5zWjoyFCw+XFdRCaGKKqFm/qJOas+4x2Lkd5VSkYDNQ=; b=xpqmhqguOwUIsa8gvzAfHF0m9Dk4whYS9LNUIwFMHHwYwlPaAMrFLSXeP6v46yr4KR uYyrEfvV0lUflblZrmbMMeRNkh2lm9Igpqyr9/ixye6G/JIYFQK+CBPEC+2Nn8NEPho4 RAKqEAoQUst3nqx8L0d283mFmWvIz2PUxBDBo= Received: by 10.101.149.20 with SMTP id b20mr5949025ano.87.1317050759201; Mon, 26 Sep 2011 08:25:59 -0700 (PDT) MIME-Version: 1.0 Sender: ivoras@gmail.com Received: by 10.100.43.9 with HTTP; Mon, 26 Sep 2011 08:25:19 -0700 (PDT) In-Reply-To: <310097590.20110926191353@serebryakov.spb.ru> References: <1108033999.20110921224848@serebryakov.spb.ru> <20110922105105.GA1662@garage.freebsd.pl> <310097590.20110926191353@serebryakov.spb.ru> From: Ivan Voras Date: Mon, 26 Sep 2011 17:25:19 +0200 X-Google-Sender-Auth: lnR-lRQxqAdv6EnsR8Vqfq-6jB0 Message-ID: To: lev@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-geom@freebsd.org Subject: Re: geom_fox vs geom_multipath? 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, 26 Sep 2011 15:56:44 -0000 On 26 September 2011 17:13, Lev Serebryakov wrote: > Hello, Ivan. > You wrote 26 =D1=81=D0=B5=D0=BD=D1=82=D1=8F=D0=B1=D1=80=D1=8F 2011 =D0=B3= ., 17:29:11: > >>> The geom_fox class is more of an example GEOM class. >> Should it be disconnected from the build? I don't think it's ever used >> in practice... > =C2=A0And the same question is about geom_aes :) Yes, both are some of the earliest GEOM modules ever, they should be clearly marked as examples. Perhaps after HEAD gets unfrozen. From owner-freebsd-geom@FreeBSD.ORG Wed Sep 28 07:45:15 2011 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C81E1106564A for ; Wed, 28 Sep 2011 07:45:15 +0000 (UTC) (envelope-from talbright@pcphonehome.com) Received: from qmail.frontline.net (mail.brigadoonsoftware.com [66.59.64.147]) by mx1.freebsd.org (Postfix) with ESMTP id 793F98FC0A for ; Wed, 28 Sep 2011 07:45:14 +0000 (UTC) Received: (qmail 11193 invoked by uid 89); 28 Sep 2011 07:19:00 -0000 Received: from unknown (HELO ?192.168.1.2?) (68.193.179.224) by 0 with SMTP; 28 Sep 2011 07:19:00 -0000 Message-Id: Mime-Version: 1.0 From: Tim Albright To: freebsd-geom@freebsd.org Date: Wed, 28 Sep 2011 03:19:00 -0400 X-Mailer: MBM v2.7-US X-Bounce-Tracking-Info: Content-type: text/plain; charset=iso-8859-1; format=flowed Content-transfer-encoding: quoted-printable Subject: Laptop Theft in South Africa at All Time High - Software Tracks & Recovers Lost & Stolen Computers 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, 28 Sep 2011 07:45:16 -0000 =08=08=08=08=08=08=08=08=08=08=08=08=08=08=08=08=08=08=08=08=08=08=08= =08=08=08Greetings, Our award PC PhoneHome and MacPhoneHome is the NUMBER ONE stand-alone computer tracking and recovery software in the world to both the Windows and Mac communities! We are currently protecting over 1,500,000 computers worldwide=2E Unlike OTHER computer tracking products, PC PhoneHome and MacPhoneHome contain NO SPYWARE to invade your privacy=2E=2E=2E Every time a PC PhoneHome or MacPhoneHome protected computer makes an Internet connection, it sends a stealth email message containing its exact location to a pre-determined email address of the user's choice and to our Worldwide Command Center=2E In the event your computer goes missing, all you need to do is make a police report and contact us=2E We do the rest=2E Your missing computer is returned to you with the help of our recovery agents, local police services and global ISPs=2E Our lost & stolen computer recovery rate is over 99% worldwide! The SINGLE COPY version of PC PhoneHome and MacPhoneHome normally retail for $29=2E95 each=2E Our new Family/Household license which costs a one time fee of $79=2E95 USD allows the user to install PC PhoneHome and/or MacPhoneHome on as many computers in the household as is necessary, even the ones your kids may have away at college! You have 5-8-12 computers? No Problem! Our Family Household license protects them all! Only $79=2E95! No yearly monitoring fees=2E No hidden costs=2E No additional charges! We still provide full location and recovery service=2E This is the BEST deal in the industry! Our 2011 Special Bundle Deals will save you a BUNDLE of money! You can mix any combination of PC PhoneHome and/or MacPhoneHome in your deal! Please visit: http://www=2Ebrigadoonsoftware=2Ecom/purchase=2Ehtml today to= purchase and download your copy of PC PhoneHome/MacPhoneHome=2E Ask for a price quote on our CUSTOM BLANKET ENTERPRISE LICENSE for LARGE SCALE DEPLOYMENT to HUNDREDS or THOUSANDS of computers! Whether you're trying to protect one hundred computers or twenty thousand we have the right license plan for you=2E We will soon be releasing PhoneHome protection for iPods, iPhones and the NEW iPad=2E=2E=2E Version 4=2E0 will offer our users multi-lingual installation and documentation in English, Spanish, Portuguese, Italian, French and German language=2E Version 4=2E0 will OPTIONALLY snap the picture of whoever is sitting at the computer and send you a picture of the thief if your computer is lost or stolen as well as offer PhoneHome protection for your iPod, iPhone and iPad! Reseller Inquires are Invited! Information on our product line is available for download directly from our web site at: http://www=2Ebrigadoonsoftware=2Ecom If you are interested in finding out more or have any additional questions about our single copy, bundle deal or Enterprise license program, please feel free to contact me personally at 1-845-624-0909= =2E Best Regards, Tim Albright VP - Sales Brigadoon Software, Inc=2E 119 Rockland Center Suite 250 Nanuet, New York 10954 USA Tel: +1-845-624-0909 Fax: +1-845-624-0990 Email: talbright@brigadoonsoftware=2Ecom Web: http://www=2Ebrigadoonsoftware=2Ecom To be excluded from future emails, please type "Remove"=20 in the subject line and reply to this message=2E Please include all email aliases you are using=2E From owner-freebsd-geom@FreeBSD.ORG Thu Sep 29 18:43:45 2011 Return-Path: Delivered-To: freebsd-geom@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2C8A9106566B; Thu, 29 Sep 2011 18:43:45 +0000 (UTC) (envelope-from mav@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 052808FC08; Thu, 29 Sep 2011 18:43:45 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p8TIhial096366; Thu, 29 Sep 2011 18:43:44 GMT (envelope-from mav@freefall.freebsd.org) Received: (from mav@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p8TIhiDC096362; Thu, 29 Sep 2011 18:43:44 GMT (envelope-from mav) Date: Thu, 29 Sep 2011 18:43:44 GMT Message-Id: <201109291843.p8TIhiDC096362@freefall.freebsd.org> To: eugen@grosbein.pp.ru, mav@FreeBSD.org, freebsd-geom@FreeBSD.org From: mav@FreeBSD.org Cc: Subject: Re: kern/160811: [geom] Cannot change gmirror provider priority in RELENG_7 (r196879) 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, 29 Sep 2011 18:43:45 -0000 Synopsis: [geom] Cannot change gmirror provider priority in RELENG_7 (r196879) State-Changed-From-To: open->closed State-Changed-By: mav State-Changed-When: Thu Sep 29 18:43:25 UTC 2011 State-Changed-Why: Merged. http://www.freebsd.org/cgi/query-pr.cgi?pr=160811 From owner-freebsd-geom@FreeBSD.ORG Thu Sep 29 18:50:11 2011 Return-Path: Delivered-To: freebsd-geom@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A2C51106564A for ; Thu, 29 Sep 2011 18:50:11 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 921A98FC16 for ; Thu, 29 Sep 2011 18:50:11 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p8TIoB2Z097307 for ; Thu, 29 Sep 2011 18:50:11 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p8TIoB7l097306; Thu, 29 Sep 2011 18:50:11 GMT (envelope-from gnats) Date: Thu, 29 Sep 2011 18:50:11 GMT Message-Id: <201109291850.p8TIoB7l097306@freefall.freebsd.org> To: freebsd-geom@FreeBSD.org From: dfilter@FreeBSD.ORG (dfilter service) Cc: Subject: Re: kern/160811: commit references a PR X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dfilter service List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Sep 2011 18:50:11 -0000 The following reply was made to PR kern/160811; it has been noted by GNATS. From: dfilter@FreeBSD.ORG (dfilter service) To: bug-followup@FreeBSD.org Cc: Subject: Re: kern/160811: commit references a PR Date: Thu, 29 Sep 2011 18:43:05 +0000 (UTC) Author: mav Date: Thu Sep 29 18:42:44 2011 New Revision: 225881 URL: http://svn.freebsd.org/changeset/base/225881 Log: MFC r196879: Add support for changing providers priority. PR: kern/160811 Modified: stable/7/sbin/geom/class/mirror/geom_mirror.c stable/7/sbin/geom/class/mirror/gmirror.8 stable/7/sys/geom/mirror/g_mirror_ctl.c Directory Properties: stable/7/sbin/geom/ (props changed) stable/7/sbin/geom/class/journal/ (props changed) stable/7/sbin/geom/class/label/ (props changed) stable/7/sbin/geom/class/part/ (props changed) stable/7/sbin/geom/class/stripe/ (props changed) stable/7/sbin/geom/misc/ (props changed) stable/7/sys/ (props changed) stable/7/sys/cddl/contrib/opensolaris/ (props changed) stable/7/sys/contrib/dev/acpica/ (props changed) stable/7/sys/contrib/pf/ (props changed) Modified: stable/7/sbin/geom/class/mirror/geom_mirror.c ============================================================================== --- stable/7/sbin/geom/class/mirror/geom_mirror.c Thu Sep 29 18:12:40 2011 (r225880) +++ stable/7/sbin/geom/class/mirror/geom_mirror.c Thu Sep 29 18:42:44 2011 (r225881) @@ -1,5 +1,5 @@ /*- - * Copyright (c) 2004-2005 Pawel Jakub Dawidek + * Copyright (c) 2004-2009 Pawel Jakub Dawidek * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -41,13 +41,12 @@ __FBSDID("$FreeBSD$"); #include #include - uint32_t lib_version = G_LIB_VERSION; uint32_t version = G_MIRROR_VERSION; static char label_balance[] = "load", configure_balance[] = "none"; static intmax_t label_slice = 4096, configure_slice = -1; -static intmax_t insert_priority = 0; +static intmax_t insert_priority = 0, configure_priority = -1; static void mirror_main(struct gctl_req *req, unsigned flags); static void mirror_activate(struct gctl_req *req); @@ -71,10 +70,12 @@ struct g_command class_commands[] = { { 'F', "nofailsync", NULL, G_TYPE_BOOL }, { 'h', "hardcode", NULL, G_TYPE_BOOL }, { 'n', "noautosync", NULL, G_TYPE_BOOL }, + { 'p', "priority", &configure_priority, G_TYPE_NUMBER }, { 's', "slice", &configure_slice, G_TYPE_NUMBER }, G_OPT_SENTINEL }, - NULL, "[-adfFhnv] [-b balance] [-s slice] name" + NULL, "[-adfFhnv] [-b balance] [-s slice] name\n" + "[-v] -p priority name prov" }, { "deactivate", G_FLAG_VERBOSE, NULL, G_NULL_OPTS, NULL, "[-v] name prov ..." Modified: stable/7/sbin/geom/class/mirror/gmirror.8 ============================================================================== --- stable/7/sbin/geom/class/mirror/gmirror.8 Thu Sep 29 18:12:40 2011 (r225880) +++ stable/7/sbin/geom/class/mirror/gmirror.8 Thu Sep 29 18:42:44 2011 (r225881) @@ -1,4 +1,4 @@ -.\" Copyright (c) 2004-2005 Pawel Jakub Dawidek +.\" Copyright (c) 2004-2009 Pawel Jakub Dawidek .\" All rights reserved. .\" .\" Redistribution and use in source and binary forms, with or without @@ -24,7 +24,7 @@ .\" .\" $FreeBSD$ .\" -.Dd November 1, 2006 +.Dd August 1, 2009 .Dt GMIRROR 8 .Os .Sh NAME @@ -49,6 +49,12 @@ .Op Fl s Ar slice .Ar name .Nm +.Cm configure +.Op Fl v +.Fl p Ar priority +.Ar name +.Ar prov +.Nm .Cm rebuild .Op Fl v .Ar name @@ -115,8 +121,8 @@ indicates an action to be performed: .It Cm label Create a mirror. The order of components is important, because a component's priority is based on its position -(starting from 0). -The component with the biggest priority is used by the +(starting from 0 to 255). +The component with the biggest priority (the lowest number) is used by the .Cm prefer balance algorithm and is also used as a master component when resynchronization is needed, @@ -159,7 +165,7 @@ Clear metadata on the given providers. Configure the given device. .Pp Additional options include: -.Bl -tag -width ".Fl b Ar balance" +.Bl -tag -width ".Fl p Ar priority" .It Fl a Turn on autosynchronization of stale components. .It Fl b Ar balance @@ -175,6 +181,9 @@ Assumes device is in consistent state. Hardcode providers' names in metadata. .It Fl n Turn off autosynchronization of stale components. +.It Fl p Ar priority +Specifies priority for the given component +.Ar prov . .It Fl s Ar slice Specifies slice size for .Cm split Modified: stable/7/sys/geom/mirror/g_mirror_ctl.c ============================================================================== --- stable/7/sys/geom/mirror/g_mirror_ctl.c Thu Sep 29 18:12:40 2011 (r225880) +++ stable/7/sys/geom/mirror/g_mirror_ctl.c Thu Sep 29 18:42:44 2011 (r225881) @@ -1,5 +1,5 @@ /*- - * Copyright (c) 2004-2006 Pawel Jakub Dawidek + * Copyright (c) 2004-2009 Pawel Jakub Dawidek * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -93,19 +93,19 @@ g_mirror_ctl_configure(struct gctl_req * { struct g_mirror_softc *sc; struct g_mirror_disk *disk; - const char *name, *balancep; - intmax_t *slicep; + const char *name, *balancep, *prov; + intmax_t *slicep, *priority; uint32_t slice; uint8_t balance; int *autosync, *noautosync, *failsync, *nofailsync, *hardcode, *dynamic; - int *nargs, do_sync = 0, dirty = 1; + int *nargs, do_sync = 0, dirty = 1, do_priority = 0; nargs = gctl_get_paraml(req, "nargs", sizeof(*nargs)); if (nargs == NULL) { gctl_error(req, "No '%s' argument.", "nargs"); return; } - if (*nargs != 1) { + if (*nargs != 1 && *nargs != 2) { gctl_error(req, "Invalid number of arguments."); return; } @@ -149,6 +149,29 @@ g_mirror_ctl_configure(struct gctl_req * gctl_error(req, "No '%s' argument.", "dynamic"); return; } + priority = gctl_get_paraml(req, "priority", sizeof(*priority)); + if (priority == NULL) { + gctl_error(req, "No '%s' argument.", "priority"); + return; + } + if (*priority < -1 || *priority > 255) { + gctl_error(req, "Priority range is 0 to 255, %jd given", + *priority); + return; + } + /* + * Since we have a priority, we also need a provider now. + * Note: be WARNS safe, by always assigning prov and only throw an + * error if *priority != -1. + */ + prov = gctl_get_asciiparam(req, "arg1"); + if (*priority > -1) { + if (prov == NULL) { + gctl_error(req, "Priority needs a disk name"); + return; + } + do_priority = 1; + } if (*autosync && *noautosync) { gctl_error(req, "'%s' and '%s' specified.", "autosync", "noautosync"); @@ -189,19 +212,32 @@ g_mirror_ctl_configure(struct gctl_req * slice = sc->sc_slice; else slice = *slicep; - if (g_mirror_ndisks(sc, -1) < sc->sc_ndisks) { + /* Enforce usage() of -p not allowing any other options. */ + if (do_priority && (*autosync || *noautosync || *failsync || + *nofailsync || *hardcode || *dynamic || *slicep != -1 || + strcmp(balancep, "none") != 0)) { sx_xunlock(&sc->sc_lock); - gctl_error(req, "Not all disks connected. Try 'forget' command " - "first."); + gctl_error(req, "only -p accepted when setting priority"); return; } if (sc->sc_balance == balance && sc->sc_slice == slice && !*autosync && !*noautosync && !*failsync && !*nofailsync && !*hardcode && - !*dynamic) { + !*dynamic && !do_priority) { sx_xunlock(&sc->sc_lock); gctl_error(req, "Nothing has changed."); return; } + if ((!do_priority && *nargs != 1) || (do_priority && *nargs != 2)) { + sx_xunlock(&sc->sc_lock); + gctl_error(req, "Invalid number of arguments."); + return; + } + if (g_mirror_ndisks(sc, -1) < sc->sc_ndisks) { + sx_xunlock(&sc->sc_lock); + gctl_error(req, "Not all disks connected. Try 'forget' command " + "first."); + return; + } sc->sc_balance = balance; sc->sc_slice = slice; if ((sc->sc_flags & G_MIRROR_DEVICE_FLAG_NOAUTOSYNC) != 0) { @@ -223,6 +259,23 @@ g_mirror_ctl_configure(struct gctl_req * } } LIST_FOREACH(disk, &sc->sc_disks, d_next) { + /* + * Handle priority first, since we only need one disk, do one + * operation on it and then we're done. No need to check other + * flags, as usage doesn't allow it. + */ + if (do_priority) { + if (strcmp(disk->d_name, prov) == 0) { + if (disk->d_priority == *priority) + gctl_error(req, "Nothing has changed."); + else { + disk->d_priority = *priority; + g_mirror_update_metadata(disk); + } + break; + } + continue; + } if (do_sync) { if (disk->d_state == G_MIRROR_DISK_STATE_SYNCHRONIZING) disk->d_flags &= ~G_MIRROR_DISK_FLAG_FORCE_SYNC; _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org" From owner-freebsd-geom@FreeBSD.ORG Fri Sep 30 21:00:12 2011 Return-Path: Delivered-To: freebsd-geom@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F03CB106566C for ; Fri, 30 Sep 2011 21:00:11 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from onlyone.friendlyhosting.spb.ru (onlyone.friendlyhosting.spb.ru [IPv6:2a01:4f8:131:60a2::2]) by mx1.freebsd.org (Postfix) with ESMTP id A9E198FC12 for ; Fri, 30 Sep 2011 21:00:11 +0000 (UTC) Received: from lion.home.serebryakov.spb.ru (unknown [IPv6:2001:470:923f:1:906c:6af3:5301:18c6]) (Authenticated sender: lev@serebryakov.spb.ru) by onlyone.friendlyhosting.spb.ru (Postfix) with ESMTPA id EE0EE4AC1C for ; Sat, 1 Oct 2011 01:00:10 +0400 (MSD) Date: Sat, 1 Oct 2011 01:00:05 +0400 From: Lev Serebryakov Organization: FreeBSD X-Priority: 3 (Normal) Message-ID: <17210489357.20111001010005@serebryakov.spb.ru> To: freebsd-geom@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: quoted-printable Cc: Subject: Is detailed GEOM statistic availiable? X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: lev@FreeBSD.org List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Sep 2011 21:00:13 -0000 Hello, Freebsd-geom. Is it possible to turn on or get detailed GEOM statistic, like distribution of requests by sizes (separate READ and WRITE) for given geom for long period of time? --=20 // Black Lion AKA Lev Serebryakov