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
[-- Attachment #1 --]
On Tue, Jul 18, 2006 at 07:24:41PM -0400, Lee Dilkie wrote:
> Hi Folks,
>
> I'm going to add a third disk to my gconcat array and I've googled the problem and from what I read it can be as simple as:
>
> <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)
>
> $ gconcat list
> Geom name: usr2_concat
> State: UP
> Status: Total=2, Online=2
> 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>
>
> <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
>
> </proposed procedure>
>
> 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.
--
Pawel Jakub Dawidek http://www.wheel.pl
pjd@FreeBSD.org http://www.FreeBSD.org
FreeBSD committer Am I Evil? Yes, I Am!
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (FreeBSD)
iD8DBQFExiNEForvXbEpPzQRAqyjAJ4zoahA1a+H0lVUdGnAEBU1A6nQOwCggZmA
p07YjCZy/3HYqd9tFsfb5VU=
=+gGU
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060725135724.GD44939>
