Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Nov 2013 12:06:45 -0500
From:      "Joseph Mays" <mays@win.net>
To:        <freebsd-fs@freebsd.org>
Subject:   Re: Expanding a partition in gpart after increasing the size of an array.
Message-ID:  <E5605C09B21B42D08B52A1A224E03A9D@Gantry>
In-Reply-To: <84DE8753E8F843A897C3B8E31B54DA29@Gantry>
References:  <84DE8753E8F843A897C3B8E31B54DA29@Gantry>

next in thread | previous in thread | raw e-mail | index | archive | help
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: <owner-freebsd-fs@FreeBSD.ORG>
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 <freebsd-fs@freebsd.org>; 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 <freebsd-fs@freebsd.org>; Wed, 13 Nov 2013 17:49:06 +0000 (UTC)
Received: by mail-pa0-f45.google.com with SMTP id kp14so770445pab.32
 for <freebsd-fs@freebsd.org>; 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: <E5605C09B21B42D08B52A1A224E03A9D@Gantry>
References: <84DE8753E8F843A897C3B8E31B54DA29@Gantry>
 <E5605C09B21B42D08B52A1A224E03A9D@Gantry>
Date: Wed, 13 Nov 2013 11:49:06 -0600
Message-ID: <CA+tpaK1y43Y1zDXsUE0umXM5UAD94W=7nGPkXzM=A7=7DAZrMQ@mail.gmail.com>
Subject: Re: Expanding a partition in gpart after increasing the size of an
 array.
From: Adam Vande More <amvandemore@gmail.com>
To: Joseph Mays <mays@win.net>
Content-Type: text/plain; charset=ISO-8859-1
X-Content-Filtered-By: Mailman/MimeDel 2.1.16
Cc: freebsd-fs <freebsd-fs@freebsd.org>
X-BeenThere: freebsd-fs@freebsd.org
X-Mailman-Version: 2.1.16
Precedence: list
List-Id: Filesystems <freebsd-fs.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-fs>,
 <mailto:freebsd-fs-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-fs/>;
List-Post: <mailto:freebsd-fs@freebsd.org>
List-Help: <mailto:freebsd-fs-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-fs>,
 <mailto:freebsd-fs-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Wed, 13 Nov 2013 17:49:06 -0000

On Wed, Nov 13, 2013 at 11:06 AM, Joseph Mays <mays@win.net> 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



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