@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.
| Argument | Type | Description |
|---|---|---|
| node | string | Node name to create the pool on |
| device | string | Block device path (e.g. /dev/vdb) |
| poolName | string | ZFS pool name |
setZfsFailmodeSet ZFS failmode=continue on a node. Idempotent (re-setting is a no-op).
| Argument | Type | Description |
|---|---|---|
| node | string | Node name |
| poolName | string | ZFS 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