Last active
March 22, 2022 12:50
-
-
Save mittachaitu/aa31ffcd9ca6d19204553d5b5199ab88 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"volume": { | |
"spec": { | |
"num_replicas": 2, | |
"size": 10485761, | |
"status": "Created", | |
"target": { | |
"node": "mayastor-1", | |
"protocol": "nvmf" | |
}, | |
"uuid": "ec4e66fd-3b33-4439-b504-d49aba53da26", | |
"policy": { | |
"self_heal": true | |
} | |
}, | |
"state": { | |
"target": { | |
"children": [ | |
{ | |
"state": "Online", | |
"uri": "bdev:///b85421b8-e698-4c9f-96dd-1a670e19f097?uuid=b85421b8-e698-4c9f-96dd-1a670e19f097" | |
}, | |
{ | |
"state": "Online", | |
"uri": "nvmf://10.1.0.7:8420/nqn.2019-05.io.openebs:fad7932e-cf60-490c-bc4d-2e7589f241cb?uuid=fad7932e-cf60-490c-bc4d-2e7589f241cb" | |
} | |
], | |
"deviceUri": "nvmf://10.1.0.6:8420/nqn.2019-05.io.openebs:ec4e66fd-3b33-4439-b504-d49aba53da26", | |
"node": "mayastor-1", | |
"rebuilds": 0, | |
"protocol": "nvmf", | |
"size": 10485761, | |
"state": "Online", | |
"uuid": "0626b00e-563c-404e-9cac-b5004b4b85d5" | |
}, | |
"size": 10485761, | |
"status": "Online", | |
"uuid": "ec4e66fd-3b33-4439-b504-d49aba53da26", | |
"replica_topology": { | |
"fad7932e-cf60-490c-bc4d-2e7589f241cb": { | |
"node": "mayastor-2", | |
"pool": "pool-2", | |
"state": "Online" | |
}, | |
"b85421b8-e698-4c9f-96dd-1a670e19f097": { | |
"node": "mayastor-1", | |
"pool": "pool-1", | |
"state": "Online" | |
} | |
} | |
} | |
}, | |
"target": { | |
"children": [ | |
{ | |
"state": "Online", | |
"uri": "bdev:///b85421b8-e698-4c9f-96dd-1a670e19f097?uuid=b85421b8-e698-4c9f-96dd-1a670e19f097" | |
}, | |
{ | |
"state": "Online", | |
"uri": "nvmf://10.1.0.7:8420/nqn.2019-05.io.openebs:fad7932e-cf60-490c-bc4d-2e7589f241cb?uuid=fad7932e-cf60-490c-bc4d-2e7589f241cb" | |
} | |
], | |
"deviceUri": "nvmf://10.1.0.6:8420/nqn.2019-05.io.openebs:ec4e66fd-3b33-4439-b504-d49aba53da26", | |
"node": "mayastor-1", | |
"rebuilds": 0, | |
"protocol": "nvmf", | |
"size": 10485761, | |
"state": "Online", | |
"uuid": "0626b00e-563c-404e-9cac-b5004b4b85d5" | |
}, | |
"replicas_topology": [ | |
{ | |
"replica": { | |
"node": "mayastor-2", | |
"pool": "pool-2", | |
"share": "nvmf", | |
"size": 12582912, | |
"state": "Online", | |
"thin": false, | |
"uri": "nvmf://10.1.0.7:8420/nqn.2019-05.io.openebs:fad7932e-cf60-490c-bc4d-2e7589f241cb?uuid=fad7932e-cf60-490c-bc4d-2e7589f241cb", | |
"uuid": "fad7932e-cf60-490c-bc4d-2e7589f241cb" | |
}, | |
"pool_topology": { | |
"pool": { | |
"id": "pool-2", | |
"spec": { | |
"disks": [ | |
"/dev/loop24" | |
], | |
"id": "pool-2", | |
"node": "mayastor-2", | |
"status": "Created" | |
}, | |
"state": { | |
"capacity": 5360320512, | |
"disks": [ | |
"aio:///dev/loop24?uuid=de0b8701-cff0-4fc7-8b21-8ac283e1b703" | |
], | |
"id": "pool-2", | |
"node": "mayastor-2", | |
"status": "Online", | |
"used": 12582912 | |
} | |
}, | |
"node_info": { | |
"id": "mayastor-2", | |
"spec": { | |
"grpcEndpoint": "10.1.0.7:10124", | |
"id": "mayastor-2" | |
}, | |
"state": { | |
"grpcEndpoint": "10.1.0.7:10124", | |
"id": "mayastor-2", | |
"status": "Online" | |
} | |
}, | |
"device_info": [ | |
{ | |
"available": true, | |
"devlinks": [], | |
"devmajor": 7, | |
"devminor": 24, | |
"devname": "/dev/loop24", | |
"devpath": "/devices/virtual/block/loop24", | |
"devtype": "disk", | |
"filesystem": { | |
"fstype": "", | |
"label": "", | |
"mountpoint": "", | |
"uuid": "" | |
}, | |
"model": "", | |
"partition": { | |
"name": "", | |
"number": 0, | |
"parent": "", | |
"scheme": "", | |
"typeid": "", | |
"uuid": "" | |
}, | |
"size": 10485760 | |
} | |
] | |
} | |
}, | |
{ | |
"replica": { | |
"node": "mayastor-1", | |
"pool": "pool-1", | |
"share": "none", | |
"size": 12582912, | |
"state": "Online", | |
"thin": false, | |
"uri": "bdev:///b85421b8-e698-4c9f-96dd-1a670e19f097?uuid=b85421b8-e698-4c9f-96dd-1a670e19f097", | |
"uuid": "b85421b8-e698-4c9f-96dd-1a670e19f097" | |
}, | |
"pool_topology": { | |
"pool": { | |
"id": "pool-1", | |
"spec": { | |
"disks": [ | |
"/dev/loop23" | |
], | |
"id": "pool-1", | |
"node": "mayastor-1", | |
"status": "Created" | |
}, | |
"state": { | |
"capacity": 5360320512, | |
"disks": [ | |
"aio:///dev/loop23?uuid=e438c857-4a9a-4520-a33d-63cabc954341" | |
], | |
"id": "pool-1", | |
"node": "mayastor-1", | |
"status": "Online", | |
"used": 25165824 | |
} | |
}, | |
"node_info": { | |
"id": "mayastor-1", | |
"spec": { | |
"grpcEndpoint": "10.1.0.6:10124", | |
"id": "mayastor-1" | |
}, | |
"state": { | |
"grpcEndpoint": "10.1.0.6:10124", | |
"id": "mayastor-1", | |
"status": "Online" | |
} | |
}, | |
"device_info": [ | |
{ | |
"available": true, | |
"devlinks": [], | |
"devmajor": 7, | |
"devminor": 23, | |
"devname": "/dev/loop23", | |
"devpath": "/devices/virtual/block/loop23", | |
"devtype": "disk", | |
"filesystem": { | |
"fstype": "", | |
"label": "", | |
"mountpoint": "", | |
"uuid": "" | |
}, | |
"model": "", | |
"partition": { | |
"name": "", | |
"number": 0, | |
"parent": "", | |
"scheme": "", | |
"typeid": "", | |
"uuid": "" | |
}, | |
"size": 10485760 | |
} | |
] | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment