shc volume
shc volume
Section titled “shc volume”manage and inspect cluster block volumes
Synopsis
Section titled “Synopsis”Group of commands for inspecting and managing real (block / cloud) volumes.
Volumes are provisioned + attached by the daemon when a deployment’s app declares x-shc-volumes; these operator verbs let you list them, remove one, rebind an RWO volume to a new node after its old node has died, or take and restore cloud point-in-time snapshots.
shc volume [flags]Options
Section titled “Options” -h, --help help for volumeOptions inherited from parent commands
Section titled “Options inherited from parent commands” --config stringArray extra YAML config file to layer on top of auto-discovered config; repeatable, later files win -d, --debug enable debug mode (default: $SHC_DEBUG) -e, --environment string environment name (default: "prod", or "default" on an estate with no licence and no trial; $SHC_ENVIRONMENT and shc ctx -e override it, and the "master" tenant is always "default") --exclude string comma-separated dotted paths to drop --fields string comma-separated columns/keys to show (and their order) --filter string comma-separated dotted paths to keep (drops everything else) -o, --output string output format: tty|text|json|yaml (default: $SHC_OUTPUT) -s, --stack string stack name (default: $SHC_STACK) -t, --tenant string tenant name (default: $SHC_TENANT) -v, --verbose verbose output (default: $SHC_VERBOSE)SEE ALSO
Section titled “SEE ALSO”- shc - Selfhosted Cloud CLI
- shc volume assert-lease-lost - assert that a dead node cannot write, unblocking a stalled automatic failover
- shc volume files - browse, download and upload the files in a deployment’s volume
- shc volume ls - list block volumes
- shc volume mount - expose a volume’s data at a path on the daemon host
- shc volume mounts - list the volume and container mounts the daemon holds
- shc volume rebind - rebind an RWO volume to a new node after its old node died
- shc volume restore-snapshot - restore a block volume from one of its cloud snapshots
- shc volume rm - remove block volumes (detach then destroy the backing cloud resource)
- shc volume snapshot - take a cloud point-in-time snapshot of a block volume
- shc volume umount - release a volume or container mount
shc@docs:~$