lvm

package
v0.26.2 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2026 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckVG

func CheckVG(vgx string) (uint64, uint64, error)

ボリュームグループの総量量と空きチェック

func CopyLogicalVoulume added in v0.11.0

func CopyLogicalVoulume(sourceVg, sourceLv, destVg, destLv string, sizeInByte uint64) error

同じサイズの論理ボリュームを作成して、ddでコピーする

func CopyLogicalVoulumeWithContext added in v0.11.6

func CopyLogicalVoulumeWithContext(ctx context.Context, sourceVg, sourceLv, destVg, destLv string, sizeInByte uint64) error

同じサイズの論理ボリュームを作成して、ddでコピーする

func CreateLV

func CreateLV(vgx string, lvx string, sizeInByte uint64) error

論理ボリュームの作成

func CreateSnapshot

func CreateSnapshot(vgx string, lvx string, svx string, sizeInByte uint64) error

スナップショットの作成、OSボリューム作成用

func IsExist

func IsExist(vgx string, lvx string) error

論理ボリュームの存在チェック

func RemoveLV

func RemoveLV(vgx string, lvx 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