Skip to main content

@magistr/cozystack-linstor

v2026.03.13.1

Linstor distributed storage management for Cozystack — ZFS pool creation, storage classes, node and pool status

Labels

cozystacklinstorkubernetesstorageinfrastructure

Contents

Quality score

How well-documented and verifiable this extension is.

Not yet scored.

A score will be generated the next time this extension is published. The owner can also trigger scoring manually.

Install

$ swamp extension pull @magistr/cozystack-linstor

@magistr/cozystack-linstorv2026.03.13.1cozystack_linstor.ts
getLinstorControllerStatusCheck if linstor-controller deployment is ready
listNodesList Linstor cluster nodes
listStoragePoolsList Linstor storage pools across all nodes
createZfsPoolCreate a ZFS storage pool on a node. Idempotent: skips if pool already exists.
ArgumentTypeDescription
nodestringNode name to create the pool on
devicestringBlock device path (e.g. /dev/vdb)
poolNamestringZFS pool name
setZfsFailmodeSet ZFS failmode=continue on a node. Idempotent (re-setting is a no-op).
ArgumentTypeDescription
nodestringNode name
poolNamestringZFS pool name
applyStorageClassesApply a storage class YAML manifest. Idempotent (uses kubectl apply).

Resources

node(infinite)— Linstor cluster node
storagePool(infinite)— Linstor storage pool
result(infinite)— Operation result