From owner-freebsd-cloud@freebsd.org Wed Sep 16 22:15:44 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 C91963F3321 for ; Wed, 16 Sep 2020 22:15:44 +0000 (UTC) (envelope-from erobison@gmail.com) Received: from mail-wm1-x330.google.com (mail-wm1-x330.google.com [IPv6:2a00:1450:4864:20::330]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BsDv31V42z4MWp for ; Wed, 16 Sep 2020 22:15:42 +0000 (UTC) (envelope-from erobison@gmail.com) Received: by mail-wm1-x330.google.com with SMTP id k18so86523wmj.5 for ; Wed, 16 Sep 2020 15:15:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=iPVvouXPmZ3dTG1p5qHrWOLqq+2zeCGPQuobqae97Os=; b=eiiDa1AgVfoP7sVFw27zKjSo7K0dnSTUDEfXBClkKiLCdZqXnJCO4hliLbNULr6e/W 2ZNqLC2VFs3Ri3QK9w8aTzpFAhEbrRzBPTj0n5fwA4eVCJ8uowMfwrhcwLTcUGT5eCDl cvy/WV6ZFLNFMcAVv98fUxPQFLhWSVfVzCu4VT7kJsqiRKzuXwOLoak7sVvmfNq/fqfZ OXJVkMhGWzxEIHaIuLGc33TOyM9LnAuq0O4tF2aTJkaBhVmmovXzcLyQ9bVlNL/vWht2 JEad2PoAldgs3S6rjeijC3UUNLemODMSiLFPchIfTCPljYVWR61N8++16kpzyZfDyurK R/Rg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=iPVvouXPmZ3dTG1p5qHrWOLqq+2zeCGPQuobqae97Os=; b=CIWG/FD71/poFU+v96vRRM7+YEyP/LSp/Znn5QEKLpJs3InAUPvqrQ+lfD9AvxKsjX docNDjMAFxgDO2TvxC/XUTASF+AQ31ABZisAEgc4xIfSHT7nghkDTReZcSiCE95t1PuG ZWg/slGMh61uJY5L0GoGYWPgFCPzFVetqjFWg1JMbkLCF/mS0gkvrgMJ1lP2xgTon2Iv 64nVkaT0owSBeoUtjFAmIzrM9apFJ5Y3jyWWIIP9Ds/gBtBDbfmN7W8sPRl09r/JkGlM S/cna8BcdayfeKExh+KzGjaC1FfZJc6juFnyKr2fugo2zZWc5AviVULqDGppatdQCMCx soVA== X-Gm-Message-State: AOAM5322/SrA9C2c92ER8wbGw/AE34loGrV0GsP0PFCecjj7yd+5KQIZ js+f00vuFEWH3vReF1ZEgdQp7O3oloDFLcSGxwOY+LY5Uco= X-Google-Smtp-Source: ABdhPJw5wpkaVv2mPb88UgtNz7XUTuX//TzSMf4TwXfJ8WptuieQRGYhjLamsB3JlFsU0941sdrcd0b4OtEP9Lyt2MI= X-Received: by 2002:a1c:5685:: with SMTP id k127mr7090455wmb.135.1600294541283; Wed, 16 Sep 2020 15:15:41 -0700 (PDT) MIME-Version: 1.0 References: <01000174944cbe04-bc3ea16f-b855-4aac-9bcf-1b9c4e30a241-000000@email.amazonses.com> In-Reply-To: <01000174944cbe04-bc3ea16f-b855-4aac-9bcf-1b9c4e30a241-000000@email.amazonses.com> From: ericr Date: Wed, 16 Sep 2020 16:15:02 -0600 Message-ID: Subject: Re: filesystem checksum problems on AWS EC2 instances To: freebsd-cloud@freebsd.org X-Rspamd-Queue-Id: 4BsDv31V42z4MWp X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=eiiDa1Ag; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of erobison@gmail.com designates 2a00:1450:4864:20::330 as permitted sender) smtp.mailfrom=erobison@gmail.com X-Spamd-Result: default: False [-2.67 / 15.00]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; NEURAL_HAM_MEDIUM(-0.95)[-0.947]; FROM_HAS_DN(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-cloud@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.98)[-0.983]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::330:from]; NEURAL_SPAM_SHORT(0.26)[0.259]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-cloud]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-cloud@freebsd.org X-Mailman-Version: 2.1.33 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: Wed, 16 Sep 2020 22:15:44 -0000 On Tue, Sep 15, 2020 at 6:24 PM Colin Percival wrote: > On 2020-09-15 14:30, ericr wrote: > ... > > Sep 1 20:50:15 freebsd kernel: UFS /dev/gpt/rootfs (/) > > cylinder checksum failed: cg 0, cgp: 0x9c14700e != bp: 0x27bfa3d0 > > Sep 1 20:50:15 freebsd syslogd: last message repeated 1 > times > > Sep 1 20:50:15 freebsd kernel: UFS /dev/gpt/rootfs (/) > > cylinder checksum failed: cg 7, cgp: 0x43ed3fa1 != bp: 0xe9b0182e > > > > and from there on, I get cylinder checksum errors pretty often. > > Do you get this if you launch from the non-Marketplace AMIs listed in the > release announcement? > https://www.freebsd.org/releases/12.1R/announce.html Yes. I just tried both of these AMI's from the release notes: us-east-1 region: ami-0de268ac2498ba33d us-east-2 region: ami-0a44f10b2c6deb365 I got the same errors. I haven't tried the 12.2-BETA images yet, I suppose I should. Theoretically they should be bit-for-bit identical, but I wouldn't put it > past the Marketplace people to have somehow mangled it when they created > their copy of the AMI disk image. > Seems odd that it happens with both the AMIs from Release Engineering and the Marketplace. I think the only change I'm making that would affect the instance is that I change the disk size to 200GB. It seems pretty idiot proof, but maybe there's something I'm missing. > > Also, does anyone have docs on how to create a custom AMI that'll create > a > > ZFS root filesystem and install the OS to it? I can't seem to find AMIs > > for 12.1-RELEASE that use it. > > I created some ZFS images for FreeBSD 12.0 last year -- you could launch > one > of those and upgrade: > > https://lists.freebsd.org/pipermail/freebsd-cloud/2019-February/000200.html Thanks for the pointer! -- ericr