From: Zdenek Kabelac <zdenek.kabelac@gmail.com>
To: Alessandro Brega <alessandro.brega1@gmail.com>,
linux-lvm@lists.linux.dev
Subject: Re: LVM RAID1 thin-pool shows “alignment inconsistency” warnings
Date: Fri, 19 Sep 2025 13:25:41 +0200 [thread overview]
Message-ID: <bafce088-45f1-4145-9d7e-9f5d2463876f@gmail.com> (raw)
In-Reply-To: <CALAmg3ZyCczjzovtB9LwWgo265JDwjzNbfGGnTT4Kq4XdDuFvA@mail.gmail.com>
Dne 18. 09. 25 v 21:07 Alessandro Brega napsal(a):
> Hello everyone,
>
> on a new debian trixie server (kernel 6.12.43-1, lvm2 2.03.31-2) I’m
> trying to set up an LVM RAID-1 thin-pool with these commands:
>
> pvcreate /dev/nvme0n1p5
> pvcreate /dev/nvme1n1p5
> vgcreate nvme /dev/nvme0n1p5 /dev/nvme1n1p5
> lvcreate --type raid1 --mirrors 1 --name thin_raid1_data --size 100G nvme
> lvcreate --type raid1 --mirrors 1 --name thin_raid1_metadata --size 100MiB nvme
> lvconvert --yes --thin-pool nvme/thin_raid1_data --poolmetadata
> nvme/thin_raid1_metadata
> lvrename nvme/thin_raid1_data nvme/thin_raid1
>
> The thin pool is created successfully and works as expected, but the
> kernel logs warnings such as:
>
> device-mapper: table: 253:4: adding target device (start sect 0 len
> 209715200) caused an alignment inconsistency
Hi
Recently solved in kernel - see this patch:
"dm-raid: don't set io_min and io_opt for raid1"
https://kernel.googlesource.com/pub/scm/linux/kernel/git/torvalds/linux.git/+/a86556264696b797d94238d99d8284d0d34ed960
Regards
Zdenek
prev parent reply other threads:[~2025-09-19 11:25 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-18 19:07 LVM RAID1 thin-pool shows “alignment inconsistency” warnings Alessandro Brega
2025-09-19 11:25 ` Zdenek Kabelac [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bafce088-45f1-4145-9d7e-9f5d2463876f@gmail.com \
--to=zdenek.kabelac@gmail.com \
--cc=alessandro.brega1@gmail.com \
--cc=linux-lvm@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).