百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
L

lvm-localpv

> 云原生
开源

为与后端 LVM2 数据存储堆栈集成的 Kubernetes 动态分配状态持久节点本地卷和文件系统。

348 stars0 点赞2 次浏览
访问官网GitHub

工具介绍

为与后端 LVM2 数据存储堆栈集成的 Kubernetes 动态分配状态持久节点本地卷和文件系统。

OpenEBS Local PV LVM

Overview

OpenEBS Local PV LVM is a CSI plugin for implementation of LVM backed persistent volumes for Kubernetes. It is a local storage solution, which means the device, volume and the application are on the same host. It doesn't contain any dataplane, i.e only its simply a control-plane for the kernel lvm volumes. It mainly comprises of two components which are implemented in accordance to the CSI Specs:

  1. CSI Controller - Frontends the incoming requests and initiates the operation.
  2. CSI Node Plugin - Serves the requests by performing the operations and making the volume available for the initiator.

Why OpenEBS Local PV LVM?

  1. Lightweight, easy to set up storage provisoner for host-local volumes in K8s ecosystem.
  2. Makes LVM stack available to K8s, allowing end users to use the LVM functionalites like snapshot, thin provisioning, resize, etc for their Persistent Volumes.
  3. Cloud native, i.e based on CSI spec, hence suitable for all K8s deployments.

Architecture

LocalPV refers to storage that is directly attached to a specific node in the Kubernetes cluster. It uses locally available disks (e.g., SSDs, HDDs) on the node.

Use Case: Ideal for workloads that require low-latency access to storage or when data locality is critical (e.g., databases, caching systems).

Characteristics:

  • Node-bound: The volume is tied to the node where the disk is physically located.
  • No replication: Data is not replicated across nodes, so if the node fails, the data may become inaccessible.
  • High performance: Since the storage is local, it typically offers lower latency compared to network-attached storage.

The diagram below depicts the mapping to the host disks, the LVM stack on top of the disks and the kubernetes persistent volumes to be consumed by the workload. Local PV LVM CSI Controller upon creation of the Persistent Volume Claim, creates a LVMVolume CR, which emits an event for Local PV LVM CSI Node Plugin to create the LV(logical volume). When workloads are scheduled the Local PV LVM CSI Node Plugin makes this lv/logical volume available via a mount point on the host.

…

Supported System

Name Version
K8S 1.23+
Distro Alpine, Arch, CentOS, Debian, Fedora, NixOS, SUSE, Talos, RHEL, Ubuntu
Kernel oldest supported kernel is 2.6
LVM2 2.03.21
Min RAM LVM2 is a kernel native module. It is very efficent and fast. It has no strict memory requirements
Stability LVM2 is extremly stable and very mature. The Kernel was released ~2005. It exists in most LINUX distros

Documents

  • Prerequisites
  • Quickstart
  • Developer Setup
  • Testing
  • Contibuting Guidelines
  • Governance
  • Changelog
  • Release Process

Features

  • Access Modes
    • ReadWriteOnce
    • ReadOnlyMany
    • ReadWriteMany
  • Volume modes
    • Filesystem mode
    • Block mode
  • Supports fsTypes: ext4, btrfs, xfs
  • Volume metrics
  • Topology
  • Snapshot
    • Create
    • Restore
  • Clone
  • Volume Resize
  • Thin Provision
  • Backup/Restore
  • Ephemeral inline volume

Limitation

  • Resize of volumes with snapshot is not supported.
  • Restore from snapshot of thick volume is not supported.
  • Clone of a volume from volume is not supported.

Dev Activity dashboard

License Compliance

OpenEBS is a CNCF Sandbox Project

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Gocsicsi-driverdata-visualizationhacktoberfest

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类云原生
定价开源

> 相关工具

K
Kubernetes
容器编排事实标准
H
Helm
Kubernetes 包管理器
S
seaweedfs
SeaweedFS is a distributed storage system for object storage (S3), file systems, and Iceberg tables,