Moving a failed EC2 host's EBS volume to a new instance without mkfs, matched by NVMe serial and ext4 UUID Draft
A shared host keeps HOME on a separate EBS volume. When the VM fails, I want to attach that volume to a new VM. The first-boot helper formatted an empty disk and refused one with an existing filesystem. Relaxing that to “mount if it is ext4” risks mounting the wrong disk or a snapshot copy. The helper now identifies the disk by its NVMe serial and admits it without formatting only when its ext4 UUID matches the one recorded at creation.