Skip to content

Conversation

@pranav767
Copy link
Contributor

Add lvmd as a talos package, allowing CSI drivers to manage logical volumes without direct access to host block devices.

CSI components communicate with lvmd over a gRPC interface and lvmd performs actual LVM operations using the host's lvm2 tools. This avoids the need to run privileged CSI containers or mount host devices like /dev for supporting LVM (Creating LV's using CSI)

Reference : https://github.com/topolvm/topolvm/blob/main/docs/lvmd.md
This PR helps to continue work in : siderolabs/talos#12530

@talos-bot talos-bot moved this to In Review in Planning Jan 6, 2026
Add lvmd as a Talos package, enabling CSI drivers to manage LVM logical volumes without requiring direct access to host block devices.

This package builds lvmd v0.39.0 from the TopoLVM project, providing the daemon component needed for dynamic volume provisioning in Kubernetes environments.

Signed-off-by: Pranav Patil <[email protected]>
@shanduur
Copy link
Member

shanduur commented Jan 9, 2026

Shouldn't this be a part of extensions repository? Your PR will only add lvmd as a binary on host, it won't be ever started, unless explicitly instructed by the Talos. If you really need it, you should run it as an extension service, right?

@shanduur shanduur self-requested a review January 9, 2026 09:17
@pranav767
Copy link
Contributor Author

Yes, had no idea about extensions, Yes I think adding lvmd here won't start the service, It needs to be in extensions.
I'm still thinking about the design and use case scenarios for LVM, Closing this PR (can create PR in extensions, after deciding on a solid design.

@pranav767 pranav767 closed this Jan 9, 2026
@github-project-automation github-project-automation bot moved this from In Review to Done in Planning Jan 9, 2026
@frezbo
Copy link
Member

frezbo commented Jan 9, 2026

Yes, had no idea about extensions, Yes I think adding lvmd here won't start the service, It needs to be in extensions. I'm still thinking about the design and use case scenarios for LVM, Closing this PR (can create PR in extensions, after deciding on a solid design.

Start a github disussion first with ideas/implementation details etc,then once it's good can be converted to an issue and then worked on, avoids wasting time for everyone

@pranav767
Copy link
Contributor Author

We were discussing about LVM here, Might not have visibility to everyone, will talk further in https://github.com/siderolabs/talos/discussions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants