Skip to content

trgill/csi-local

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

# Overview

Blivet provides high level APIs to most Linux storage:

    lvm
        linear
        raid
        thinp
        vdo
        cache
        pv add/remove
        encrypted pvs
        md raid pvs
    stratis
    md raid
    encryption (luks)
    btrfs


This is a prototype of a CSI driver over the Blivet API.

Currently a LVM volume group is used, but future enhancements will add more
features.


## Notes

Blivet code: https://github.com/storaged-project/blivet

Prototype grpc server for local storage

python --version
Python 3.10.2

## Start Server
sudo python grpc/server.py

# Add disks for volume creation to the storage_devs.json
# Update the use_for_csi_storage array in the JSON with a list
# of EMPTY devices for use for CSI volumes.  Any disk added to the
# list must be empty (no label/partition).  The contents of disks
# added to the use_for_csi_storage will be overwritten.
# 
cp storage_devs_example.json storage_devs.json


# Update the grpc interfaces from the grpc directory
python -m grpc_tools.protoc -I. --python_out=. --grpc_python_out=. api.proto

## Dependencies

pip3 install blivet
pip3 install vext
pip3 install vext.gi
pip3 install gobject
dnf install python3-gi

About

grpc server for local storage

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors 3

  •  
  •  
  •