From owner-freebsd-geom@FreeBSD.ORG Thu Oct 22 09:32:34 2009 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 B99B7106568B for ; Thu, 22 Oct 2009 09:32:34 +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 7703B8FC08 for ; Thu, 22 Oct 2009 09:32:33 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.50) id 1N0u24-0002AU-LH for freebsd-geom@freebsd.org; Thu, 22 Oct 2009 11:32:32 +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 ; Thu, 22 Oct 2009 11:32:32 +0200 Received: from ivoras by lara.cc.fer.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 22 Oct 2009 11:32:32 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-geom@freebsd.org From: Ivan Voras Date: Thu, 22 Oct 2009 11:32:10 +0200 Lines: 50 Message-ID: References: <4ADF3455.9070905@diff.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: lara.cc.fer.hr User-Agent: Thunderbird 2.0.0.23 (X11/20090928) In-Reply-To: <4ADF3455.9070905@diff.org> Sender: news Subject: Re: gvirstor over gmirror 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, 22 Oct 2009 09:32:34 -0000 Ferruccio Zamuner wrote: > Hello, > > I'm trying to get a virstor over gmirrored slices from different devices: > > free# gmirror list gmir1 > Geom name: gmir1 > State: COMPLETE > Components: 2 > Balance: split > Slice: 4096 > Flags: NOFAILSYNC > GenID: 0 > SyncID: 1 > ID: 1104038309 > Providers: > 1. Name: mirror/gmir1 > Mediasize: 237291069952 (221G) > Sectorsize: 512 > Mode: r0w0e0 > Consumers: > 1. Name: ad6s1 > Mediasize: 237291070464 (221G) > Sectorsize: 512 > Mode: r1w1e1 > State: ACTIVE > Priority: 0 > Flags: NONE > GenID: 0 > SyncID: 1 > ID: 2917203718 > 2. Name: ad7s1 > Mediasize: 237291070464 (221G) > Sectorsize: 512 > Mode: r1w1e1 > State: ACTIVE > Priority: 1 > Flags: NONE > GenID: 0 > SyncID: 1 > ID: 756437562 > > I thought to create a gvirstor with gmir1 at start and to connect in > next future more mirrored disks but: > geom virstor seems to loose metadata at reboot even with -h. > > gvirstor label -v myvirstor /dev/ad4 /dev/ad6 Is this command above within the same setup as the mirror creation above? Are you really trying to use the ad6 device twice?