From owner-freebsd-geom@FreeBSD.ORG Wed Nov 13 17:07:13 2013 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8021AF9B for ; Wed, 13 Nov 2013 17:07:13 +0000 (UTC) Received: from filter2.win.net (filter2.win.net [216.24.27.102]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 43B682FEC for ; Wed, 13 Nov 2013 17:07:13 +0000 (UTC) Received: from nb-201.win.net (nb-201.win.net [216.24.27.201]) by filter2.win.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id rADH7Ckg030369 for ; Wed, 13 Nov 2013 12:07:12 -0500 Received: from Gantry (pool245.office.win.net [216.24.33.245]) by nb-201.win.net (Postfix) with SMTP id 457F661C08 for ; Wed, 13 Nov 2013 12:07:12 -0500 (EST) Message-ID: <690085F62D0F44DBAED44EB2604D948F@Gantry> From: "Joseph Mays" To: Subject: Re: Expanding a partition in gpart after increasing the size of an array. Date: Wed, 13 Nov 2013 12:07:14 -0500 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Mailer: Microsoft Windows Live Mail 15.4.3538.513 X-MimeOLE: Produced By Microsoft MimeOLE V15.4.3538.513 X-Spam-Score: undef - mays@win.net is whitelisted. X-CanIt-Geo: ip=216.24.27.201; country=US; region=KY; city=Louisville; postalcode=40204; latitude=38.2390; longitude=-85.7174; metrocode=529; areacode=502; http://maps.google.com/maps?q=38.2390,-85.7174&z=6 X-CanItPRO-Stream: Outbound:default (inherits from base:default) X-Canit-Stats-ID: 01KN57cpX - 3fbf7282527c - 20131113 X-Antispam-Training-Forget: http://filter.win.net/canit/b.php?i=01KN57cpX&m=3fbf7282527c&t=20131113&c=f X-Antispam-Training-Nonspam: http://filter.win.net/canit/b.php?i=01KN57cpX&m=3fbf7282527c&t=20131113&c=n X-Antispam-Training-Spam: http://filter.win.net/canit/b.php?i=01KN57cpX&m=3fbf7282527c&t=20131113&c=s X-Scanned-By: CanIt (www . roaringpenguin . com) on 216.24.27.102 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.16 X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Nov 2013 17:07:13 -0000 I was originally attaching the results of "gpart show" as a screenshot = because I was working through an internet kvm module on a system several = states away that was booted in standalone mode. But the mailing list = seems to strip off attachments, so I ssh'd into the system in normal = operation to get output of "gpart show" that I can cut and paste here. root@warehouse:/root # gpart show mfid0 =3D> 34 17578327997 mfid0 GPT (10T) [CORRUPT] 34 128 1 freebsd-boot (64k) 162 1048576000 2 freebsd-ufs (500G) 1048576162 16521363328 4 freebsd-ufs (7.7T) 17569939490 8388540 3 freebsd-swap (4G) 17578328030 1 - free - (512B) From: Joseph Mays=20 Sent: Wednesday, November 13, 2013 11:47 AM To: freebsd-geom@freebsd.org=20 Subject: Expanding a partition in gpart after increasing the size of an = array. I have a freebsd box with an LSI Raid controller in it. It had 4 = 3-terabyte drives configured in an 8TB array. I added a 5th drive and = built that into the array. Of course, the amount of drive space that = shows in operation in FreeBSD did not change, presumably because I need = to resize the partition. I was trying to follow the partition resizing instructions shown here = --- http://www.unibia.com/unibianet/freebsd/resize-your-existing-freebsd-root= -partitionslice-safely-without-re-installing but when I do the =E2=80=9Cgpart show =E2=80=9D I don=E2=80=99t see the = free space. What I do see is a change in the apparent overall size of = the disk and a set of parititions that don=E2=80=99t add up to the new = size of the disk. Is there a way to tell gpart that the size of the drive has changed?