disk

Operations with disks

Usage

neuro disk [OPTIONS] COMMAND [ARGS]...

Operations with disks.

Commands:

create

Create a disk

Usage

neuro disk create [OPTIONS] STORAGE

Create a disk

Create a disk with at least storage amount STORAGE.

To specify the amount, you can use the following suffixes: "kKMGTPEZY" To use decimal quantities, append "b" or "B". For example:

  • 1K or 1k is 1024 bytes

  • 1Kb or 1KB is 1000 bytes

  • 20G is 20 * 2 ^ 30 bytes

  • 20Gb or 20GB is 20.000.000.000 bytes

Note that server can have big granularity (for example, 1G) so it will possibly round-up the amount you requested.

Examples


$ neuro disk create 10G
$ neuro disk create 500M

Options

get

Get disk DISK_ID

Usage

neuro disk get [OPTIONS] DISK

Get disk DISK_ID.

Options

ls

List disks

Usage

neuro disk ls [OPTIONS]

List disks.

Options

rm

Remove disk DISK_ID

Usage

neuro disk rm [OPTIONS] DISKS...

Remove disk DISK_ID.

Options

Last updated