rbds
Manage RBD images in pools.
List all RBD details in all pools
Parameters{
"data": [
{
"name": "string",
"pool": "string",
"size": 0,
"hints": [
{
"message": "string",
"severity": "INFO"
}
],
"snaps": [
{
"id": 0,
"name": "string",
"protect": true
}
],
"parent": {
"pool": "string",
"image": "string",
"snapshot": "string"
},
"features": [
"LAYERING"
],
"namespace": "string",
"mirrorInfo": {
"state": "string",
"primary": true,
"globalId": "string",
"peerSites": [
"string"
],
"daemonHost": "string",
"lastUpdate": "string",
"description": "string",
"mirrorState": "disabled",
"imageMirrorMode": "disabled"
},
"withDetails": true,
"sizeFormatted": "string",
"poolMirrorMode": "disabled",
"erasureCodedPool": "string"
}
],
"after": 0,
"limit": 0,
"total": 0
}
Get RBD details (size, features, parent, data-pool) for a list of images.
Parameters{
"additionalProp1": {
"name": "string",
"pool": "string",
"size": 0,
"hints": [
{
"message": "string",
"severity": "INFO"
}
],
"snaps": [
{
"id": 0,
"name": "string",
"protect": true
}
],
"parent": {
"pool": "string",
"image": "string",
"snapshot": "string"
},
"features": [
"LAYERING"
],
"namespace": "string",
"mirrorInfo": {
"state": "string",
"primary": true,
"globalId": "string",
"peerSites": [
"string"
],
"daemonHost": "string",
"lastUpdate": "string",
"description": "string",
"mirrorState": "disabled",
"imageMirrorMode": "disabled"
},
"withDetails": true,
"sizeFormatted": "string",
"poolMirrorMode": "disabled",
"erasureCodedPool": "string"
},
"additionalProp2": {
"name": "string",
"pool": "string",
"size": 0,
"hints": [
{
"message": "string",
"severity": "INFO"
}
],
"snaps": [
{
"id": 0,
"name": "string",
"protect": true
}
],
"parent": {
"pool": "string",
"image": "string",
"snapshot": "string"
},
"features": [
"LAYERING"
],
"namespace": "string",
"mirrorInfo": {
"state": "string",
"primary": true,
"globalId": "string",
"peerSites": [
"string"
],
"daemonHost": "string",
"lastUpdate": "string",
"description": "string",
"mirrorState": "disabled",
"imageMirrorMode": "disabled"
},
"withDetails": true,
"sizeFormatted": "string",
"poolMirrorMode": "disabled",
"erasureCodedPool": "string"
},
"additionalProp3": {
"name": "string",
"pool": "string",
"size": 0,
"hints": [
{
"message": "string",
"severity": "INFO"
}
],
"snaps": [
{
"id": 0,
"name": "string",
"protect": true
}
],
"parent": {
"pool": "string",
"image": "string",
"snapshot": "string"
},
"features": [
"LAYERING"
],
"namespace": "string",
"mirrorInfo": {
"state": "string",
"primary": true,
"globalId": "string",
"peerSites": [
"string"
],
"daemonHost": "string",
"lastUpdate": "string",
"description": "string",
"mirrorState": "disabled",
"imageMirrorMode": "disabled"
},
"withDetails": true,
"sizeFormatted": "string",
"poolMirrorMode": "disabled",
"erasureCodedPool": "string"
}
}
List all RBD names in all pools
[
{
"rbd": "string",
"pool": "string",
"namespace": "string"
}
]
List all RBD pools and namespaces
[
{
"ec": true,
"pool": "string",
"hints": [
{
"message": "string",
"severity": "INFO"
}
],
"active": true,
"namespace": "string"
}
]
Returns RBD pool/namespace/image used size
Parameters{
"rbds": [
{
"name": "string",
"snapshot": "string",
"usedSize": 0,
"provisionedSize": 0
}
],
"usedSize": 0,
"provisionedSize": 0
}
List all RBDs including their details in a pool
Parameters{}
Create a new RBD
Parameters{
"name": "string",
"size": 0,
"features": [
"LAYERING"
],
"namespace": "string",
"erasureCodedPool": "string"
}
Get details of a specific RBD image (not cached)
Parameters{
"name": "string",
"pool": "string",
"size": 0,
"hints": [
{
"message": "string",
"severity": "INFO"
}
],
"snaps": [
{
"id": 0,
"name": "string",
"protect": true
}
],
"parent": {
"pool": "string",
"image": "string",
"snapshot": "string"
},
"features": [
"LAYERING"
],
"namespace": "string",
"mirrorInfo": {
"state": "string",
"primary": true,
"globalId": "string",
"peerSites": [
"string"
],
"daemonHost": "string",
"lastUpdate": "string",
"description": "string",
"mirrorState": "disabled",
"imageMirrorMode": "disabled"
},
"withDetails": true,
"sizeFormatted": "string",
"poolMirrorMode": "disabled",
"erasureCodedPool": "string"
}
Change properties of an existing RBD image.
Parameters{
"name": "string",
"size": 0,
"features": [
"LAYERING"
]
}
Delete an existing RBD image
Parameters{
"rbd": "string",
"pool": "string",
"namespace": "string",
"thisWillDeleteData": "string"
}
{
"id": 0,
"done": true,
"name": "string",
"state": "WAITING",
"object": "string",
"output": "string",
"result": {},
"progress": {
"total": 0,
"complete": 0
},
"startedAt": 0,
"startedBy": "string",
"statusCode": 0
}
Force update the cache for RBD images for a pool and optional namespace.
ParametersList all existing RBD namespaces
Parameters[
{
"name": "string"
}
]
Force update the cache for RBD images for pool including all namespaces.
ParametersFlatten a clone, making it independent of its parent. Flattening happens in the background and may take hours to complete.
Parameters{
"id": 0,
"done": true,
"name": "string",
"state": "WAITING",
"object": "string",
"output": "string",
"result": {},
"progress": {
"total": 0,
"complete": 0
},
"startedAt": 0,
"startedBy": "string",
"statusCode": 0
}
Force update the cache for RBD images for a single RBD image.
ParametersCreate a new RBD namespace
ParametersDelete a RBD namespace
ParametersCreate a new snapshot of an image.
ParametersUpdate an existing snapshot of an image.
Parameters{
"name": "string",
"protect": true
}
Delete a snapshot of an image.
ParametersCreate a clone of a snapshot on an existing image.
Parameters{
"name": "string",
"pool": "string",
"namespace": "string"
}