From owner-freebsd-geom@FreeBSD.ORG Mon Aug 28 08:50:23 2006 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 4450D16A53B for ; Mon, 28 Aug 2006 08:50:23 +0000 (UTC) (envelope-from awatts@pett.com.au) Received: from mail.equard.com.au (mail.equard.com.au [150.101.96.125]) by mx1.FreeBSD.org (Postfix) with ESMTP id 222DD43D53 for ; Mon, 28 Aug 2006 08:50:21 +0000 (GMT) (envelope-from awatts@pett.com.au) Received: from pett.com.au ([172.24.169.71]) by mail.equard.com.au (8.13.6.20060614/8.13.6) with ESMTP id k7S8oJEl036804 for ; Mon, 28 Aug 2006 18:20:20 +0930 (CST) (envelope-from awatts@pett.com.au) Message-ID: <44F2AE04.6030408@pett.com.au> Date: Mon, 28 Aug 2006 18:19:08 +0930 From: Alastair Watts User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.6) Gecko/20040113 X-Accept-Language: en-au, en-us, en MIME-Version: 1.0 To: freebsd-geom@freebsd.org X-Enigmail-Version: 0.83.6.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: gvinum behaviour on disk failure 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, 28 Aug 2006 08:50:23 -0000 Hi list, The other night we had a drive die under gvinum on FreeBSD 5.4. The setup was ad0 and ad2 in a mirror. Log messages were: Aug 26 23:11:49 mail kernel: ad2: FAILURE - READ_DMA status=51 error=4 LBA=80176 Aug 26 23:11:49 mail kernel: GEOM_VINUM: subdisk swap.p1.s0 state change: up -> down Aug 26 23:11:49 mail kernel: GEOM_VINUM: plex swap.p1 state change: up -> down Aug 26 23:11:49 mail kernel: GEOM_VINUM: subdisk root.p1.s0 state change: up -> down Aug 26 23:11:49 mail kernel: GEOM_VINUM: plex root.p1 state change: up -> down Aug 26 23:11:49 mail kernel: GEOM_VINUM: subdisk tmp.p1.s0 state change: up -> down Aug 26 23:11:49 mail kernel: GEOM_VINUM: plex tmp.p1 state change: up -> down Aug 26 23:11:49 mail kernel: GEOM_VINUM: subdisk usr.p1.s0 state change: up -> down Aug 26 23:11:49 mail kernel: GEOM_VINUM: plex usr.p1 state change: up -> down Aug 26 23:11:49 mail kernel: swap_pager: I/O error - pagein failed; blkno 9977,size 4096, error 0 Aug 26 23:11:49 mail kernel: vm_fault: pager read error, pid 30400 (httpd) Aug 26 23:11:49 mail kernel: pid 30400 (httpd), uid 1002: exited on signal 11 Am I missing something (perhaps data didn't get written to ad0, but then shouldn't it have been in memory), or shouldn't gvinum have absorbed this error and supplied the data from ad0? Or is this a known issue/bug? I searched but couldn't find a similar reference on this list.. Cheers, Al From owner-freebsd-geom@FreeBSD.ORG Mon Aug 28 10:21:53 2006 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 18DAD16A4DA for ; Mon, 28 Aug 2006 10:21:53 +0000 (UTC) (envelope-from arne_woerner@yahoo.com) Received: from web30306.mail.mud.yahoo.com (web30306.mail.mud.yahoo.com [209.191.69.68]) by mx1.FreeBSD.org (Postfix) with SMTP id 7788C43D45 for ; Mon, 28 Aug 2006 10:21:52 +0000 (GMT) (envelope-from arne_woerner@yahoo.com) Received: (qmail 94149 invoked by uid 60001); 28 Aug 2006 10:21:51 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=yURFXoECyF++BmrJW4XE8KjMyzkbDms63yLvb8LYU8tduEnjMzBWp1WAdUuEc/y6jZ9nzkP4dWAkvI7dbDroshEt5gO65TzrB+4mAZ4ZCQ3uITVZrBeZlCPNb8B2F1e/Oupri5WqKpxd9GVrPfEXxwR1FUcadCH2lwSvCLA8srk= ; Message-ID: <20060828102151.94147.qmail@web30306.mail.mud.yahoo.com> Received: from [213.54.67.25] by web30306.mail.mud.yahoo.com via HTTP; Mon, 28 Aug 2006 03:21:51 PDT Date: Mon, 28 Aug 2006 03:21:51 -0700 (PDT) From: "R. B. Riddick" To: Alastair Watts , freebsd-geom@freebsd.org In-Reply-To: <44F2AE04.6030408@pett.com.au> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Cc: Subject: Re: gvinum behaviour on disk failure 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, 28 Aug 2006 10:21:53 -0000 --- Alastair Watts wrote: > Am I missing something (perhaps data didn't get written to ad0, but then > shouldn't it have been in memory), or shouldn't gvinum have absorbed > this error and supplied the data from ad0? > > Or is this a known issue/bug? I searched but couldn't find a similar > reference on this list.. > Hi Alastair! Hi list! I say, did u consider migrating to gmirror or graid3? Or even graid5? ;-)) http://home.tiscali.de/cmdr_faako/geom_raid5.tbz (now it has all new and compile-able files, that compile correctly... Thanks to veronica (...) fluffles (...) net) As far as I know, gvinum is not so good supported and has a lot of dysfunctions/malfunctions and is just contained for people who want to stay with vinum... vinum isnt so good supported since R5.X... But I am sure that vinum was somewhen in R3/R4 a very good software-RAID-tool... I will never forget it... Bye Arne --- Arne likes "Kentucky fried movie" (here esp.: "United Appeal For the Dead") __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From owner-freebsd-geom@FreeBSD.ORG Mon Aug 28 11:09:35 2006 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 CBE7816A4E8 for ; Mon, 28 Aug 2006 11:09:35 +0000 (UTC) (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 3E39043DB9 for ; Mon, 28 Aug 2006 11:08:20 +0000 (GMT) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k7SB83ql071502 for ; Mon, 28 Aug 2006 11:08:03 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k7SB81Y0071498 for freebsd-geom@FreeBSD.org; Mon, 28 Aug 2006 11:08:01 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 28 Aug 2006 11:08:01 GMT Message-Id: <200608281108.k7SB81Y0071498@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: linimon 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, 28 Aug 2006 11:09:35 -0000 Current FreeBSD problem reports Critical problems Serious problems S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/76538 geom [gbde] nfs-write on gbde partition stalls and continue o kern/84556 geom [geom] GBDE-encrypted swap causes panic at shutdown o kern/87544 geom [gbde] mmaping large files on a gbde filesystem deadlo o kern/89102 geom [geom_vfs] [panic] panic when forced unmount FS from u o bin/90093 geom fdisk(8) incapable of altering in-core geometry o kern/90582 geom [geom_mirror] [panic] Restore cause panic string (ffs_ o kern/95771 geom [geom] geom mirror provider destroyed (machine crashed o kern/98034 geom [geom] dereference of NULL pointer in acd_geom_detach o kern/98742 geom [geli] IO errors while using geli o kern/99256 geom [geli] kernel panic/freeze with geli and ufs (maybe re 10 problems total. Non-critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- o bin/78131 geom gbde "destroy" not working. o kern/79251 geom [2TB] newfs fails on 2.6TB gbde device o kern/94632 geom [geom] Kernel output resets input while GELI asks for o kern/98538 geom [geom] Kernel panic on ggate destroy 4 problems total. From owner-freebsd-geom@FreeBSD.ORG Mon Aug 28 13:16:44 2006 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 35AC916A4E2 for ; Mon, 28 Aug 2006 13:16:44 +0000 (UTC) (envelope-from awatts@pett.com.au) Received: from mail.equard.com.au (mail.equard.com.au [150.101.96.125]) by mx1.FreeBSD.org (Postfix) with ESMTP id 61EAD43D90 for ; Mon, 28 Aug 2006 13:16:39 +0000 (GMT) (envelope-from awatts@pett.com.au) Received: from pett.com.au ([172.24.169.71]) by mail.equard.com.au (8.13.6.20060614/8.13.6) with ESMTP id k7SDGbXV042621; Mon, 28 Aug 2006 22:46:38 +0930 (CST) (envelope-from awatts@pett.com.au) Message-ID: <44F2EC6D.4010704@pett.com.au> Date: Mon, 28 Aug 2006 22:45:25 +0930 From: Alastair Watts User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.6) Gecko/20040113 X-Accept-Language: en-au, en-us, en MIME-Version: 1.0 To: "R. B. Riddick" References: <20060828102151.94147.qmail@web30306.mail.mud.yahoo.com> In-Reply-To: <20060828102151.94147.qmail@web30306.mail.mud.yahoo.com> X-Enigmail-Version: 0.83.6.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-geom@freebsd.org Subject: Re: gvinum behaviour on disk failure 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, 28 Aug 2006 13:16:44 -0000 Hi Arne, R. B. Riddick wrote: > I say, did u consider migrating to gmirror or graid3? > Or even graid5? ;-)) I use gmirror as much as I can! I used gvinum this time though as the disks are slightly different.. ad0 is 38166MB while ad2 is 38204MB and as far as I know, drives need to be identical sizes for gmirror to work. Is there a way to use gmirror with these two drives? > As far as I know, gvinum is not so good supported and has a lot of > dysfunctions/malfunctions and is just contained for people who want to stay > with vinum... vinum isnt so good supported since R5.X... But I am sure that > vinum was somewhen in R3/R4 a very good software-RAID-tool... I will never > forget it... Yes... I noticed gvinum was very different to Greg's original vinum suite ;) But this seems to be a fundamental thing that's missing from gvinum - the ability to recover from a drive failure and to be able to service the request from a different plex. Thoughts? Cheers, Al From owner-freebsd-geom@FreeBSD.ORG Mon Aug 28 13:28:48 2006 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 B69F316A4E2 for ; Mon, 28 Aug 2006 13:28:48 +0000 (UTC) (envelope-from arne_woerner@yahoo.com) Received: from web30308.mail.mud.yahoo.com (web30308.mail.mud.yahoo.com [209.191.69.70]) by mx1.FreeBSD.org (Postfix) with SMTP id 2630B43D55 for ; Mon, 28 Aug 2006 13:28:48 +0000 (GMT) (envelope-from arne_woerner@yahoo.com) Received: (qmail 81474 invoked by uid 60001); 28 Aug 2006 13:28:47 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=rzbHU6wgxnuraC1mSs0cg2JxBMnzG5NpRA4tRJHcy0zBnthQvWBc9J3G+yCcN5eQeFswzGMxCWMCPeFuh4M0OvJLyPZkiVrOswzewcBIwKLLeAEjbZVtahfbXThKsqWqbs5uZ/zYoWWp+Zl6/u6y5w2y8XjfA3VTzl9FyFlakgE= ; Message-ID: <20060828132846.81472.qmail@web30308.mail.mud.yahoo.com> Received: from [213.54.67.25] by web30308.mail.mud.yahoo.com via HTTP; Mon, 28 Aug 2006 06:28:46 PDT Date: Mon, 28 Aug 2006 06:28:46 -0700 (PDT) From: "R. B. Riddick" To: Alastair Watts In-Reply-To: <44F2EC6D.4010704@pett.com.au> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Cc: freebsd-geom@freebsd.org Subject: Re: gvinum behaviour on disk failure 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, 28 Aug 2006 13:28:48 -0000 --- Alastair Watts wrote: > > I say, did u consider migrating to gmirror or graid3? > > Or even graid5? ;-)) > > I use gmirror as much as I can! I used gvinum this time though as the > disks are slightly different.. ad0 is 38166MB while ad2 is 38204MB and > as far as I know, drives need to be identical sizes for gmirror to work. > > Is there a way to use gmirror with these two drives? > Yes. Out of my theoretically modell, I have of FBSD in my brain there are at least 2 possibilities: 1. use a partition/slice of the larger disk (bsdlabel... or fdisk...) and 2. just use gmirror and hope that it build the minimum of both sizes (which it does actually I think; so u do not have to hope very much...)... > Yes... I noticed gvinum was very different to Greg's original vinum > suite ;) But this seems to be a fundamental thing that's missing from > gvinum - the ability to recover from a drive failure and to be able to > service the request from a different plex. > Hmm... Does gmirror overcome these drawbacks? -Arne __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From owner-freebsd-geom@FreeBSD.ORG Mon Aug 28 13:48:01 2006 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 91A3D16A4F4 for ; Mon, 28 Aug 2006 13:48:01 +0000 (UTC) (envelope-from awatts@pett.com.au) Received: from mail.equard.com.au (mail.equard.com.au [150.101.96.125]) by mx1.FreeBSD.org (Postfix) with ESMTP id D231C43D46 for ; Mon, 28 Aug 2006 13:48:00 +0000 (GMT) (envelope-from awatts@pett.com.au) Received: from pett.com.au ([172.24.169.71]) by mail.equard.com.au (8.13.6.20060614/8.13.6) with ESMTP id k7SDlw41043372; Mon, 28 Aug 2006 23:17:58 +0930 (CST) (envelope-from awatts@pett.com.au) Message-ID: <44F2F3C5.7090001@pett.com.au> Date: Mon, 28 Aug 2006 23:16:45 +0930 From: Alastair Watts User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.6) Gecko/20040113 X-Accept-Language: en-au, en-us, en MIME-Version: 1.0 To: "R. B. Riddick" References: <20060828132846.81472.qmail@web30308.mail.mud.yahoo.com> In-Reply-To: <20060828132846.81472.qmail@web30308.mail.mud.yahoo.com> X-Enigmail-Version: 0.83.6.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-geom@freebsd.org Subject: Re: gvinum behaviour on disk failure 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, 28 Aug 2006 13:48:01 -0000 R. B. Riddick wrote: > Yes. Out of my theoretically modell, I have of FBSD in my brain there are at > least 2 possibilities: > > 1. use a partition/slice of the larger disk (bsdlabel... or fdisk...) Will gmirror work with slices? I thought it worked on the physical drive layer.. > and > 2. just use gmirror and hope that it build the minimum of both sizes (which it > does actually I think; so u do not have to hope very much...)... Haven't tried that, but have wondered if it will work. I guess you would have to use the smaller of the drives as the initial drive to base the mirror on. >>Yes... I noticed gvinum was very different to Greg's original vinum >>suite ;) But this seems to be a fundamental thing that's missing from >>gvinum - the ability to recover from a drive failure and to be able to >>service the request from a different plex. > > Hmm... Does gmirror overcome these drawbacks? Don't know. If it doesn't then it's still a problem in my opinion :) We have more machines using gmirror than gvinum (only 1 with gvinum), but so far only the machine with gvinum has had a drive fail since FBSD 5.3 upwards. I'd still like to hear from someone who knows the insides of gvinum as to their opinion on the earlier reported incident. Cheers, Al From owner-freebsd-geom@FreeBSD.ORG Mon Aug 28 13:52:25 2006 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 35A9E16A4E1 for ; Mon, 28 Aug 2006 13:52:25 +0000 (UTC) (envelope-from arne_woerner@yahoo.com) Received: from web30305.mail.mud.yahoo.com (web30305.mail.mud.yahoo.com [209.191.69.67]) by mx1.FreeBSD.org (Postfix) with SMTP id B1E2943D5A for ; Mon, 28 Aug 2006 13:52:24 +0000 (GMT) (envelope-from arne_woerner@yahoo.com) Received: (qmail 77116 invoked by uid 60001); 28 Aug 2006 13:52:23 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=phepq9o+IEAjtsxohMndCoBN8jLAE2l9NHCLTJp3i924+TYH2kWHjkEKTTFut9/JJ/tGzbiAPq/W3iqypfmpI/VjPsg1n5jW8ikqSS9Mrl83FBHF8yQS1m3eZ3zcgsKH8flFULO2/ad2z642T4+oV16lTm0yBx13GZkL+CVR2bs= ; Message-ID: <20060828135223.77114.qmail@web30305.mail.mud.yahoo.com> Received: from [213.54.67.25] by web30305.mail.mud.yahoo.com via HTTP; Mon, 28 Aug 2006 06:52:23 PDT Date: Mon, 28 Aug 2006 06:52:23 -0700 (PDT) From: "R. B. Riddick" To: Alastair Watts In-Reply-To: <44F2F3C5.7090001@pett.com.au> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Cc: freebsd-geom@freebsd.org Subject: Re: gvinum behaviour on disk failure 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, 28 Aug 2006 13:52:25 -0000 --- Alastair Watts wrote: > R. B. Riddick wrote: > > Will gmirror work with slices? I thought it worked on the physical drive > layer.. > Yes. Every geom class should work with every geom device... Since disks and slices and partitions are implemented as geom class today, gmirror should work with slices and partitions... > > 2. just use gmirror and hope that it build the minimum of both sizes (which > it > > does actually I think; so u do not have to hope very much...)... > > Haven't tried that, but have wondered if it will work. I guess you would > have to use the smaller of the drives as the initial drive to base the > mirror on. > Nope... As far as I now the user-land part of geom_mirror (gmirror) builds the minimum during the "create" and "label" procedure... > I'd still like to hear from someone who knows the insides of gvinum as > to their opinion on the earlier reported incident. > Dont know if there are any... -Arne __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From owner-freebsd-geom@FreeBSD.ORG Mon Aug 28 13:54:21 2006 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 E0C2A16A4DA for ; Mon, 28 Aug 2006 13:54:21 +0000 (UTC) (envelope-from anderson@centtech.com) Received: from mh1.centtech.com (moat3.centtech.com [207.200.51.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4B03843D58 for ; Mon, 28 Aug 2006 13:54:16 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [10.177.171.220] (neutrino.centtech.com [10.177.171.220]) by mh1.centtech.com (8.13.1/8.13.1) with ESMTP id k7SDsEVl094157; Mon, 28 Aug 2006 08:54:16 -0500 (CDT) (envelope-from anderson@centtech.com) Message-ID: <44F2F586.6060600@centtech.com> Date: Mon, 28 Aug 2006 08:54:14 -0500 From: Eric Anderson User-Agent: Thunderbird 1.5.0.5 (X11/20060802) MIME-Version: 1.0 To: Alastair Watts References: <20060828132846.81472.qmail@web30308.mail.mud.yahoo.com> <44F2F3C5.7090001@pett.com.au> In-Reply-To: <44F2F3C5.7090001@pett.com.au> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.87.1/1744/Mon Aug 28 07:05:13 2006 on mh1.centtech.com X-Virus-Status: Clean Cc: "R. B. Riddick" , freebsd-geom@freebsd.org Subject: Re: gvinum behaviour on disk failure 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, 28 Aug 2006 13:54:22 -0000 On 08/28/06 08:46, Alastair Watts wrote: > R. B. Riddick wrote: [..snip..] >>> Yes... I noticed gvinum was very different to Greg's original vinum >>> suite ;) But this seems to be a fundamental thing that's missing from >>> gvinum - the ability to recover from a drive failure and to be able to >>> service the request from a different plex. >> Hmm... Does gmirror overcome these drawbacks? > > Don't know. If it doesn't then it's still a problem in my opinion :) We > have more machines using gmirror than gvinum (only 1 with gvinum), but > so far only the machine with gvinum has had a drive fail since FBSD 5.3 > upwards. I've had a drive that belonged to a mirrored die before, and didn't notice it until I logged in to the machine and poked around, so it did do its job. I've also had a drive in a gmirror go bad, and it hung the whole box, but that isn't gmirrors' fault as far as I know. Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology Anything that works is better than anything that doesn't. ------------------------------------------------------------------------ From owner-freebsd-geom@FreeBSD.ORG Mon Aug 28 14:05:41 2006 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 4A3D816A4E1 for ; Mon, 28 Aug 2006 14:05:41 +0000 (UTC) (envelope-from awatts@pett.com.au) Received: from mail.equard.com.au (mail.equard.com.au [150.101.96.125]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7D3E443D68 for ; Mon, 28 Aug 2006 14:05:37 +0000 (GMT) (envelope-from awatts@pett.com.au) Received: from pett.com.au ([172.24.169.71]) by mail.equard.com.au (8.13.6.20060614/8.13.6) with ESMTP id k7SE5Qat043764; Mon, 28 Aug 2006 23:35:27 +0930 (CST) (envelope-from awatts@pett.com.au) Message-ID: <44F2F7DE.6080207@pett.com.au> Date: Mon, 28 Aug 2006 23:34:14 +0930 From: Alastair Watts User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.6) Gecko/20040113 X-Accept-Language: en-au, en-us, en MIME-Version: 1.0 To: Eric Anderson References: <20060828132846.81472.qmail@web30308.mail.mud.yahoo.com> <44F2F3C5.7090001@pett.com.au> <44F2F586.6060600@centtech.com> In-Reply-To: <44F2F586.6060600@centtech.com> X-Enigmail-Version: 0.83.6.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-geom@freebsd.org Subject: Re: gvinum behaviour on disk failure 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, 28 Aug 2006 14:05:41 -0000 Eric Anderson wrote: > I've had a drive that belonged to a mirrored die before, and didn't > notice it until I logged in to the machine and poked around, so it did > do its job. I've also had a drive in a gmirror go bad, and it hung the > whole box, but that isn't gmirrors' fault as far as I know. gvinum did its job in this instance as well - it took the dead drive plex down. After that happened, subsequent requests were all served successfully from ad0. But it still returned a 'fail' for the request that caused the fault (probably just passed the fault through) instead of seeing it as a fault and retrying the operation on ad0. That caused a process to die as the read request was for a swap page. I'd be interested to hear more information on the gmirrored drive hanging the box. Were both drives on the same ATA bus and the bus hung perhaps? Cheers, Al From owner-freebsd-geom@FreeBSD.ORG Mon Aug 28 14:06:22 2006 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 00A1016A4DE for ; Mon, 28 Aug 2006 14:06:22 +0000 (UTC) (envelope-from awatts@pett.com.au) Received: from mail.equard.com.au (mail.equard.com.au [150.101.96.125]) by mx1.FreeBSD.org (Postfix) with ESMTP id 10D4E43D62 for ; Mon, 28 Aug 2006 14:06:15 +0000 (GMT) (envelope-from awatts@pett.com.au) Received: from pett.com.au ([172.24.169.71]) by mail.equard.com.au (8.13.6.20060614/8.13.6) with ESMTP id k7SE6EV2043802; Mon, 28 Aug 2006 23:36:14 +0930 (CST) (envelope-from awatts@pett.com.au) Message-ID: <44F2F80D.8080200@pett.com.au> Date: Mon, 28 Aug 2006 23:35:01 +0930 From: Alastair Watts User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.6) Gecko/20040113 X-Accept-Language: en-au, en-us, en MIME-Version: 1.0 To: "R. B. Riddick" References: <20060828135223.77114.qmail@web30305.mail.mud.yahoo.com> In-Reply-To: <20060828135223.77114.qmail@web30305.mail.mud.yahoo.com> X-Enigmail-Version: 0.83.6.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-geom@freebsd.org Subject: Re: gvinum behaviour on disk failure 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, 28 Aug 2006 14:06:22 -0000 R. B. Riddick wrote: > Yes. Every geom class should work with every geom device... Since disks and > slices and partitions are implemented as geom class today, gmirror should work > with slices and partitions... Sounds like a nice backup plan if gmirror can't work out the drive sizes natively, as per the paragraph below. > Nope... As far as I now the user-land part of geom_mirror (gmirror) builds the > minimum during the "create" and "label" procedure... Assuming you specify both drives during the procedure. If you're trying to preserve data on one of the drives to be mirrored then there'd be a problem wouldn't there? >>I'd still like to hear from someone who knows the insides of gvinum as >>to their opinion on the earlier reported incident. > > Dont know if there are any... So is gvinum now to be considered End Of Maintenance/Life? Cheers, Al From owner-freebsd-geom@FreeBSD.ORG Mon Aug 28 15:16:10 2006 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 B785916A4DD for ; Mon, 28 Aug 2006 15:16:10 +0000 (UTC) (envelope-from arne_woerner@yahoo.com) Received: from web30313.mail.mud.yahoo.com (web30313.mail.mud.yahoo.com [209.191.69.75]) by mx1.FreeBSD.org (Postfix) with SMTP id 428D343D4C for ; Mon, 28 Aug 2006 15:16:08 +0000 (GMT) (envelope-from arne_woerner@yahoo.com) Received: (qmail 41589 invoked by uid 60001); 28 Aug 2006 15:16:07 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=mOuli9A5QrWUp5YPFju4zYej5siTXNf7P5bZhQG818B1K8PlaHQVq9vjjMaTpnEk7TQn6BP6NvXOCOcuCf/e0wqG8kZnJBfcYY26BAuAniPtotpeL/JRMRowBadIBX+hhx9Csa2o630VydYUI4PtOj17PixeP45HefMpS9r2I8U= ; Message-ID: <20060828151607.41587.qmail@web30313.mail.mud.yahoo.com> Received: from [213.54.67.25] by web30313.mail.mud.yahoo.com via HTTP; Mon, 28 Aug 2006 08:16:07 PDT Date: Mon, 28 Aug 2006 08:16:07 -0700 (PDT) From: "R. B. Riddick" To: Alastair Watts In-Reply-To: <44F2F80D.8080200@pett.com.au> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Cc: freebsd-geom@freebsd.org Subject: Re: gvinum behaviour on disk failure 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, 28 Aug 2006 15:16:10 -0000 --- Alastair Watts wrote: > > Nope... As far as I now the user-land part of geom_mirror (gmirror) builds > the > > minimum during the "create" and "label" procedure... > > Assuming you specify both drives during the procedure. If you're trying > to preserve data on one of the drives to be mirrored then there'd be a > problem wouldn't there? > OK... Then u might be right. But then u could use gnop to make it look like to disk is smaller than it really is (option -s)... -Arne __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From owner-freebsd-geom@FreeBSD.ORG Mon Aug 28 15:38:08 2006 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 7310916A4DA for ; Mon, 28 Aug 2006 15:38:08 +0000 (UTC) (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 984CC43D5A for ; Mon, 28 Aug 2006 15:37:56 +0000 (GMT) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 4B0BE51395; Mon, 28 Aug 2006 17:37:39 +0200 (CEST) Received: from localhost (pjd.wheel.pl [10.0.1.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 4686351394; Mon, 28 Aug 2006 17:37:25 +0200 (CEST) Date: Mon, 28 Aug 2006 17:37:16 +0200 From: Pawel Jakub Dawidek To: Alastair Watts Message-ID: <20060828153716.GB64750@garage.freebsd.pl> References: <20060828102151.94147.qmail@web30306.mail.mud.yahoo.com> <44F2EC6D.4010704@pett.com.au> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="lCAWRPmW1mITcIfM" Content-Disposition: inline In-Reply-To: <44F2EC6D.4010704@pett.com.au> X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 User-Agent: mutt-ng/devel-r804 (FreeBSD) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-5.9 required=3.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.4 Cc: "R. B. Riddick" , freebsd-geom@freebsd.org Subject: Re: gvinum behaviour on disk failure 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, 28 Aug 2006 15:38:08 -0000 --lCAWRPmW1mITcIfM Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Aug 28, 2006 at 10:45:25PM +0930, Alastair Watts wrote: > Hi Arne, >=20 > R. B. Riddick wrote: >=20 > >I say, did u consider migrating to gmirror or graid3? > >Or even graid5? ;-)) >=20 > I use gmirror as much as I can! I used gvinum this time though as the dis= ks are slightly different.. ad0 is 38166MB while ad2 is 38204MB and as far = as I know, drives need=20 > to be identical sizes for gmirror to work. >=20 > Is there a way to use gmirror with these two drives? # gmirror label foo ad0 ad2 The size of the mirror will be the size of the smallest component minus one sector. If you don't want to lose space, you should partition bigger disk and mirror smaller disk with partition of the bigger disk. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --lCAWRPmW1mITcIfM Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (FreeBSD) iD8DBQFE8w2rForvXbEpPzQRAr85AJ4o50MhU/ID1HcymVfTz6ggVpH2fACgxFbO 3Hv818QnWcteIiIzpXHc+aQ= =B5Os -----END PGP SIGNATURE----- --lCAWRPmW1mITcIfM-- From owner-freebsd-geom@FreeBSD.ORG Mon Aug 28 16:22:51 2006 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 215DD16A4E1 for ; Mon, 28 Aug 2006 16:22:51 +0000 (UTC) (envelope-from arne_woerner@yahoo.com) Received: from web30314.mail.mud.yahoo.com (web30314.mail.mud.yahoo.com [209.191.69.76]) by mx1.FreeBSD.org (Postfix) with SMTP id 5ECC243D77 for ; Mon, 28 Aug 2006 16:22:50 +0000 (GMT) (envelope-from arne_woerner@yahoo.com) Received: (qmail 28912 invoked by uid 60001); 28 Aug 2006 16:22:49 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=xSFT0YNrUOhE3njQKKxwwEKxcD0lQx0LNR+JgkQSlqehmvXzzaJR30oUingRe6GvOmlPnoh/hQRiIfC9jXRDIQ3iuwHTBTIpxAYUyzt05FLPRqXdMrO0yvJZPto697xBtXAPCPuSSUHDDk1DBfqD4byrjfhc81O670SBg/pK/pM= ; Message-ID: <20060828162249.28910.qmail@web30314.mail.mud.yahoo.com> Received: from [213.54.67.25] by web30314.mail.mud.yahoo.com via HTTP; Mon, 28 Aug 2006 09:22:49 PDT Date: Mon, 28 Aug 2006 09:22:49 -0700 (PDT) From: "R. B. Riddick" To: Pawel Jakub Dawidek , Alastair Watts In-Reply-To: <20060828153716.GB64750@garage.freebsd.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Cc: freebsd-geom@freebsd.org Subject: Re: gvinum behaviour on disk failure 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, 28 Aug 2006 16:22:51 -0000 Hmm... I just did some experiments with gnop and my graid5 class: Somehow a gnop device with 100% failure probability is not removed from the graid5, although there were read accesses which failed with EIO... So I added some new lines, that retry up to 50 times (via my good old ENOMEM trick: that is issuing a ENOMEM instead of EIO or so...) and after 10 retries it removes the failing disk... Should we do that for the other geom classes, too? For maximum reliability... Or do I miss something? Or is my graid5 class somehow ill in this point? -Arne __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From owner-freebsd-geom@FreeBSD.ORG Mon Aug 28 16:37:11 2006 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 D795616A4DD for ; Mon, 28 Aug 2006 16:37:11 +0000 (UTC) (envelope-from xi@borderworlds.dk) Received: from ferengi.borderworlds.dk (ferengi.borderworlds.dk [80.166.152.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6C10143D70 for ; Mon, 28 Aug 2006 16:37:10 +0000 (GMT) (envelope-from xi@borderworlds.dk) Received: from dominion.borderworlds.dk (dominion.borderworlds.dk [10.1.0.10]) by ferengi.borderworlds.dk (Postfix) with ESMTP id 022E1B972 for ; Mon, 28 Aug 2006 18:37:08 +0200 (CEST) Received: by dominion.borderworlds.dk (Postfix, from userid 2000) id 354648C8; Mon, 28 Aug 2006 18:37:08 +0200 (CEST) To: freebsd-geom@FreeBSD.org From: Christian Laursen Date: Mon, 28 Aug 2006 18:37:07 +0200 Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Subject: Geom class project idea - geom_cow 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, 28 Aug 2006 16:37:11 -0000 I have an idea for a geom class that I think could be useful in a number of scenarios. The basic idea is that it takes two existing providers and uses the first one as a starting point and the other one to keep changes to the first one using copy-on-write. The second provider will need a bitmap to keep track of the blocks that have changed as well as at least as much space as the base provider. A number of the cases in which this class would prove useful are cases where you would otherwise choose unionfs. However, approaching this problem in geom seems simpler. (At least to me) I propose that this idea be added to and/or . Unfortunately I don't have the time nor much kernel hacking experience to do this myself at this point. -- Christian Laursen From owner-freebsd-geom@FreeBSD.ORG Mon Aug 28 16:47:15 2006 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 A304816A4E0 for ; Mon, 28 Aug 2006 16:47:15 +0000 (UTC) (envelope-from anderson@centtech.com) Received: from mh1.centtech.com (moat3.centtech.com [207.200.51.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2EEAA43D66 for ; Mon, 28 Aug 2006 16:47:14 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [10.177.171.220] (neutrino.centtech.com [10.177.171.220]) by mh1.centtech.com (8.13.1/8.13.1) with ESMTP id k7SGl4mu022753; Mon, 28 Aug 2006 11:47:05 -0500 (CDT) (envelope-from anderson@centtech.com) Message-ID: <44F31E07.4050008@centtech.com> Date: Mon, 28 Aug 2006 11:47:03 -0500 From: Eric Anderson User-Agent: Thunderbird 1.5.0.5 (X11/20060802) MIME-Version: 1.0 To: Christian Laursen References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.87.1/1745/Mon Aug 28 10:02:21 2006 on mh1.centtech.com X-Virus-Status: Clean Cc: freebsd-geom@freebsd.org Subject: Re: Geom class project idea - geom_cow 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, 28 Aug 2006 16:47:15 -0000 On 08/28/06 11:37, Christian Laursen wrote: > I have an idea for a geom class that I think could be useful in a number > of scenarios. > > The basic idea is that it takes two existing providers and uses the first > one as a starting point and the other one to keep changes to the first > one using copy-on-write. > > The second provider will need a bitmap to keep track of the blocks that > have changed as well as at least as much space as the base provider. > > A number of the cases in which this class would prove useful are cases > where you would otherwise choose unionfs. However, approaching this > problem in geom seems simpler. (At least to me) > > I propose that this idea be added to > and/or . > > Unfortunately I don't have the time nor much kernel hacking experience to > do this myself at this point. > This sounds a little like the gjournal project done by Ivan Voras for last years SoC project. Does it seem like what you want? Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology Anything that works is better than anything that doesn't. ------------------------------------------------------------------------ From owner-freebsd-geom@FreeBSD.ORG Mon Aug 28 16:49:02 2006 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 24D1D16A4DF for ; Mon, 28 Aug 2006 16:49:02 +0000 (UTC) (envelope-from gcubfg-freebsd-geom@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6849143D73 for ; Mon, 28 Aug 2006 16:48:53 +0000 (GMT) (envelope-from gcubfg-freebsd-geom@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1GHkHh-0006p9-4n for freebsd-geom@freebsd.org; Mon, 28 Aug 2006 18:48:28 +0200 Received: from cmung1431.cmu.carnet.hr ([193.198.133.161]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 28 Aug 2006 18:48:25 +0200 Received: from ivoras by cmung1431.cmu.carnet.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 28 Aug 2006 18:48:25 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-geom@freebsd.org From: Ivan Voras Date: Mon, 28 Aug 2006 18:48:12 +0200 Lines: 12 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: cmung1431.cmu.carnet.hr User-Agent: Thunderbird 1.5.0.5 (Windows/20060719) In-Reply-To: X-Enigmail-Version: 0.94.1.0 Sender: news Subject: Re: Geom class project idea - geom_cow 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, 28 Aug 2006 16:49:02 -0000 Christian Laursen wrote: > I have an idea for a geom class that I think could be useful in a number > of scenarios. > > The basic idea is that it takes two existing providers and uses the first > one as a starting point and the other one to keep changes to the first > one using copy-on-write. It's been discussed, and it's even on my tentative todo list (though I can't even say when I'll have the time&resources to start...). It's even done by my "old" gjournal project, but that aspect of it is undertested and probably buggy. From owner-freebsd-geom@FreeBSD.ORG Mon Aug 28 17:29:35 2006 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 E7B7016A4DA for ; Mon, 28 Aug 2006 17:29:35 +0000 (UTC) (envelope-from xi@borderworlds.dk) Received: from ferengi.borderworlds.dk (ferengi.borderworlds.dk [80.166.152.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id B6F4C43D4C for ; Mon, 28 Aug 2006 17:29:34 +0000 (GMT) (envelope-from xi@borderworlds.dk) Received: from dominion.borderworlds.dk (dominion.borderworlds.dk [10.1.0.10]) by ferengi.borderworlds.dk (Postfix) with ESMTP id DE266B972 for ; Mon, 28 Aug 2006 19:29:32 +0200 (CEST) Received: by dominion.borderworlds.dk (Postfix, from userid 2000) id AE94A8C8; Mon, 28 Aug 2006 19:29:32 +0200 (CEST) To: freebsd-geom@freebsd.org References: From: Christian Laursen Date: Mon, 28 Aug 2006 19:29:32 +0200 In-Reply-To: (Ivan Voras's message of "Mon, 28 Aug 2006 18:48:12 +0200") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: Geom class project idea - geom_cow 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, 28 Aug 2006 17:29:36 -0000 Ivan Voras writes: > Christian Laursen wrote: >> I have an idea for a geom class that I think could be useful in a number >> of scenarios. >> >> The basic idea is that it takes two existing providers and uses the first >> one as a starting point and the other one to keep changes to the first >> one using copy-on-write. > > It's been discussed, and it's even on my tentative todo list (though I > can't even say when I'll have the time&resources to start...). It's even > done by my "old" gjournal project, but that aspect of it is undertested > and probably buggy. I was not aware of that. I guess I'll have to take a look at Pawels gjournal and see if the functionality is still there. -- Christian Laursen From owner-freebsd-geom@FreeBSD.ORG Mon Aug 28 17:30:43 2006 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 7AA2A16A4DA for ; Mon, 28 Aug 2006 17:30:43 +0000 (UTC) (envelope-from anderson@centtech.com) Received: from mh2.centtech.com (moat3.centtech.com [207.200.51.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 710DE43D79 for ; Mon, 28 Aug 2006 17:30:35 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [10.177.171.220] (neutrino.centtech.com [10.177.171.220]) by mh2.centtech.com (8.13.1/8.13.1) with ESMTP id k7SHUVdw037225; Mon, 28 Aug 2006 12:30:32 -0500 (CDT) (envelope-from anderson@centtech.com) Message-ID: <44F32836.5070305@centtech.com> Date: Mon, 28 Aug 2006 12:30:30 -0500 From: Eric Anderson User-Agent: Thunderbird 1.5.0.5 (X11/20060802) MIME-Version: 1.0 To: Christian Laursen References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.87.1/1745/Mon Aug 28 10:02:21 2006 on mh2.centtech.com X-Virus-Status: Clean Cc: freebsd-geom@freebsd.org Subject: Re: Geom class project idea - geom_cow 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, 28 Aug 2006 17:30:43 -0000 On 08/28/06 12:29, Christian Laursen wrote: > Ivan Voras writes: > >> Christian Laursen wrote: >>> I have an idea for a geom class that I think could be useful in a number >>> of scenarios. >>> >>> The basic idea is that it takes two existing providers and uses the first >>> one as a starting point and the other one to keep changes to the first >>> one using copy-on-write. >> It's been discussed, and it's even on my tentative todo list (though I >> can't even say when I'll have the time&resources to start...). It's even >> done by my "old" gjournal project, but that aspect of it is undertested >> and probably buggy. > > I was not aware of that. I guess I'll have to take a look at Pawels gjournal > and see if the functionality is still there. > It isn't in Pawels' gjournal, only Ivan's. Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology Anything that works is better than anything that doesn't. ------------------------------------------------------------------------ From owner-freebsd-geom@FreeBSD.ORG Mon Aug 28 17:48:26 2006 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 019E316A4ED for ; Mon, 28 Aug 2006 17:48:26 +0000 (UTC) (envelope-from lulf@stud.ntnu.no) Received: from fri.itea.ntnu.no (fri.itea.ntnu.no [129.241.7.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id 09D6243EA8 for ; Mon, 28 Aug 2006 17:44:26 +0000 (GMT) (envelope-from lulf@stud.ntnu.no) Received: from localhost (localhost [127.0.0.1]) by fri.itea.ntnu.no (Postfix) with ESMTP id 1D47481F6 for ; Mon, 28 Aug 2006 19:44:23 +0200 (CEST) Received: from gaupe.stud.ntnu.no (gaupe.stud.ntnu.no [129.241.56.184]) by fri.itea.ntnu.no (Postfix) with ESMTP for ; Mon, 28 Aug 2006 19:44:22 +0200 (CEST) Received: by gaupe.stud.ntnu.no (Postfix, from userid 2312) id DB258D0003; Mon, 28 Aug 2006 19:44:22 +0200 (CEST) Date: Mon, 28 Aug 2006 19:44:22 +0200 From: Ulf Lilleengen To: freebsd-geom@freebsd.org Message-ID: <20060828174422.GA12019@stud.ntnu.no> References: <20060828135223.77114.qmail@web30305.mail.mud.yahoo.com> <44F2F80D.8080200@pett.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <44F2F80D.8080200@pett.com.au> User-Agent: Mutt/1.5.9i X-Content-Scanned: with sophos and spamassassin at mailgw.ntnu.no. Subject: Re: gvinum behaviour on disk failure 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, 28 Aug 2006 17:48:26 -0000 On Mon, Aug 28, 2006 at 11:35:01PM +0930, Alastair Watts wrote: > R. B. Riddick wrote: > > So is gvinum now to be considered End Of Maintenance/Life? I'm currently working on getting gvinum a bit up to date to support the old vinum features, but I still have some commands to implement before it's complete. A lot of this is only in perforce right now, until someone can commit it for me. Gvinum is not just a software-raid tool. It's a volume manager, and should be updated to support more advanced volume-manager features. Right now it maintains it's own raid 0,1 and 5 implementations, and this kind of duplicates maintanance a bit. Rewriting gvinum to use the new geom classes would be nice, but it's a lot of work. -- Mvh Ulf Lilleengen From owner-freebsd-geom@FreeBSD.ORG Mon Aug 28 17:50:10 2006 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 40E8416A4DA for ; Mon, 28 Aug 2006 17:50:10 +0000 (UTC) (envelope-from lulf@stud.ntnu.no) Received: from merke.itea.ntnu.no (merke.itea.ntnu.no [129.241.7.61]) by mx1.FreeBSD.org (Postfix) with ESMTP id AD14643D45 for ; Mon, 28 Aug 2006 17:50:09 +0000 (GMT) (envelope-from lulf@stud.ntnu.no) Received: from localhost (localhost [127.0.0.1]) by merke.itea.ntnu.no (Postfix) with ESMTP id 48EDF13C5BB for ; Mon, 28 Aug 2006 19:50:08 +0200 (CEST) Received: from gaupe.stud.ntnu.no (gaupe.stud.ntnu.no [129.241.56.184]) by merke.itea.ntnu.no (Postfix) with ESMTP for ; Mon, 28 Aug 2006 19:50:08 +0200 (CEST) Received: by gaupe.stud.ntnu.no (Postfix, from userid 2312) id E86D5D0003; Mon, 28 Aug 2006 19:50:07 +0200 (CEST) Date: Mon, 28 Aug 2006 19:50:07 +0200 From: Ulf Lilleengen To: freebsd-geom@freebsd.org Message-ID: <20060828175007.GA19553@stud.ntnu.no> References: <44F2AE04.6030408@pett.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <44F2AE04.6030408@pett.com.au> User-Agent: Mutt/1.5.9i X-Content-Scanned: with sophos and spamassassin at mailgw.ntnu.no. Subject: Re: gvinum behaviour on disk failure 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, 28 Aug 2006 17:50:10 -0000 On man, aug 28, 2006 at 06:19:08 +0930, Alastair Watts wrote: > Hi list, > > The other night we had a drive die under gvinum on FreeBSD 5.4. The > setup was ad0 and ad2 in a mirror. Log messages were: > > Am I missing something (perhaps data didn't get written to ad0, but then > shouldn't it have been in memory), or shouldn't gvinum have absorbed > this error and supplied the data from ad0? > > Or is this a known issue/bug? I searched but couldn't find a similar > reference on this list.. > > Cheers, Hi, Could you give me the output of "gvinum printconfig"? -- Mvh Ulf Lilleengen From owner-freebsd-geom@FreeBSD.ORG Mon Aug 28 20:07:19 2006 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 D992616A4DE for ; Mon, 28 Aug 2006 20:07:19 +0000 (UTC) (envelope-from phk@phk.freebsd.dk) Received: from phk.freebsd.dk (phk.freebsd.dk [130.225.244.222]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5BAD043D73 for ; Mon, 28 Aug 2006 20:07:19 +0000 (GMT) (envelope-from phk@phk.freebsd.dk) Received: from critter.freebsd.dk (critter.freebsd.dk [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id BCC08170C5; Mon, 28 Aug 2006 20:07:17 +0000 (UTC) To: Christian Laursen From: "Poul-Henning Kamp" In-Reply-To: Your message of "Mon, 28 Aug 2006 18:37:07 +0200." Date: Mon, 28 Aug 2006 20:07:17 +0000 Message-ID: <6952.1156795637@critter.freebsd.dk> Cc: freebsd-geom@FreeBSD.org Subject: Re: Geom class project idea - geom_cow 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, 28 Aug 2006 20:07:19 -0000 In message , Christian Laursen writes : >I have an idea for a geom class that I think could be useful in a number >of scenarios. > >The basic idea is that it takes two existing providers and uses the first >one as a starting point and the other one to keep changes to the first >one using copy-on-write. This one has been one of the inspirations for GEOMs generality from the very beginning, but so far nobody has actually written it. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. From owner-freebsd-geom@FreeBSD.ORG Tue Aug 29 11:44:31 2006 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 D67D316A4DD for ; Tue, 29 Aug 2006 11:44:31 +0000 (UTC) (envelope-from awatts@pett.com.au) Received: from mail.equard.com.au (mail.equard.com.au [150.101.96.125]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0064243D53 for ; Tue, 29 Aug 2006 11:44:30 +0000 (GMT) (envelope-from awatts@pett.com.au) Received: from pett.com.au ([172.24.169.72]) by mail.equard.com.au (8.13.6.20060614/8.13.6) with ESMTP id k7TBiRT5075959; Tue, 29 Aug 2006 21:14:28 +0930 (CST) (envelope-from awatts@pett.com.au) Message-ID: <44F4284A.5040906@pett.com.au> Date: Tue, 29 Aug 2006 21:13:06 +0930 From: Alastair Watts User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.6) Gecko/20040113 X-Accept-Language: en-au, en-us, en MIME-Version: 1.0 To: Ulf Lilleengen References: <44F2AE04.6030408@pett.com.au> <20060828175007.GA19553@stud.ntnu.no> In-Reply-To: <20060828175007.GA19553@stud.ntnu.no> X-Enigmail-Version: 0.83.6.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-geom@freebsd.org Subject: Re: gvinum behaviour on disk failure 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, 29 Aug 2006 11:44:31 -0000 Hi Ulf, Ulf Lilleengen wrote: >>The other night we had a drive die under gvinum on FreeBSD 5.4. The >>setup was ad0 and ad2 in a mirror. Log messages were: >> >>Am I missing something (perhaps data didn't get written to ad0, but then >>shouldn't it have been in memory), or shouldn't gvinum have absorbed >>this error and supplied the data from ad0? >> >>Or is this a known issue/bug? I searched but couldn't find a similar >>reference on this list.. > > Could you give me the output of "gvinum printconfig"? drive bravo device /dev/ad2s1h drive alpha device /dev/ad0s1h volume usr volume tmp volume swap volume root plex name usr.p1 org concat vol usr plex name tmp.p1 org concat vol tmp plex name swap.p1 org concat vol swap plex name root.p1 org concat vol root plex name usr.p0 org concat vol usr plex name tmp.p0 org concat vol tmp plex name swap.p0 org concat vol swap plex name root.p0 org concat vol root sd name usr.p1.s0 drive bravo len 75010137s driveoffset 3145993s plex usr.p1 plexoffset 0s sd name tmp.p1.s0 drive bravo len 524288s driveoffset 2621705s plex tmp.p1 plexoffset 0s sd name swap.p1.s0 drive bravo len 2097152s driveoffset 265s plex swap.p1 plexoffset 0s sd name root.p1.s0 drive bravo len 524288s driveoffset 2097417s plex root.p1 plexoffset 0s sd name usr.p0.s0 drive alpha len 75010137s driveoffset 3145993s plex usr.p0 plexoffset 0s sd name tmp.p0.s0 drive alpha len 524288s driveoffset 2621705s plex tmp.p0 plexoffset 0s sd name swap.p0.s0 drive alpha len 2097152s driveoffset 265s plex swap.p0 plexoffset 0s sd name root.p0.s0 drive alpha len 524288s driveoffset 2097417s plex root.p0 plexoffset 0s Cheers, Al From owner-freebsd-geom@FreeBSD.ORG Thu Aug 31 15:05:50 2006 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 72B2916A4E0 for ; Thu, 31 Aug 2006 15:05:50 +0000 (UTC) (envelope-from gary@pattersonsoftware.com) Received: from customer-domains.icp-qv1-irony8.iinet.net.au (customer-domains.icp-qv1-irony8.iinet.net.au [203.59.1.133]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9CEDB43D53 for ; Thu, 31 Aug 2006 15:05:47 +0000 (GMT) (envelope-from gary@pattersonsoftware.com) Received: from 203-206-75-42.dyn.iinet.net.au (HELO tosh) ([203.206.75.42]) by customer-domains.icp-qv1-irony8.iinet.net.au with ESMTP; 31 Aug 2006 23:05:45 +0800 X-BrightmailFiltered: true X-Brightmail-Tracker: AAAAAA== X-IronPort-AV: i="4.08,194,1154880000"; d="scan'208,217"; a="457558853:sNHT29700900" From: "Gary Newcombe" To: Date: Fri, 1 Sep 2006 01:05:44 +1000 Message-ID: <000001c6cd0e$ef4831c0$1f01a8c0@tosh> MIME-Version: 1.0 X-Mailer: Microsoft Office Outlook 11 Thread-Index: AcbNDu3lvlvlQqwdSfmQlVotwfkiIg== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962 X-Antivirus: avast! (VPS 0635-3, 31/08/2006), Outbound message X-Antivirus-Status: Clean Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: efs, geli, cd boot disk and a usb key. 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, 31 Aug 2006 15:05:50 -0000 Hello, I have an older toshiba satellite (which doesn't boot from a usb key) on which I am trying to setup an encrypted filesystem using geli. Following the the guides by Marc Schiesser and Adam Wood, I can get to a certain point, but not as far as I'd like. I need to boot from the cdrom, mount a memory disk partition from which I can mount the usbdrive (and hence get access to the keyfile), and then mount the encrypted partitions on the hard drive with that keyfile. In brief, on the harddrive, have set up a geli ad0 geli init -b -s 4096 -l 256 -K /keyfile/ad0.key /dev/ad0 and created filesystem etc. I know that it was originally not possible to set the -b flag on a partition and also a keyfile, but I read that this functionality was now available. I am using a snapshot of 6.1 stable from beginning of aug 2006 to try this out. Is this the case in stable or just current? The usbdrive contains /boot /etc/fstab and /boot/mfsroot as the memory disk. the memory disk has /etc/rc and /rescue. I added the directive to rc to mount the usbdrive on the memory disk so that the key would be available to mount the encrypted root partition. I know this is vague, but I essentially want to know if I'm barking up the right tree? Is this possible? is there any documentation for this that I'm missing? I need to be able to keep the key file on the usbdrive so that the cd boot disk can be left in the laptop and the usb drive removed after boot. I'm guessing that I won't get far with the -b flag and that I need to mount root from the memory disk, mount encrypted root from the disk and continue booting from the encrypted boot partition. Any help would be much appreciated as I already spent way too long on this! Gary