Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Oct 2009 18:18:29 +0200
From:      Ferruccio Zamuner <nonsolosoft@diff.org>
To:        freebsd-geom@freebsd.org
Subject:   gvirstor over gmirror
Message-ID:  <4ADF3455.9070905@diff.org>

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

disklabel -w /dev/virstor/myvirstor

I would like to add over gvirstor also a gjournal:

gjournal label -h /dev/virstor/myvirstora

newfs -J /dev/virstor/myvirstora.journal
mount /dev/virstor/myvirstora.journal /mnt

Everything seems to work but for example cpdup of large partition 
(200Gb) on /mnt makes cpdup to hang in suspfs state after 40Gb.

I'm using it on a FreeBSD 7.1-stable and I'll upgrade as soon at 
possible at 8-RC.


Bye,                 \ferz


PS: using it in remote seems a pain yet.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4ADF3455.9070905>