Skip to main content

Cozystack Linstor

@magistr/cozystack-linstorv2026.05.25.1· 9d agoMODELS
01README

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

02Release Notes

Merge pull request #4 from umag/extensions/magistr-grade-a-workspace

extensions: stage 15 @magistr extensions as Grade A workspace dirs + wire CI

03Models1
@magistr/cozystack-linstorv2026.05.25.1cozystack_linstor.ts
fn getLinstorControllerStatus()
Check if linstor-controller deployment is ready
fn listNodes()
List Linstor cluster nodes
fn listStoragePools()
List Linstor storage pools across all nodes
fn createZfsPool(node: string, device: string, poolName: string)
Create 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
fn setZfsFailmode(node: string, poolName: string)
Set ZFS failmode=continue on a node. Idempotent (re-setting is a no-op).
ArgumentTypeDescription
nodestringNode name
poolNamestringZFS pool name
fn applyStorageClasses()
Apply a storage class YAML manifest. Idempotent (uses kubectl apply).

Resources

node(infinite)— Linstor cluster node
storagePool(infinite)— Linstor storage pool
result(infinite)— Operation result
04Previous Versions1
2026.03.13.1Mar 13, 2026
05Stats
A
100 / 100
Downloads
1
Archive size
7.6 KB
  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types1/1earned
  • Dependencies pass trust audit2/2earned
  • Has description1/1earned
  • Platform support declared (or universal)2/2earned
  • License declared1/1earned
  • Verified public repository2/2earned
06Platforms
07Labels