Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Oct 2009 11:32:10 +0200
From:      Ivan Voras <ivoras@freebsd.org>
To:        freebsd-geom@freebsd.org
Subject:   Re: gvirstor over gmirror
Message-ID:  <hbp8qp$sa6$1@ger.gmane.org>
In-Reply-To: <4ADF3455.9070905@diff.org>
References:  <4ADF3455.9070905@diff.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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?




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?hbp8qp$sa6$1>