From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.server123.net (mail.server123.net [78.46.64.186]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E96D7C433F5 for ; Thu, 27 Jan 2022 13:24:11 +0000 (UTC) X-Virus-Scanned: amavisd-new at saout.de Authentication-Results: mail.server123.net (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2a00:1450:4864:20::634; helo=mail-ej1-x634.google.com; envelope-from=gmazyland@gmail.com; receiver= Received: from mail-ej1-x634.google.com (mail-ej1-x634.google.com [IPv6:2a00:1450:4864:20::634]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.server123.net (Postfix) with ESMTPS for ; Thu, 27 Jan 2022 14:21:22 +0100 (CET) Received: by mail-ej1-x634.google.com with SMTP id a8so5735557ejc.8 for ; Thu, 27 Jan 2022 05:21:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :references:cc:from:in-reply-to:content-transfer-encoding; bh=CIm+29IKF7n5Zl3dlPJ1kJU/4+lX+5KU8xWvCRUTevk=; b=osHc/5ZbDbEjRRNpPZMrSAmhDeceAcR5/e8my4hkwyLj8xx2HyTDZH4E8LbQS6pt4L Q6S4zBA5jDg5GASAhLclXxHrRp169kKBYD+dXewywJp0Fretl9PxtZjBBU/CsFEElwN3 12EJJCIio7Ei0r78cz9Kj/dplJCwfqzIBUpMujrUlLYn39+vw3HSf79q8moJ72w91sck xPRmyY5Zh5nQHiBOQ04mKUx0NSUWHEIMeqD1KY5mqvBx3rg9dUOB1RerHB9nr3CILJEm HDFEAbDTVuE2F0v+qUDIiFcDJEeysMzyl+wAKaAQ8gXnUZsNOrc+00HUI4e/VOBkrkcN asxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:references:cc:from:in-reply-to :content-transfer-encoding; bh=CIm+29IKF7n5Zl3dlPJ1kJU/4+lX+5KU8xWvCRUTevk=; b=slyF6W2R2F93y/GsslcYgnkwH/veiDe44TWm1/ymiIJ7ShDDmd1dUoLUHGQGEGE4TA lKVLgD436dhmBoz81i2knAt5SrcUDlhKULsQfKAQ8iWHD4JTJtMpp/BwLjOKXfyu4Ajc DfGqnUJZLoprQmUudnowT7Akj5B9HzC1RuIVVupnfoxjn7Y4z9NL55wBkuka/CzHfJpK nLf7C8KSE/lS6vdMj/c8Syl+3lMuPkD1ZgjE8D3NXjUwuNvdfs3+udW2pTWANPDB+Ik4 83g7Wgtc9LnpVrzlVt72aFUq3Z5dTpJrkNs05Fwy+4dBTLqAJLwVpcKwwvuxJ3FzgzlN 4WyA== X-Gm-Message-State: AOAM532iGXjx+kyi+uk/NhPAY39o5Q3nbmM2y4ab8cjspbuW75IoUbzV qyBaBNI45FNG7xTJXIsxGv7J0CH9BBk= X-Google-Smtp-Source: ABdhPJxEjO4lv/Ow4ObMS8we6aNGvEMky5dCENhsSH6DR3jm7y/JxnEttSa1zOsW0rsEuiDboUxQ1Q== X-Received: by 2002:a17:907:9603:: with SMTP id gb3mr2996906ejc.416.1643289681404; Thu, 27 Jan 2022 05:21:21 -0800 (PST) Received: from [192.168.2.27] (113.151.broadband3.iol.cz. [85.70.151.113]) by smtp.gmail.com with ESMTPSA id e15sm11334289edy.46.2022.01.27.05.21.20 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 27 Jan 2022 05:21:20 -0800 (PST) Message-ID: <5027f6e4-b278-5c0f-357d-d7d095f4fa74@gmail.com> Date: Thu, 27 Jan 2022 14:21:19 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.1 Content-Language: en-US To: dm-crypt@saout.de References: <20220125122055.GA29580@tansi.org> From: Milan Broz In-Reply-To: <20220125122055.GA29580@tansi.org> Message-ID-Hash: BU3K3DR27NBUM4SPOWSSAFWOYCXDXDJB X-Message-ID-Hash: BU3K3DR27NBUM4SPOWSSAFWOYCXDXDJB X-MailFrom: gmazyland@gmail.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-dm-crypt.saout.de-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header CC: Chris Murphy X-Mailman-Version: 3.3.2 Precedence: list Subject: [dm-crypt] Re: misaligned ending sector, 4096-byte luks sector size can't be used List-Id: List-Help: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii"; format="flowed" Content-Transfer-Encoding: 7bit On 25/01/2022 13:20, Arno Wagner wrote: > On Mon, Jan 24, 2022 at 23:10:34 CET, Milan Broz wrote: >> On 24/01/2022 18:07, Chris Murphy wrote: > [...] >> The whole idea of misaligned backup GPT at the end of device is broken. >> We should not follow that with adding hacks when the easy solution >> is just to align a partition properly. > > I fully agree to that. It is like having a virtual sector size and > then selectively in some places only not sticking to it. Not smart > and a gross KISS violation. And, of course, fundamental problems > like this one should always be fixed were they are caused. And it should be fixed in fdisk now: https://git.kernel.org/pub/scm/utils/util-linux/util-linux.git/commit/?id=921c7da55ec78350e4067b3fd6b7de6f299106ee Not sure if parted is maintained these days, but it should follow this approach... Milan _______________________________________________ dm-crypt mailing list -- dm-crypt@saout.de To unsubscribe send an email to dm-crypt-leave@saout.de