Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Nov 2013 12:07:14 -0500
From:      "Joseph Mays" <mays@win.net>
To:        <freebsd-geom@freebsd.org>
Subject:   Re: Expanding a partition in gpart after increasing the size of an array.
Message-ID:  <690085F62D0F44DBAED44EB2604D948F@Gantry>

next 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)


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?



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