Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Feb 2018 07:30:16 -0700
From:      Warner Losh <imp@bsdimp.com>
To:        Martin Simmons <martin@lispworks.com>
Cc:        Mars G Miro <spry@anarchy.in.the.ph>, FreeBSD FS <freebsd-fs@freebsd.org>
Subject:   Re: growfs only works on GPT partitioning schemes?
Message-ID:  <CANCZdfrSy4N7dXj%2BNRHuCeUj1Fp3xm2_T06BvpCpL3qRsGSS-A@mail.gmail.com>
In-Reply-To: <201802261411.w1QEBRt1002026@higson.cam.lispworks.com>
References:  <CADRRZEr%2BaggE3MHNK9DA6f1Jq9T=buNqiRy2Z%2B5N7=N%2BR_PAWA@mail.gmail.com> <201802261411.w1QEBRt1002026@higson.cam.lispworks.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Feb 26, 2018 at 7:11 AM, Martin Simmons <martin@lispworks.com>
wrote:

> >>>>> On Mon, 26 Feb 2018 11:55:10 +0800, Mars G Miro said:
> >
> >    It seems that growfs only works on GPT partitioned schemes ?
> >
> >    When I first installed my FreeBSD, I unfortunately chose BSD during
> the
> > FS creation. Now that I ran out of space, I wanted to increase the
> > filesystem size. Successfully did so in Virtualbox but after rebooting,
> the
> > HD doesn't see the new allocated space. It has another virtual HD, one
> > created with GPT and I was able to increase it via growfs.
>
> For the BSD scheme, I think you also have to resize the slice (i.e. the MBR
> entry) and then resize the BSD partition within the slice.
>

You do. The /etc/rc.d script that does resize on boot does that
automatically, but we have no other automation for the process.

Warner



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfrSy4N7dXj%2BNRHuCeUj1Fp3xm2_T06BvpCpL3qRsGSS-A>