Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Jun 2006 18:18:02 +0200 (CEST)
From:      "Gorgonite" <gorgonite@freesurf.fr>
To:        <freebsd-fs@freebsd.org>
Subject:   [gvinum] add a disk in concat mode
Message-ID:  <33162.147.250.1.2.1149783482.squirrel@jose.freesurf.fr>

next in thread | raw e-mail | index | archive | help
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 :'(





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