All of lore.kernel.org
 help / color / mirror / Atom feed
From: Zdenek Kabelac <zdenek.kabelac@gmail.com>
To: Matthew Patton <pattonme@yahoo.com>,
	"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:06:47 +0100	[thread overview]
Message-ID: <9c2a15d0-0d7d-4462-af43-83221c2ecbdd@gmail.com> (raw)
In-Reply-To: <6D706D06-AB0F-4C55-9F68-E8E07926A511@yahoo.com>

Dne 19. 11. 25 v 15:07 Matthew Patton napsal(a):
> <quote>
> Usually once user goes with thin-pools - it's decision taken with knowledge that the only way out is to take out whole data out of thin-pool and copy them to the new place
> </quote>
> 
> That is one hell of a wild and unsupported assumption. Practically nobody , even seasoned sysadmins would know of this deficiency. Does the lvm(1) manage splatter this warning prominently?
> 
> Pretty sure the HP/ux and IBM implementations support thin movement.

Well I've no idea which volume managers you are talking about, all I say is - 
lvm2  ATM does not support any sort of 'extraction' of a thinLV out of the 
thin-pool. The main benefit of using 'thin-pool' is the you share storage 
between volumes.

As far as for documentation - I'm pretty sure we never mentioned any support 
of such operation within our lvm2 man pages.

And the initial lines in our 'man lvmthin' explicitly states this:

----
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.

----

Thin-pool is some sort of a black box from lvm2's POV - it serves volumes - 
and lvm2 knows how to make those volumes available on the system - but the 
mapping of chunks to make a thin LV as fully in hands of thin-pool target.
lvm2 has 'no idea'  which disk space is in-use for any individual thin LV.
(there are tools like 'thin_ls/thin_rmap' for that)


Regards

Zdenek


  parent reply	other threads:[~2025-11-19 16:06 UTC|newest]

Thread overview: 20+ 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 [this message]
2025-11-19 16:36               ` Brian J. Murrell
2025-11-19 16:59                 ` Zdenek Kabelac
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
2025-11-24  8:25   ` David Greaves

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=9c2a15d0-0d7d-4462-af43-83221c2ecbdd@gmail.com \
    --to=zdenek.kabelac@gmail.com \
    --cc=brian@interlinx.bc.ca \
    --cc=linux-lvm@lists.linux.dev \
    --cc=pattonme@yahoo.com \
    /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 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.