-
Notifications
You must be signed in to change notification settings - Fork 2
trgill/csi-local
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
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