From c9cceb3bc044e14a006aafee3a6a88cc4a42808b Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Sat, 24 Feb 2024 10:28:10 -0500 Subject: [PATCH] explicit set XFS allocation group count --- deploy-initial | 2 +- deploy.sh | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/deploy-initial b/deploy-initial index d483f7b..d200449 100755 --- a/deploy-initial +++ b/deploy-initial @@ -12,7 +12,7 @@ ssh $remote '[[ $(grep IMAGE_ID /etc/os-release) = "IMAGE_ID=archlinux" ]]' || e ssh $remote '[[ $(grep IMAGE_VERSION /etc/os-release) = "IMAGE_VERSION=2024.02.01" ]]' || exit 5 ssh $remote "sfdisk /dev/$drive -w always <<< ';'" -ssh $remote "mkfs.xfs -f /dev/${drive}1" +ssh $remote "mkfs.xfs -d agcount=$agcount -f /dev/${drive}1" rsync -tv pacman.d/mirrorlist $remote:/etc/pacman.d/mirrorlist ssh $remote "mount /dev/${drive}1 /mnt" ssh $remote "pacstrap -K /mnt base bash-completion chrony cloud-guest-utils conntrack-tools grub htop ioping linux-lts logrotate lsof man-db moreutils mtr nftables nginx openssh pacman-contrib pacutils plocate pv rsync strace sysstat tree unbound vim xfsprogs" diff --git a/deploy.sh b/deploy.sh index 8e28763..5247036 100644 --- a/deploy.sh +++ b/deploy.sh @@ -2,4 +2,5 @@ readonly ip=199.195.250.78 readonly hostname=staging readonly host=staging.grapheneos.org readonly drive=vda +readonly agcount=4 readonly swap=2048