All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] custom targets in lvm created dm tree
@ 2015-05-22 20:48 Murali Balcha
  2015-05-27 11:17 ` Zdenek Kabelac
  0 siblings, 1 reply; 2+ messages in thread
From: Murali Balcha @ 2015-05-22 20:48 UTC (permalink / raw)
  To: linux-lvm


[-- Attachment #1.1: Type: text/plain, Size: 746 bytes --]

Hi,
We are planning to implement couple of custom targets and we want to add to lvm created dm tree. How tolerant is LVM with custom targets in its tree structure? For example if an LVM is resized when the tree has custom target, does it keep the custom target after resize. Are there any best practices that I need to follow adding custom targets?
Regards,
Murali Balcha
_________________
Murali Balcha
Chief Technology Officer
trilioData
(c) 508.494.5007
(o) 508.529.3060
murali.balcha@triliodata.com<mailto:murali.balcha@triliodata.com>
[Trilio-Business Assurance_300 Pixels]<http://www.triliodata.com/>

Experience Trilio in action, please click here<mailto:info@triliodata.com?subject=Demo%20Request.> to request a demo today!

[-- Attachment #1.2: Type: text/html, Size: 2284 bytes --]

[-- Attachment #2: AC4FBA22-3C9E-48E8-A091-55DBC81664D1[38].png --]
[-- Type: image/png, Size: 15486 bytes --]

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

* Re: [linux-lvm] custom targets in lvm created dm tree
  2015-05-22 20:48 [linux-lvm] custom targets in lvm created dm tree Murali Balcha
@ 2015-05-27 11:17 ` Zdenek Kabelac
  0 siblings, 0 replies; 2+ messages in thread
From: Zdenek Kabelac @ 2015-05-27 11:17 UTC (permalink / raw)
  To: linux-lvm

Dne 22.5.2015 v 22:48 Murali Balcha napsal(a):
> Hi,
>
> We are planning to implement couple of custom targets and we want to add to
> lvm created dm tree. How tolerant is LVM with custom targets in its tree
> structure? For example if an LVM is resized when the tree has custom target,
> does it keep the custom target after resize. Are there any best practices that
> I need to follow adding custom targets?

In general - there trial plugin support for various targets
(as you can see i.e. with the '--with-thin=internal|shared|none' option.

However this plugin support is not generally well designed and thus target
often needs various tweaks across whole code base since every target usually 
brings-in something new which needs in certain situation special care
(i.e. even allocation of such LV might impose new restriction on extent 
allocator).

So I'm quite afaird lvm2 is not really capable to support 'external' plugin 
types for different targets.

So your best chance is probably to propose a new type of supported target
(you could start to look at i.e. thin-pool target support) - but I'm still 
afraid it's quite a big challenge trying to understand lvm2/dm internals -
there are many undocumented restrictions which are hard to easily follow.
So I expect target might need to be maintained by some lvm2 team member for 
full support.

Do you want to support/enhance some existing dm/lvm2 targets ?
(If not - is it going to be included in linux kernel ?)
Is even GPL code ?

What is the time frame for support inclusion you are looking for ?
(it might be quite lengthy process to fully support new --type)

Zdenek

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

end of thread, other threads:[~2015-05-27 11:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-22 20:48 [linux-lvm] custom targets in lvm created dm tree Murali Balcha
2015-05-27 11:17 ` 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.