12.2 AMI Maker Issue
Rafal Lukawiecki
raf at rafal.net
Thu Dec 31 18:36:26 UTC 2020
> 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 at 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
> Project Botticelli Ltd
For what it is worth, I just resized the nvd0p3 using:
gpart resize -i 3 -s 7G nvd0
growfs -y /dev/nvd0p3
…and that allowed me to proceed with pkg installs and freebsd-update. If this is not the way to do it, let me know. In the meantime, I will continue testing. Many thanks.
Rafal
--
Rafal Lukawiecki
Data Scientist
Project Botticelli Ltd
More information about the freebsd-cloud
mailing list