From owner-freebsd-fs@FreeBSD.ORG Wed Nov 13 17:06:50 2013 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 011D6EFF for ; Wed, 13 Nov 2013 17:06:50 +0000 (UTC) Received: from filter1.win.net (filter1.win.net [216.24.27.101]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C7B922FDB for ; Wed, 13 Nov 2013 17:06:49 +0000 (UTC) Received: from nb-202.win.net (nb-202.win.net [216.24.27.202]) by filter1.win.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id rADH6h4j002468 for ; Wed, 13 Nov 2013 12:06:43 -0500 Received: from Gantry (pool245.office.win.net [216.24.33.245]) by nb-202.win.net (Postfix) with SMTP id 53D31228EC for ; Wed, 13 Nov 2013 12:06:43 -0500 (EST) Message-ID: From: "Joseph Mays" To: References: <84DE8753E8F843A897C3B8E31B54DA29@Gantry> In-Reply-To: <84DE8753E8F843A897C3B8E31B54DA29@Gantry> Subject: Re: Expanding a partition in gpart after increasing the size of an array. Date: Wed, 13 Nov 2013 12:06:45 -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.202; 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: 02KN56HbB - 40bec5417b17 - 20131113 X-Antispam-Training-Forget: http://filter.win.net/canit/b.php?i=02KN56HbB&m=40bec5417b17&t=20131113&c=f X-Antispam-Training-Nonspam: http://filter.win.net/canit/b.php?i=02KN56HbB&m=40bec5417b17&t=20131113&c=n X-Antispam-Training-Spam: http://filter.win.net/canit/b.php?i=02KN56HbB&m=40bec5417b17&t=20131113&c=s X-Scanned-By: CanIt (www . roaringpenguin . com) on 216.24.27.101 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.16 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Nov 2013 17:06:50 -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) -----Original Message-----=20 From: Joseph Mays=20 Sent: Wednesday, November 13, 2013 11:48 AM=20 To: freebsd-fs@freebsd.org=20 Subject: Expanding a partition in gpart after increasing the size of an = array.=20 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? _______________________________________________ freebsd-fs@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-fs To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org" From owner-freebsd-fs@FreeBSD.ORG Wed Nov 13 17:49:06 2013 Return-Path: Delivered-To: freebsd-fs@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 BC452DD7 for ; Wed, 13 Nov 2013 17:49:06 +0000 (UTC) Received: from mail-pa0-x22d.google.com (mail-pa0-x22d.google.com [IPv6:2607:f8b0:400e:c03::22d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 988C822E6 for ; Wed, 13 Nov 2013 17:49:06 +0000 (UTC) Received: by mail-pa0-f45.google.com with SMTP id kp14so770445pab.32 for ; Wed, 13 Nov 2013 09:49:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=GyhQTJd/A/QdgzksQZ2N6FpHqGjhJmCkxH4KZfHxh+o=; b=cOppAT+mgSI55o1K85XBgtYHtLuFYJs10bvMBHbiMICfCUay7uZZAMEy4cUKiVSouy NZpcUn1IpJX5gbM2vRm8GQyJGqpeHSHsIPJSZSwFocGRq3FrfuAh45rI1u0/7Gzg8J0v l+RG4R3EzYn34sr7FYkAmpyuAyVL5XKiHCDFIUlYciMW/GG3pVl/Ho5ugi+1pliVl9SC 8Cc0DMcMIw8CYxA4EWThEyeBtT5MDHDJxut229amGB6i3L/xQ4+FFBSWDOEGprOaxGJd 8rqHhMsz7l0e52DedVt54rKIZ4PyrY6Xpaa1te/6u8T2AQQeFFVSHJ4EhA9GgAWYwu5t T2XQ== MIME-Version: 1.0 X-Received: by 10.68.225.232 with SMTP id rn8mr41974722pbc.32.1384364946343; Wed, 13 Nov 2013 09:49:06 -0800 (PST) Received: by 10.70.92.79 with HTTP; Wed, 13 Nov 2013 09:49:06 -0800 (PST) In-Reply-To: References: <84DE8753E8F843A897C3B8E31B54DA29@Gantry> Date: Wed, 13 Nov 2013 11:49:06 -0600 Message-ID: Subject: Re: Expanding a partition in gpart after increasing the size of an array. From: Adam Vande More To: Joseph Mays Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.16 Cc: freebsd-fs X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Nov 2013 17:49:06 -0000 On Wed, Nov 13, 2013 at 11:06 AM, Joseph Mays wrote: > so I ssh'd into the system in normal operation to get output of "gpart > show" that I can cut and paste here. > Many people don't use html capable email. The burden is on you to construct good questions to the widest possible audience. > root@warehouse:/root # gpart show mfid0 > => 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) > Use gpart recover -- man gpart -- Adam