From owner-freebsd-cloud@freebsd.org Thu Dec 31 18:36:26 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 264E54CB0AE for ; Thu, 31 Dec 2020 18:36:26 +0000 (UTC) (envelope-from raf+GD=75a6e95e@rafal.net) Received: from smtp-out-4.mxes.net (smtp-out-4.mxes.net [IPv6:2605:d100:2f:10::315]) (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 4D6H150lqSz3QJR for ; Thu, 31 Dec 2020 18:36:24 +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 57BE9759C4 for ; Thu, 31 Dec 2020 13:36:17 -0500 (EST) From: Rafal Lukawiecki Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\)) Subject: Re: 12.2 AMI Maker Issue Date: Thu, 31 Dec 2020 18:36:15 +0000 References: To: freebsd-cloud@freebsd.org In-Reply-To: Message-Id: <014150CF-F5C6-4AC6-B6EB-84592F483B41@rafal.net> X-Mailer: Apple Mail (2.3608.120.23.2.4) X-Sent-To: X-Rspamd-Queue-Id: 4D6H150lqSz3QJR X-Spamd-Bar: - X-Spamd-Result: default: False [-1.50 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ip6:2605:d100:2f:10::/112]; 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]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RBL_DBL_DONT_QUERY_IPS(0.00)[2605:d100:2f:10::315:from]; ASN(0.00)[asn:19844, ipnet:2605:d100::/32, country:US]; MID_RHS_MATCH_FROM(0.00)[]; TAGGED_FROM(0.00)[GD=75a6e95e]; 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)[2605:d100:2f:10::315: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=utf-8 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:36:26 -0000 > Colin, >=20 > 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: >=20 > pkg: Not enough space in /mnt/var/cache/pkg, needed 313 MiB available = 90 MiB >=20 > and: >=20 > 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 >=20 > 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. >=20 > 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? >=20 > Many thanks for your help, > Rafal > -- > Rafal Lukawiecki > Data Scientist=20 > 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 =E2=80=A6and 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=20 Project Botticelli Ltd=