All of lore.kernel.org
 help / color / mirror / Atom feed
* lvmthin man page is not clear on pmspare and RAID
@ 2026-11-15 10:12 Matwey V. Kornilov
  2026-11-18 10:06 ` Zdenek Kabelac
  0 siblings, 1 reply; 2+ messages in thread
From: Matwey V. Kornilov @ 2026-11-15 10:12 UTC (permalink / raw)
  To: linux-lvm

Dear LVM team,

Recently I came across the lvmthin man page. My interest is in having
a thin pool on RAID1 (mirror). While there is information on this
topic in the man page, I am not sure that I understand all the
concepts correctly. I think that when we are talking about storing
data, it is better to explain things explicitly.

The most problematic topic is how pmspare is related to RAID and vice
versa. In the section "Thin Pool on LVM RAID", there is an example of
a mirrored thin pool, where I can see that the pmspare volume is not
mirrored. Why? What happens when the physical drive containing pmspare
goes out of service? vgreduce won't let me remove the failed drive
from the volume group due to the hidden pmspare volume allocated on
"[unknown]".

My understanding, based on the section "Thin Pool Metadata check and
repair", is that pmspare is really used only while "lvconvert
--repair" is running, either manually or automatically, so the volume
can be safely disposed of as long as there is enough free space in the
volume group. And this means that each physical drive in the volume
group needs to have enough free space for the pmspare volume in case
of an emergency. Is this correct?

I would be particularly happy to see a new section, "Recovering Thin
Pool on LVM RAID", in the lvmthin man page, explaining these specific
concerns.

Thanks.

-- 
With best regards,
Matwey V. Kornilov

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-11-18 10:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-15 10:12 lvmthin man page is not clear on pmspare and RAID Matwey V. Kornilov
2026-11-18 10:06 ` Zdenek Kabelac

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.