Kibotos
kibo 命令

kibo storage-pool

本页列出 kibo storage-pool 及其子命令的用法、示例与参数,由 kibo 的源码生成;说明文字与 kibo --help 相同,为英文。

Inspect storage pools, the nodes that reach them and the objects in them, and set their capacity.

本页的每个命令还接受全局参数 --endpoint、--json 与 --timeout,见 kibo CLI 参考。

子命令:

kibo storage-pool declare-lost

Declares that a storage pool's storage is gone and will not come back. ctrl cannot verify this, so the operator carries its consequence. Every member of the pool must have its current incarnation isolated, or the pool must have no member; otherwise the command is refused and names the members still in the way.

Every Volume in the pool becomes LOST: it can still be read and deleted, and a Workspace bound to it fails to start until it is bound to another Volume or deleted. A Workspace whose writable layer was in the pool starts with a new layer and reports it reset. The removals waiting on the pool are dropped.

The pool ID never comes back into use: a node still declaring it reports it unavailable, even with the original disk. New storage takes a new pool ID.

See kibo help command-ids for --command-id.

kibo storage-pool declare-lost <pool-id> [flags]

示例:

kibo storage-pool declare-lost local-a
参数默认值说明
--command-id <key>idempotency key for this change; see kibo help command-ids
-q, --quietprint only the IDs of the resources in the result
-y, --yesdo not ask for confirmation

kibo storage-pool get

Get one storage pool with its capacity, reservation and nodes.

kibo storage-pool get <pool-id> [flags]
参数默认值说明
-q, --quietprint only the IDs of the resources in the result

kibo storage-pool list

List storage pools.

kibo storage-pool list [flags]

也可以写作 kibo storage-pool ls。

参数默认值说明
--page-size <number>maximum number of results on a page
--page-token <token>token from the Next line of the previous page
-q, --quietprint only the IDs of the resources in the result

kibo storage-pool objects

Lists the Volumes and Workspace writable layers that live in one storage pool and are not deleted: the objects kibo storage-pool get counts. An object moving out of the pool shows the pool it moves to; one moving in is listed in its source pool until the move settles.

kibo storage-pool objects <pool-id> [flags]

示例:

kibo storage-pool objects local-a --all
参数默认值说明
--allread every page, not only the first
--page-size <number>maximum number of results on a page
--page-token <token>token from the Next line of the previous page
-q, --quietprint only the IDs of the resources in the result

kibo storage-pool set-capacity

Sets the capacity placement admits new Volumes and retained layers against in one storage pool, a size such as 2T or 512GiB. It takes effect for the next placement on every node that reaches the pool, without restarting any node. Lowering it below what is already reserved keeps every existing object and only stops new ones. A pool takes no new objects until its capacity is set.

The pool carries its own version, and --command-id needs --expected-version. See kibo help command-ids.

kibo storage-pool set-capacity <pool-id> <capacity> [flags]

示例:

kibo storage-pool set-capacity shared 2T
参数默认值说明
--command-id <key>idempotency key for this change; see kibo help command-ids
--expected-version <version>storage pool version the command is submitted against; read from the server when omitted
-q, --quietprint only the IDs of the resources in the result

本页内容