From: Zdenek Kabelac <zkabelac@redhat.com>
To: "Brian J. Murrell" <brian@interlinx.bc.ca>, linux-lvm@lists.linux.dev
Subject: Re: pvmove thin volume doesn't move
Date: Wed, 19 Nov 2025 17:59:32 +0100 [thread overview]
Message-ID: <79169cc8-9166-4b65-9c59-d490512d46e6@redhat.com> (raw)
In-Reply-To: <319f6df36c43e3c62e8edc9730e2d1f8065586ed.camel@interlinx.bc.ca>
Dne 19. 11. 25 v 17:36 Brian J. Murrell napsal(a):
>> lvm2 ATM does not support any sort of 'extraction' of a thinLV out
>> of the
>> thin-pool.
>
> Maybe that's an explanation that goes over my head with me not being an
> LVM2 engineer but rather just a general jack-of-all-trades sysadmin.
>
> But that said, I'm not sure what kind of operation "extraction" is
> supposed to be implying but I suppose what I was thinking (hoping for,
> now it seems) was that in order to be able to move the blocks of an LV
> in a thin-pool from one PV to another one would of course have to
> extend the thin-pool to the new device, in the same way that any LV can
> span devices.
Ok - now I start to see - where we need to enhance our documentation.
So here - 'adding' different space to thin-pool wouldn't not be a good idea.
We will likely need to add at least 'prompt' protection if user would try to
extend 'hdd' based LV used for thin-pool data with i.e. non-rotational
(we are in planning phase for new allocation - which will be dealing with this
- but we should add some protection to existing code base).
thin-pool does it's own decision where it allocates 'chunks' for thin LV and
for thin-pool itself given space is 'one big device'
>
>> As far as for documentation - I'm pretty sure we never mentioned any
>> support
>> of such operation within our lvm2 man pages.
>
> pvmove's manpage does describe the ability to move LVs among PVs.
> That, IMO, implies thin-LVs without any kind of disclaimer saying
> otherwise.
>
Ok - I'll try to add more details about 'virtual LVs' - which are thinLVs and
vdoLVs (and we have even combination of both)
Here we surely can add more disclaimers about the major difference between
virtual and real LVs.
>> Blocks in a standard LV are allocated (during creation) from the
>> Volume Group
>> (VG), but blocks in a thin LV are allocated (during use)
>> from a "thin pool". The thin pool contains blocks of physical
>> storage, and
>> thin LV blocks reference blocks in the thin pool.
>
> That sounds like a good description for an LVM2 software engineer
> onboarding to thin provisioning. I don't think that description is
> suitable to express the limitations (that are becoming apparent in this
> thread) to general jack-of-all-trades system administrators as it
> implies more knowledge of LVM2 than such a person could/would generally
> have IMO.
We surely always try to add the best details we can.
But there is also some 'expectancy' user is somewhat knowledgeable.
The performance of thin-pool ain't for free - so there are some drawbacks when
user settles with thin-pools.
> Again, much too technically detailed to express these limitations to a
> general sysadmin that has to employ literally dozens of technologies in
> one's administrative scope and therefore cannot possibly try understand
> all of the underlying design decisions of every one of those dozens of
> technologies.
Like our error messaging - in case it makes no good explanation to the user
should be always reported and requested for enhancement.
Regards
Zdenek
next prev parent reply other threads:[~2025-11-19 16:59 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-16 13:27 pvmove thin volume doesn't move Brian J. Murrell
2025-11-17 15:01 ` Zdenek Kabelac
2025-11-17 23:30 ` Brian J. Murrell
2025-11-17 23:37 ` Zdenek Kabelac
2025-11-18 23:14 ` Brian J. Murrell
2025-11-19 9:16 ` Zdenek Kabelac
2025-11-19 14:07 ` Matthew Patton
2025-11-19 15:46 ` Brian J. Murrell
2025-11-19 16:34 ` Zdenek Kabelac
2025-11-19 16:06 ` Zdenek Kabelac
2025-11-19 16:36 ` Brian J. Murrell
2025-11-19 16:59 ` Zdenek Kabelac [this message]
2025-11-19 17:22 ` matthew patton
2025-11-19 17:31 ` Zdenek Kabelac
2025-11-19 17:38 ` Brian J. Murrell
2025-11-19 18:11 ` Zdenek Kabelac
2025-11-19 19:41 ` matthew patton
2025-11-19 20:38 ` Zdenek Kabelac
2025-11-19 16:10 ` David Teigland
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=79169cc8-9166-4b65-9c59-d490512d46e6@redhat.com \
--to=zkabelac@redhat.com \
--cc=brian@interlinx.bc.ca \
--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).