[Bug 232313] GCE image size is now > 30 GB, above free quota

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Jan 10 10:28:38 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=232313

Mateusz Kwiatkowski <kwiat3k at panic.pl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kwiat3k at panic.pl

--- Comment #22 from Mateusz Kwiatkowski <kwiat3k at panic.pl> ---
(In reply to Ed Maste from comment #20)
>> growfs does not work inside a virtual machine spun up in bhyve


>Do you have a link to more information on that Kirk? That seems like a serious bug.

I tried to reproduce that with vm-bhyve and FreeBSD 11.2 and it worked as
expected.
I'd also vote for reducing the size for cloud images for something closer to
EC2's 3GB since growfs just works.

# vm img
http://ftp.freebsd.org/pub/FreeBSD/releases/VM-IMAGES/11.2-RELEASE/amd64/Latest/FreeBSD-11.2-RELEASE-amd64.raw.xz
/zroot/vm/.img/FreeBSD-11.2-RELEASE-amd64.raw.         287 MB   10 MBps    27s
# vm img
DATASTORE           FILENAME
default             FreeBSD-11.2-RELEASE-amd64.raw
# vm create -t freebsd -c 4 -m 2048 -i FreeBSD-11.2-RELEASE-amd64.raw -s 200G
my-freebsd
# vm start -f my-freebsd
/boot/kernel/kernel text=0x1547b08 data=0x143f30+0x4bc418
syms=[0x8+0x16ad00+0x8+0x183cac]
Booting...
[sniped boot log]
Thu Jan 10 10:23:09 UTC 2019

FreeBSD/amd64 (freebsd) (ttyu0)

login: root
Jan 10 10:23:14 freebsd login: ROOT LOGIN (root) ON ttyu0
FreeBSD 11.2-RELEASE (GENERIC) #0 r335510: Fri Jun 22 04:32:14 UTC 2018

Welcome to FreeBSD!
[sniped motd]
root at freebsd:~ # df -h
Filesystem         Size    Used   Avail Capacity  Mounted on
/dev/gpt/rootfs     29G    1.5G     25G     5%    /
devfs              1.0K    1.0K      0B   100%    /dev
root at freebsd:~ # /etc/rc.d/growfs onestart
Growing root partition to fill device
vtbd0 recovered
vtbd0p3 resized
gpart: arg0 'gpt/rootfs': Invalid argument
super-block backups (for fsck_ffs -b #) at:
 64112192, 65394432, 66676672, 67958912, 69241152, 70523392, 71805632,
73087872, 74370112, 75652352, 76934592, 78216832, 79499072, 80781312, 82063552,
83345792, 84628032, 85910272,
[sniped growfs log]
WARNING: /: reload pending error: blocks 0 files 1
root at freebsd:~ # df -h
Filesystem         Size    Used   Avail Capacity  Mounted on
/dev/gpt/rootfs    193G    1.5G    176G     1%    /
devfs              1.0K    1.0K      0B   100%    /dev

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list