Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Dec 2020 18:13:43 +0000
From:      Rafal Lukawiecki <raf@rafal.net>
To:        freebsd-cloud@freebsd.org
Subject:   12.2 AMI Maker Issue
Message-ID:  <AD2213EE-6BEE-4DE7-9BF7-6603C14ED268@rafal.net>

next in thread | raw e-mail | index | archive | help
Colin,

I have given the new ARM 12.2 AMI maker a spin, and I can see an issue =
with insufficient storage space on /mnt to do even a basic pkg install =
run:

pkg: Not enough space in /mnt/var/cache/pkg, needed 313 MiB available 90 =
MiB

and:

root@freebsd:/home/ec2-user # df -h
Filesystem     Size    Used   Avail Capacity  Mounted on
/dev/md0        42M     36M    2.8M    93%    /
devfs          1.0K    1.0K      0B   100%    /dev
/dev/md1       9.7G    3.6G    5.3G    41%    /bits
/dev/nvd0p3    3.8G    3.4G     90M    97%    /mnt
devfs          1.0K    1.0K      0B   100%    /mnt/dev
devfs          1.0K    1.0K      0B   100%    /mnt/dev
devfs          1.0K    1.0K      0B   100%    /mnt/dev

It looks like /mnt is now on /dev/nvd0p3 and seems limited to just over =
3G. I then created a new memory disk md2 and mounted it in place of =
cache/pkg just to get past this issue, but I soon run out of space again =
while doing pkg install into /mnt.

Is there a way to allocate a larger amount of space to /mnt so that I =
can install everything? Is it parametrisable, or do you need to do that =
when you are preparing the AMI maker?

Many thanks for your help,
Rafal
--
Rafal Lukawiecki
Data Scientist=20
Project Botticelli Ltd




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AD2213EE-6BEE-4DE7-9BF7-6603C14ED268>