From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp3-g21.free.fr (smtp3-g21.free.fr [212.27.42.3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.server123.net (Postfix) with ESMTPS for ; Mon, 4 Jan 2016 22:31:17 +0100 (CET) Received: from molly.corsac.net (unknown [IPv6:2a01:e34:ec2f:4e20:ff:ff:fe00:5]) by smtp3-g21.free.fr (Postfix) with ESMTPS id 40716A6292 for ; Mon, 4 Jan 2016 22:30:30 +0100 (CET) Received: from scapa.corsac.net (unknown [IPv6:2a01:e34:ec2f:4e20:a897:3c73:6f44:6f65]) by molly.corsac.net (Postfix) with ESMTPS id E850C70 for ; Mon, 4 Jan 2016 22:31:11 +0100 (CET) Message-ID: <1451943067.3914.4.camel@debian.org> From: Yves-Alexis Perez Date: Mon, 04 Jan 2016 22:31:07 +0100 Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-RqugTAbYq1usT/l8hCVF" Mime-Version: 1.0 Subject: [dm-crypt] Alignment issue with 4K disk List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: dm-crypt@saout.de --=-RqugTAbYq1usT/l8hCVF Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, I'm trying to setup an encrypted volume on an external disk which has 4k physical sector size (with 512b logical sector size). I've used various parted option (-a none / minimal / optimal) and various -= - align-payload options to cryptsetup, but everytime I luksOpen the container= , I get a kernel log with: janv. 04 22:25:04 scapa kernel: device-mapper: table: 253:4: adding target = device sdb1 caused an alignment inconsistency: physical_block_size=3D4096, = logical_block_size=3D512, alignment_offset=3D0, start=3D4194304 (argument for start=3D changes for different values of the --align-payload) I'm not sure it's really serious, but any idea how to fix that? Regards, --=20 Yves-Alexis --=-RqugTAbYq1usT/l8hCVF Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAABCAAGBQJWiuSbAAoJEG3bU/KmdcClmvoH/R/zUvij752Jd7mNG4sucV06 kWscLRuiYNipK/xorPlr/zmiCxteKtjw2fdhlwzEUR/vcZOSoZCYmPI/DGH5sv8S mXcr6CNWjRwvQfhXiC2pekNaY7HyN4x5cw5T2zf01DU13gIoNVe0WRQZ3+V8nugm kLHR4LlvJDK9Q1sSrdZ/eShDsXrITJhlueSFEQx7a4hndJK1Uvrc9zlsgcKfXAfU oGxoBGQFpC41tYZ2n4uNxiUkb+8cErLoeD/sk9e5R5OKEGnp1P08UK4eyYoQqOpX rFpk6bzzVdUA/LE3F139bT/f/X3yrxh5gidN7KhqYtPQ/hfgjJh8mtlhFY0dan8= =USV6 -----END PGP SIGNATURE----- --=-RqugTAbYq1usT/l8hCVF--