From owner-freebsd-cloud@freebsd.org Thu Dec 31 18:13:49 2020 Return-Path: Delivered-To: freebsd-cloud@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7F1484CA2BE for ; Thu, 31 Dec 2020 18:13:49 +0000 (UTC) (envelope-from raf+GD=75a6e95e@rafal.net) Received: from smtp-out-4.mxes.net (smtp-out-4.mxes.net [198.205.123.69]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4D6GW04v8Tz3NPN for ; Thu, 31 Dec 2020 18:13:48 +0000 (UTC) (envelope-from raf+GD=75a6e95e@rafal.net) Received: from Customer-MUA (mua.mxes.net [10.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 14A1D7598A for ; Thu, 31 Dec 2020 13:13:44 -0500 (EST) From: Rafal Lukawiecki Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\)) Subject: 12.2 AMI Maker Issue Message-Id: Date: Thu, 31 Dec 2020 18:13:43 +0000 To: freebsd-cloud@freebsd.org X-Mailer: Apple Mail (2.3608.120.23.2.4) X-Sent-To: X-Rspamd-Queue-Id: 4D6GW04v8Tz3NPN X-Spamd-Bar: - X-Spamd-Result: default: False [-1.60 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ip4:198.205.123.0/25]; TO_DN_NONE(0.00)[]; DKIM_TRACE(0.00)[mxes.net:+,rafal.net:+]; DMARC_POLICY_ALLOW(-0.50)[rafal.net,reject]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCVD_IN_DNSWL_LOW(-0.10)[198.205.123.69:from]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RBL_DBL_DONT_QUERY_IPS(0.00)[198.205.123.69:from]; MID_RHS_MATCH_FROM(0.00)[]; TAGGED_FROM(0.00)[GD=75a6e95e]; ASN(0.00)[asn:19844, ipnet:198.205.122.0/23, country:US]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[mxes.net:s=mta,rafal.net:s=tm]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-cloud@freebsd.org]; NEURAL_SPAM_MEDIUM(1.00)[1.000]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[198.205.123.69:from:127.0.2.255]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-cloud] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-cloud@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: "FreeBSD on cloud platforms \(EC2, GCE, Azure, etc.\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Dec 2020 18:13:49 -0000 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