From owner-freebsd-geom@FreeBSD.ORG Thu Sep 14 16:42:30 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 C3CF416A492 for ; Thu, 14 Sep 2006 16:42:30 +0000 (UTC) (envelope-from arne_woerner@yahoo.com) Received: from web30309.mail.mud.yahoo.com (web30309.mail.mud.yahoo.com [209.191.69.71]) by mx1.FreeBSD.org (Postfix) with SMTP id 4D67643D77 for ; Thu, 14 Sep 2006 16:42:26 +0000 (GMT) (envelope-from arne_woerner@yahoo.com) Received: (qmail 36455 invoked by uid 60001); 14 Sep 2006 16:42:25 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=kqNQJrGSROS6tLH0xRbH/P2n2ycv8eHFZ8kkrwM/pndZUe+D8TisdyavD5WPB0ivlgeMB3Vyv2k+2HXVWgTPt57C2oTkEdbGEY+7G7vylmKaRPLqqnsdbzhXu8YJygUYw02lYlCABtceKnkFJvh/qqeDQSYED1n0mfoWOqgJYPw= ; Message-ID: <20060914164225.36453.qmail@web30309.mail.mud.yahoo.com> Received: from [213.54.79.187] by web30309.mail.mud.yahoo.com via HTTP; Thu, 14 Sep 2006 09:42:25 PDT Date: Thu, 14 Sep 2006 09:42:25 -0700 (PDT) From: "R. B. Riddick" To: freebsd-geom@FreeBSD.ORG MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Cc: Subject: Re: gmirror size question 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, 14 Sep 2006 16:42:30 -0000 --- "R. B. Riddick" wrote: > I would use gnop during the "gmirror label" command in the hope, that gmirror > stores the mediasize permanently without further future checking... But that > is just a quick shot... > Because I found the question so interesting here is the plan (it is my plan; I invented it on my own; and I have a second plan about bands playing songs of David Hasselhoff): # diskinfo /dev/md? /dev/md0 512 33554432 65536 /dev/md1 512 16777216 32768 # gnop create -v -s 10485760 md0 # gmirror label fook md0.nop md1 # gmirror stop fook # gnop destroy md0.nop # gmirror forget fook # gmirror insert fook md0 # gmirror list Geom name: fook State: COMPLETE Components: 2 Balance: split Slice: 4096 Flags: NONE GenID: 0 SyncID: 1 ID: 395302241 Providers: 1. Name: mirror/fook Mediasize: 10485248 (10M) Sectorsize: 512 Mode: r0w0e0 Consumers: 1. Name: md0 Mediasize: 33554432 (32M) Sectorsize: 512 Mode: r1w1e1 State: ACTIVE Priority: 0 Flags: NONE GenID: 0 SyncID: 1 ID: 864954146 2. Name: md1 Mediasize: 16777216 (16M) Sectorsize: 512 Mode: r1w1e1 State: ACTIVE Priority: 0 Flags: NONE GenID: 0 SyncID: 1 ID: 3713132874 [or similar] quod erat fackiendum -Arne __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com