12.2 AMI Maker Issue
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 SizeUsed Avail Capacity Mounted on /dev/md042M 36M2.8M93%/ devfs 1.0K1.0K 0B 100%/dev /dev/md1 9.7G3.6G5.3G41%/bits /dev/nvd0p33.8G3.4G 90M97%/mnt devfs 1.0K1.0K 0B 100%/mnt/dev devfs 1.0K1.0K 0B 100%/mnt/dev devfs 1.0K1.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 ___ freebsd-cloud@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-cloud To unsubscribe, send any mail to "freebsd-cloud-unsubscr...@freebsd.org"
Re: 12.2 AMI Maker Issue
> 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 SizeUsed Avail Capacity Mounted on > /dev/md042M 36M2.8M93%/ > devfs 1.0K1.0K 0B 100%/dev > /dev/md1 9.7G3.6G5.3G41%/bits > /dev/nvd0p33.8G3.4G 90M97%/mnt > devfs 1.0K1.0K 0B 100%/mnt/dev > devfs 1.0K1.0K 0B 100%/mnt/dev > devfs 1.0K1.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 ___ freebsd-cloud@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-cloud To unsubscribe, send any mail to "freebsd-cloud-unsubscr...@freebsd.org"
No EC2 screenshot for 12.2 ARM AMI Maker
Colin, I have realised that I have only tested the 12.2 x64 AMI maker on c5 and not the ARM one…facepalm… Just tried again with ami-03ff07383e4897dd4 on c6gd and a t4g. There is no instance screenshot available. The log fills, and eventually I can connect to the machines—much sooner than on the AMD ones. Perhaps I am connecting too early? I have no easy way to figure out if the install has finished, as I have normally used the screenshot. Is there a way to check if the install of FreeBSD to /mnt has been completed? The welcome message seems to suggest it is so, but perhaps that is hardcoded. Or would I be unable to ssh until the process has completed? Many thanks for your pointers. Rafal -- Rafal Lukawiecki Data Scientist Project Botticelli Ltd ___ freebsd-cloud@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-cloud To unsubscribe, send any mail to "freebsd-cloud-unsubscr...@freebsd.org"
Re: 12.2 AMI Maker Issue
On 12/31/20 10:36 AM, Rafal Lukawiecki via freebsd-cloud wrote: >> pkg: Not enough space in /mnt/var/cache/pkg, needed 313 MiB available 90 MiB > > 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. Yes, that's the right solution. The disk image installed on nvd0 is *exactly* the same as the release image -- it's less than 10 GB in case someone wants to launch onto a disk of less than 10 GB. If you're adding more packages to it, wanting to expand the filesystem is not at all surprising. -- Colin Percival Security Officer Emeritus, FreeBSD | The power to serve Founder, Tarsnap | www.tarsnap.com | Online backups for the truly paranoid ___ freebsd-cloud@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-cloud To unsubscribe, send any mail to "freebsd-cloud-unsubscr...@freebsd.org"
Re: No EC2 screenshot for 12.2 ARM AMI Maker
On 12/31/20 11:43 AM, Rafal Lukawiecki via freebsd-cloud wrote: > I have realised that I have only tested the 12.2 x64 AMI maker on c5 and not > the ARM one…facepalm… > > Just tried again with ami-03ff07383e4897dd4 on c6gd and a t4g. There is no > instance screenshot available. The log fills, and eventually I can connect to > the machines—much sooner than on the AMD ones. Perhaps I am connecting too > early? I have no easy way to figure out if the install has finished, as I > have normally used the screenshot. > > Is there a way to check if the install of FreeBSD to /mnt has been completed? > The welcome message seems to suggest it is so, but perhaps that is hardcoded. > Or would I be unable to ssh until the process has completed? You won't be able to SSH in until the disk image has been extracted. I think the ARM instances are faster (in part because the disk image is smaller). -- Colin Percival Security Officer Emeritus, FreeBSD | The power to serve Founder, Tarsnap | www.tarsnap.com | Online backups for the truly paranoid ___ freebsd-cloud@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-cloud To unsubscribe, send any mail to "freebsd-cloud-unsubscr...@freebsd.org"
Re: No EC2 screenshot for 12.2 ARM AMI Maker
> On 1 Jan 2021, at 00:21, Colin Percival wrote: > > You won't be able to SSH in until the disk image has been extracted. I think > the ARM instances are faster (in part because the disk image is smaller). Thanks! Any reason there are no screenshots available? Rafal ___ freebsd-cloud@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-cloud To unsubscribe, send any mail to "freebsd-cloud-unsubscr...@freebsd.org"