lvm

package
v1.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 14, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LVMTopoKeyNode = "topology.lvm.csi/node"
)

Variables

This section is empty.

Functions

func Cleanup added in v1.6.0

func Cleanup(devPath string) error

Cleanup checks if the given device path appears to be part of a previous LVM setup and attempts to clean it up.

func DoPVCreate

func DoPVCreate(devPath string) error

func DoPVRemove

func DoPVRemove(devPath string) error

func DoVGActivate

func DoVGActivate(vgName string) error

func DoVGCreate

func DoVGCreate(devPath, vgName string) error

func DoVGDeactivate added in v1.6.0

func DoVGDeactivate(vgName string) error

func DoVGExtend

func DoVGExtend(devPath, vgName string) error

func DoVGReduce

func DoVGReduce(devPath, vgName string) error

func DoVGRemove

func DoVGRemove(vgName string, force bool) error

func GenerateSelector

func GenerateSelector(nodeName string) (labels.Selector, error)

func GetPVScanResult

func GetPVScanResult() (map[string]string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL