Can't grow disk on Google Cloud

Efraín Déctor efraindector at motumweb.com
Thu Aug 10 16:46:39 UTC 2017


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.



More information about the freebsd-questions mailing list