[Bug 232313] GCE image size is now > 30 GB, above free quota
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Oct 18 07:10:16 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=232313
--- Comment #5 from Sylvain Garrigues <sylvain at sylvaingarrigues.com> ---
(In reply to Kirk McKusick from comment #4)
Well I am using the GCE machines for the exact same thing: I am building arm64
kernels and worlds, I am packaging with them (`make packages`) and I am also
making snapshots of them. I have a few months history, keeping old worlds and
images.
And yet, on the 30GB GCE machine, I have more than 10GB free space left:
[root at dev ~]# df -h
Filesystem Size Used Avail Capacity Mounted on
/dev/gpt/rootfs 28G 15G 11G 59% /
devfs 1.0K 1.0K 0B 100% /dev
[root at dev ~]# du -hs /usr/src/ /usr/obj
3.2G /usr/src/
4.7G /usr/obj
[root at dev ~]# gpart show da0
=> 3 62914549 da0 GPT (30G)
3 32 1 freebsd-boot (16K)
35 2097152 2 freebsd-swap (1.0G)
2097187 60817365 3 freebsd-ufs (29G)
Granted, there are some big parts (like ZFS and bhyve) that I am not building:
[root at dev ~]# cat /etc/src.conf
MALLOC_PRODUCTION=YES
WITH_CCACHE_BUILD=YES
WITHOUT_TESTS=YES
WITHOUT_BHYVE=YES
WITHOUT_PROFILE=YES
WITHOUT_ZFS=YES
WITHOUT_DEBUG_FILES=YES
I am not sure if it would fill up the 11GB of free space (I do take your word
on it) but yet your use case (build world and kernel in a bhyve machine)
doesn't seem compatible with mine (having Google Cloud machines running FreeBSD
for free, like it used to be before gcj committed the change).
I see three solutions:
1/ keep the root partition to a more reasonable size and make growfs and bhyve
work together (the cleanest solution)
2/ reduce temporarily the size by a few GB (maybe losing 2GB is enough, my
making VMSIZE=28GB) so that anybody can try and install the GCE images on
Google Cloud.
3/ have special treatment for cloud images... most other Unix images are around
10GB, why is FreeBSD 32GB, like a Microsoft Windows image?
>From https://console.cloud.google.com/compute/images:
debian-9-tf-nightly-v20181017 10 Go Debian
coreos-stable-1855-4-0-v20180911 9 Go CoreOS
centos-7-v20181011 10 Go CentOS
rhel-7-v20181011 10 Go RedHat
sles-15-v20180816 10 Go SUSE Linux Enterprise
ubuntu-1804-bionic-v20181003 10 Go Canonical
windows-server-1803-dc-core-v20181009 32 Go Microsoft
FreeBSD ? 32GB.
Glen, what do you think?
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list