ubuntu@ubuntu:/var/snap/maas/common/log$ maas <profile> block-devices read nbbgm3 Success. Machine-readable output follows: [ { "id_path": "/dev/vda", "size": 21474836480, "block_size": 512, "tags": [ "ssd" ], "partitions": [], "path": "/dev/disk/by-dname/vda", "type": "physical", "uuid": null, "partition_table_type": null, "id": 6, "available_size": 21474836480, "name": "vda", "numa_node": 0, "model": "", "filesystem": null, "storage_pool": null, "used_for": "Unused", "used_size": 0, "serial": "", "system_id": "nbbgm3", "resource_uri": "/MAAS/api/2.0/nodes/nbbgm3/blockdevices/6/" }, { "id_path": "/dev/vdb", "size": 10737418240, "block_size": 512, "tags": [ "ssd" ], "partitions": [], "path": "/dev/disk/by-dname/vdb", "type": "physical", "uuid": null, "partition_table_type": null, "id": 7, "available_size": 10737418240, "name": "vdb", "numa_node": 0, "model": "", "filesystem": null, "storage_pool": null, "used_for": "Unused", "used_size": 0, "serial": "", "system_id": "nbbgm3", "resource_uri": "/MAAS/api/2.0/nodes/nbbgm3/blockdevices/7/" }, { "id_path": "/dev/vdc", "size": 16535624704, "block_size": 512, "tags": [ "ssd" ], "partitions": [], "path": "/dev/disk/by-dname/vdc", "type": "physical", "uuid": null, "partition_table_type": null, "id": 8, "available_size": 16535624704, "name": "vdc", "numa_node": 0, "model": "", "filesystem": null, "storage_pool": null, "used_for": "Unused", "used_size": 0, "serial": "", "system_id": "nbbgm3", "resource_uri": "/MAAS/api/2.0/nodes/nbbgm3/blockdevices/8/" }, { "id_path": "/dev/vdd", "size": 11274289152, "block_size": 512, "tags": [ "ssd" ], "partitions": [], "path": "/dev/disk/by-dname/vdd", "type": "physical", "uuid": null, "partition_table_type": null, "id": 11, "available_size": 11274289152, "name": "vdd", "numa_node": 0, "model": "", "filesystem": null, "storage_pool": null, "used_for": "Unused", "used_size": 0, "serial": "", "system_id": "nbbgm3", "resource_uri": "/MAAS/api/2.0/nodes/nbbgm3/blockdevices/11/" } ]
ubuntu@ ubuntu: /var/snap/ maas/common/ log$ maas <profile> block-devices read nbbgm3
"block_ size": 512,
"partitions" : [], by-dname/ vda",
"partition_ table_type" : null,
"available_ size": 21474836480,
"numa_ node": 0,
"filesystem" : null,
"storage_ pool": null,
"used_ size": 0,
"system_ id": "nbbgm3",
"resource_ uri": "/MAAS/ api/2.0/ nodes/nbbgm3/ blockdevices/ 6/"
"block_ size": 512,
"partitions" : [], by-dname/ vdb",
"partition_ table_type" : null,
"available_ size": 10737418240,
"numa_ node": 0,
"filesystem" : null,
"storage_ pool": null,
"used_ size": 0,
"system_ id": "nbbgm3",
"resource_ uri": "/MAAS/ api/2.0/ nodes/nbbgm3/ blockdevices/ 7/"
"block_ size": 512,
"partitions" : [], by-dname/ vdc",
"partition_ table_type" : null,
"available_ size": 16535624704,
"numa_ node": 0,
"filesystem" : null,
"storage_ pool": null,
"used_ size": 0,
"system_ id": "nbbgm3",
"resource_ uri": "/MAAS/ api/2.0/ nodes/nbbgm3/ blockdevices/ 8/"
"block_ size": 512,
"partitions" : [], by-dname/ vdd",
"partition_ table_type" : null,
"available_ size": 11274289152,
"numa_ node": 0,
"filesystem" : null,
"storage_ pool": null,
"used_ size": 0,
"system_ id": "nbbgm3",
"resource_ uri": "/MAAS/ api/2.0/ nodes/nbbgm3/ blockdevices/ 11/"
Success.
Machine-readable output follows:
[
{
"id_path": "/dev/vda",
"size": 21474836480,
"tags": [
"ssd"
],
"path": "/dev/disk/
"type": "physical",
"uuid": null,
"id": 6,
"name": "vda",
"model": "",
"used_for": "Unused",
"serial": "",
},
{
"id_path": "/dev/vdb",
"size": 10737418240,
"tags": [
"ssd"
],
"path": "/dev/disk/
"type": "physical",
"uuid": null,
"id": 7,
"name": "vdb",
"model": "",
"used_for": "Unused",
"serial": "",
},
{
"id_path": "/dev/vdc",
"size": 16535624704,
"tags": [
"ssd"
],
"path": "/dev/disk/
"type": "physical",
"uuid": null,
"id": 8,
"name": "vdc",
"model": "",
"used_for": "Unused",
"serial": "",
},
{
"id_path": "/dev/vdd",
"size": 11274289152,
"tags": [
"ssd"
],
"path": "/dev/disk/
"type": "physical",
"uuid": null,
"id": 11,
"name": "vdd",
"model": "",
"used_for": "Unused",
"serial": "",
}
]