Comment 9 for bug 1947013

Revision history for this message
Heather Lemon (hypothetical-lemon) wrote :

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/"
    }
]