From owner-freebsd-geom@FreeBSD.ORG Tue Jul 18 23:24:42 2006 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0DCD116A4DD for ; Tue, 18 Jul 2006 23:24:42 +0000 (UTC) (envelope-from Lee@dilkie.com) Received: from spock.dilkie.com (spock.dilkie.com [206.51.1.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id 24FFE43D45 for ; Tue, 18 Jul 2006 23:24:40 +0000 (GMT) (envelope-from Lee@dilkie.com) Received: from [206.51.1.193] (borg.dilkie.com [206.51.1.193]) (authenticated bits=0) by spock.dilkie.com (8.13.3/8.13.3) with ESMTP id k6INOaMf065515 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 18 Jul 2006 19:24:38 -0400 (EDT) (envelope-from Lee@dilkie.com) Message-ID: <44BD6DB9.6010501@dilkie.com> Date: Tue, 18 Jul 2006 19:24:41 -0400 From: Lee Dilkie User-Agent: Thunderbird 1.5.0.4 (Windows/20060516) MIME-Version: 1.0 To: freebsd-geom X-Scanned-By: MIMEDefang 2.56 on 206.51.1.40 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: gconcat - adding additional disks X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Jul 2006 23:24:42 -0000 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: $ 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 {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 Would this work? Do I need to fdisk or bsdlabel the new disk or what? Any pitfalls to growing my gconcat array this way? Sorry for the dumb questions, I'd like to get it right. thanks, -lee