Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Jul 2006 15:57:24 +0200
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        Lee Dilkie <Lee@dilkie.com>
Cc:        freebsd-geom <freebsd-geom@freebsd.org>
Subject:   Re: gconcat - adding additional disks
Message-ID:  <20060725135724.GD44939@garage.freebsd.pl>
In-Reply-To: <44BD6DB9.6010501@dilkie.com>
References:  <44BD6DB9.6010501@dilkie.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--GyRA7555PLgSTuth
Content-Type: text/plain; charset=iso-8859-2
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Jul 18, 2006 at 07:24:41PM -0400, Lee Dilkie wrote:
> Hi Folks,
>=20
> I'm going to add a third disk to my gconcat array and I've googled the pr=
oblem and from what I read it can be as simple as:
>=20
> <current config>
> $ mount
> /dev/ad0s1a on / (ufs, local)
> devfs on /dev (devfs, local)
> /dev/ad0s1d on /usr (ufs, local, soft-updates)
> /dev/concat/usr2_concat on /usr2 (ufs, local)
>=20
> $ gconcat list
> Geom name: usr2_concat
> State: UP
> Status: Total=3D2, Online=3D2
> Type: AUTOMATIC
> ID: 3187483959
> Providers:
> 1. Name: concat/usr2_concat
>   Mediasize: 200059870208 (186G)
>   Sectorsize: 512
>   Mode: r1w1e0
> Consumers:
> 1. Name: ad2
>   Mediasize: 120034123776 (112G)
>   Sectorsize: 512
>   Mode: r1w1e1
>   Start: 0
>   End: 120034123264
> 2. Name: ad3
>   Mediasize: 80025747456 (75G)
>   Sectorsize: 512
>   Mode: r1w1e1
>   Start: 120034123264
>   End: 200059870208
> </current config>
>=20
> <proposed procedure>
> {add new drive */dev/ad1*, reboot}
> *{QUESTION? do I need to fdisk or bsdlabel the new drive?}*
> $ umount /usr2
> $ gconcat stop usr2_concat
> $ gconcat label usr2_concat /dev/ad2 /dev/ad3 /dev/ad1
> $ growfs /dev/concat/usr2_concat
> $ mount /usr2
>=20
> </proposed procedure>
>=20
> Would this work? Do I need to fdisk or bsdlabel the new disk or what?

I don't see any slices, partitions on your gconcat device, so there is
no need for fdisk/bsdlabel.

> Any pitfalls to growing my gconcat array this way?

It should work (your procedure is correct) as long as growfs(8) works
correctly.

--=20
Pawel Jakub Dawidek                       http://www.wheel.pl
pjd@FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!

--GyRA7555PLgSTuth
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (FreeBSD)

iD8DBQFExiNEForvXbEpPzQRAqyjAJ4zoahA1a+H0lVUdGnAEBU1A6nQOwCggZmA
p07YjCZy/3HYqd9tFsfb5VU=
=+gGU
-----END PGP SIGNATURE-----

--GyRA7555PLgSTuth--



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