Documentation
¶
Index ¶
- func BindMountLV(log *slog.Logger, lvname, mountPath string, vgName string) (string, error)
- func CreateLV(log *slog.Logger, vg string, name string, size uint64, lvmType string, ...) (string, error)
- func CreateVG(log *slog.Logger, name string, devicesPattern string) (string, error)
- func ExtendLVS(log *slog.Logger, vg string, name string, size uint64, isBlock bool) (string, error)
- func LvExists(log *slog.Logger, vg string, name string) bool
- func MountLV(log *slog.Logger, lvname, mountPath string, vgName string, fsType string) (string, error)
- func RemoveLVS(log *slog.Logger, vg string, name string) (string, error)
- func UmountLV(log *slog.Logger, targetPath string)
- func VgActivate(log *slog.Logger)
- func VgExists(log *slog.Logger, vgname string) bool
- func VgStats(log *slog.Logger, vgName string) (int64, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BindMountLV ¶ added in v0.8.0
func CreateLV ¶ added in v0.8.0
func CreateLV(log *slog.Logger, vg string, name string, size uint64, lvmType string, integrity bool) (string, error)
CreateLV creates the new volume used by lvcreate provisioner pod and by nodeserver for ephemeral volumes
func VgActivate ¶ added in v0.8.0
VgActivate execute vgchange -ay to activate all volumes of the volume group
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.