[gvinum] add a disk in concat mode

Gorgonite gorgonite at freesurf.fr
Sat Jun 10 20:08:18 UTC 2006


Hello,



I hope the gvinum list will give you enough pieces of information to be able
to help me.

-------------------------------------

data# gvinum
gvinum -> start
gvinum -> list
2 drives:
D a                     State: up       /dev/ad0        A: 9007/286188 MB
(3%)D b                     State: up       /dev/ad2        A: 6122/194480 MB
(3%)
1 volume:
V myvol                 State: up       Plexes:       2 Size:        183 GB

2 plexes:
P myvol.p0            C State: up       Subdisks:     1 Size:        270 GB
P myvol.p1            C State: down     Subdisks:     1 Size:        183 GB

2 subdisks:
S myvol.p0.s0           State: up       D: a            Size:        270 GB
S myvol.p1.s0           State: stale    D: b            Size:        183 GB

-------------------------------------

Thanks.

<quote Auteur="Gorgonite">
> Hello,
>
>
> I run on FreeBSD v6.1
> I have a disk with 300Go (/dev/ad0) in concat mode with gvinum
> (myvol.p0) I would like to add a disk of 200Go (/dev/ad2) on this
> volume, but without erasing my previous data (ad0)
>
> I executed this script
>
> Code:
> #! /bin/sh dd if=/dev/zero of=/dev/ad2 count=2 disklabel /dev/ad2 |
> disklabel -B -R -r ad2 /dev/stdin newsfs /dev/ad2c gvinum create
> gvinum.conf
>
>
> with this gvinum.conf
>
> Code:
> drive b device /dev/ad2c plex name myvol.p1 org concat vol myvol sd
> length 188358m drive b
>
>
>
> it seems to be okay for gvinum... and I wanted to update my "partition"
>
> Code:
> growfs -S "483g" /dev/gvinum/myvol
>
>
>
> but it failed with "grow is not growing..."
>
>
> Can anyone help me, please ?
> Thanks.
>
>
> ps: sorry for my bad english :'(
>
>
> _______________________________________________
> freebsd-fs at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-fs
> To unsubscribe, send any mail to "freebsd-fs-unsubscribe at freebsd.org"





More information about the freebsd-fs mailing list