← 返回命令列表

Linux command

exo-compute-block-storage 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

List block storage volumes in a zone

exo compute block-storage list --zone [ch-gva-2]

Create a volume

exo compute block-storage create [name] --size [100] --zone [ch-gva-2]

Show volume details

exo compute block-storage show [name]

Attach volume to instance

exo compute block-storage attach [volume] [instance] --zone [ch-gva-2]

Detach volume

exo compute block-storage detach [volume] --zone [ch-gva-2]

Delete a volume

exo compute block-storage delete [name]

说明

exo compute block-storage manages Exoscale block storage volumes. Volumes provide persistent storage that can be attached to compute instances. Block storage volumes survive instance termination and can be moved between instances. They are ideal for databases, application data, and any workload requiring persistent storage separate from the instance lifecycle. Volumes can be resized via the update subcommand and support snapshots for backup and cloning.

FAQ

What is the exo-compute-block-storage command used for?

exo compute block-storage manages Exoscale block storage volumes. Volumes provide persistent storage that can be attached to compute instances. Block storage volumes survive instance termination and can be moved between instances. They are ideal for databases, application data, and any workload requiring persistent storage separate from the instance lifecycle. Volumes can be resized via the update subcommand and support snapshots for backup and cloning.

How do I run a basic exo-compute-block-storage example?

Run `exo compute block-storage list --zone [ch-gva-2]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

Where can I find more exo-compute-block-storage examples?

This page includes 6 examples for exo-compute-block-storage, plus related commands for nearby Linux tasks.