Skip to content
/ go-lvm Public

WIP: go-lvm is a go library to call liblvm API based on python-lvm

Notifications You must be signed in to change notification settings

nak3/go-lvm

Repository files navigation

go-lvm

GoDoc Build Status Go Report Card

Overview

go-lvm is a go library to call liblvm API based on python-lvm developed in LVM2.

Usage

Please refer to go-doc.

Test run

Let's create a available volume group and create and delete a LV.

step-1. set up a free VG

sudo dd if=/dev/zero of=disk.img bs=1G count=1
export LOOP=`sudo losetup -f`
sudo losetup $LOOP disk.img
sudo vgcreate vg-targetd $LOOP

step-2. Run an example script

go run cmd/example.go

About

WIP: go-lvm is a go library to call liblvm API based on python-lvm

Topics

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages