gvirstor over gmirror

View: New views
2 Messages — Rating Filter:   Alert me  

gvirstor over gmirror

by Ferruccio Zamuner :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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.
_______________________________________________
freebsd-geom@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-geom
To unsubscribe, send any mail to "freebsd-geom-unsubscribe@..."

Re: gvirstor over gmirror

by Ivan Voras-7 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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?

_______________________________________________
freebsd-geom@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-geom
To unsubscribe, send any mail to "freebsd-geom-unsubscribe@..."