From 6a559a50fd29717be0ca14601c213ad524b49829 Mon Sep 17 00:00:00 2001 From: Takwa Date: Wed, 25 Nov 2026 12:31:04 +0100 Subject: [PATCH] Document indexers-amst1, and that the 4096-byte LBA format differs per drive indexers-amst1 (Amsterdam) is built like indexers-chic1 and managed by the same playbooks. Its Kingston drives take --lbaf=2 for 4096-byte sectors; the README's --lbaf=1 was the Micron 7450s' number, and on the Kingstons it is 512 bytes with 8 of metadata. Co-Authored-By: Claude Sonnet 5.5 --- AGENTS.md | 7 ++++--- README.md | 12 +++++++++--- 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index 5b5f3b8..1e8e548 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -24,9 +24,10 @@ ansible-playbook cve.yml -K --check --diff -l sf # dry run first ansible infra_boxes -m ping # no sudo needed ``` -**indexers** (`indexers-chic1`, 84.32.71.3, the indexer test box) are built by this repo -but are not `ipfs_nodes`: Debian, and only `site.yml`, `k3s-upgrade.yml` and -`platform.yml` (Argo CD on lith-1 manages them). Shared settings are in +**indexers** (`indexers-chic1`, 84.32.71.3, the indexer test box, and +`indexers-amst1`, 84.32.186.112, in Amsterdam) are built by this repo but are not +`ipfs_nodes`: Debian, and only `site.yml`, `k3s-upgrade.yml` and `platform.yml` +(Argo CD on lith-1 manages them). Shared settings are in `group_vars/managed_boxes/`. See "Indexer boxes" in the README. Merge a new box only after it is built and its host key is pinned, or CI's `site.yml` runs fail on it. diff --git a/README.md b/README.md index 306bda6..745466c 100644 --- a/README.md +++ b/README.md @@ -282,7 +282,8 @@ k3s will not start until the data volume is mounted, so pods cannot write to the OS disk after a failed import or assembly. **The indexer test layout** (`indexers-chic1`, three 15.36 TB NVMe), meant to become -the layout for sf and sf2 once it has proved itself: +the layout for sf and sf2 once it has proved itself. `indexers-amst1` +(Amsterdam, three 15.36 TB Kingston SEDC3000ME NVMe) is built the same way: | Part | Where | Layout | Filesystem | |------|-------|--------|------------| @@ -309,11 +310,16 @@ installed OS: ```bash nvme id-ns -H /dev/nvme0n1 | grep 'LBA Format' # which format number is 4096 mdadm --stop --scan # if the rescue system assembled the old RAID -nvme format /dev/nvme0n1 --lbaf=1 # each drive; erases it +nvme format /dev/nvme0n1 --lbaf= # each drive; erases it lsblk -d -o NAME,PHY-SEC,LOG-SEC # LOG-SEC 4096 on each ``` -Cherry's Debian 13 reinstall boots on 4096-byte drives (indexers-chic1, 2026-11). A +`` is the format with a 4096-byte data size and no metadata, and it differs +between drives: 1 on the Micron 7450s, 2 on indexers-amst1's Kingstons, where 1 +is 512 bytes with 8 of metadata. Read it from the first command; never assume it. + +Cherry's Debian 13 reinstall boots on 4096-byte drives (indexers-chic1 and +indexers-amst1, 2026-11). A `PHY-SEC` of 262144 on the 7450s is their preferred write size, not a sector size; partitions on whole MiB and the 512 KiB chunk are multiples of it.