stratumctl storage-pools
Manage storage pools (operator node storage)
stratumctl storage-pools [flags]Aliases: storage-pool, pool, pools, sp
Subcommands
Section titled “Subcommands”stratumctl storage-pools create: Create a pool from disk(s) (operator-only)stratumctl storage-pools delete: Delete an empty pool (refused if it holds volumes or a class points at it; never the default pool)stratumctl storage-pools extend: Add disk(s) to a pool to grow it (operator-only)stratumctl storage-pools get: Describe a storage poolstratumctl storage-pools list: List storage poolsstratumctl storage-pools shrink: Remove disk(s) from a pool, freeing them (operator-only; refused if it would remove the last disk)
stratumctl storage-pools create
Section titled “stratumctl storage-pools create”Create a pool from disk(s) (operator-only)
stratumctl storage-pools create <name> [flags]Examples
Section titled “Examples”stratumctl storage-pools create fast --disk /dev/nvme1n1stratumctl storage-pools create fast --disk /dev/nvme1n1 --disk /dev/nvme2n1 --create-storage-class| Flag | Type | Default | Description |
|---|---|---|---|
--create-storage-class |
bool | false |
Also register a storage class pointing at the pool |
--disk |
stringSlice | Whole-disk device path to use (repeatable) | |
--driver |
string | lvm-thin |
Driver (lvm-thin) |
--force-wipe |
bool | false |
Bypass the empty-disk guard (dangerous) |
--node-id |
string | Owning node (defaults to the local node) | |
--storage-class-name |
string | Name for the auto-created class (defaults to the pool name) |
stratumctl storage-pools delete
Section titled “stratumctl storage-pools delete”Delete an empty pool (refused if it holds volumes or a class points at it; never the default pool)
stratumctl storage-pools delete <pool> [flags]Examples
Section titled “Examples”stratumctl storage-pools delete faststratumctl storage-pools extend
Section titled “stratumctl storage-pools extend”Add disk(s) to a pool to grow it (operator-only)
stratumctl storage-pools extend <pool> [flags]Examples
Section titled “Examples”stratumctl storage-pools extend fast --disk /dev/nvme3n1| Flag | Type | Default | Description |
|---|---|---|---|
--disk |
stringSlice | Whole-disk device path to add (repeatable) | |
--force-wipe |
bool | false |
Bypass the empty-disk guard (dangerous) |
stratumctl storage-pools get
Section titled “stratumctl storage-pools get”Describe a storage pool
stratumctl storage-pools get <pool> [flags]Examples
Section titled “Examples”stratumctl storage-pools get faststratumctl storage-pools get fast --output jsonstratumctl storage-pools list
Section titled “stratumctl storage-pools list”List storage pools
stratumctl storage-pools list [flags]Examples
Section titled “Examples”stratumctl storage-pools liststratumctl storage-pools list --output jsonstratumctl storage-pools shrink
Section titled “stratumctl storage-pools shrink”Remove disk(s) from a pool, freeing them (operator-only; refused if it would remove the last disk)
stratumctl storage-pools shrink <pool> [flags]Examples
Section titled “Examples”stratumctl storage-pools shrink fast --disk /dev/nvme3n1| Flag | Type | Default | Description |
|---|---|---|---|
--disk |
stringSlice | Whole-disk device path to remove (repeatable) |
