Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Aug 2017 11:46:38 -0500
From:      =?UTF-8?B?RWZyYcOtbiBEw6ljdG9y?= <efraindector@motumweb.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Can't grow disk on Google Cloud
Message-ID:  <0e6b780d-947b-63b8-8795-0f05ad0303b9@motumweb.com>
In-Reply-To: <a259253c-755c-23c0-1293-fcf9601e99df@FreeBSD.org>
References:  <c631d642-4718-3e3c-9e5a-dab52a340d47@motumweb.com> <c08f18bb-f705-3a54-953f-90f95e40e459@FreeBSD.org> <a259253c-755c-23c0-1293-fcf9601e99df@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello Matthew, thanks for the help.
El 10/08/2017 a las 11:37 a. m., Matthew Seaman escribió:
>
>>> Is there something I need to do to resize the partition?
> Also:
>
>    gpart resize -i 3 da0
>
> and then...

After doing gpart recover it now shows the free space:

gpart show
=>       3  92274677  da0  GPT  (44G)
          3       125    1  freebsd-boot  (63K)
        128   2097152    2  freebsd-swap  (1.0G)
    2097280  44040056    3  freebsd-ufs  (21G)
   46137336  46137344       - free -  (22G)


>
>> growfs(8)?
>    growfs /dev/da0p3
>

This part however is not working:

growfs /dev/da0p3
It's strongly recommended to make a backup before growing the file system.
OK to grow filesystem on /dev/da0p3 from 21GB to 43GB? [yes/no] yes
growfs: /dev/da0p3: Operation not permitted

The command was executed as root.

Thanks in advance.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0e6b780d-947b-63b8-8795-0f05ad0303b9>