From 3a55a14cc1d35ca491c2203d94ba3bbef7948d53 Mon Sep 17 00:00:00 2001 From: Olivier Gayot Date: Wed, 13 Dec 2023 17:55:41 +0100 Subject: [PATCH 1/2] examples: add machine-config for NVMe-over-TCP Signed-off-by: Olivier Gayot --- examples/machines/nvme-over-tcp.json | 1142 ++++++++++++++++++++++++++ 1 file changed, 1142 insertions(+) create mode 100644 examples/machines/nvme-over-tcp.json diff --git a/examples/machines/nvme-over-tcp.json b/examples/machines/nvme-over-tcp.json new file mode 100644 index 000000000..3517554cb --- /dev/null +++ b/examples/machines/nvme-over-tcp.json @@ -0,0 +1,1142 @@ +{ + "network": { + "links": [ + { + "addresses": [ + { + "address": "192.168.122.51/24", + "family": 2, + "scope": "global", + "source": "dhcp" + }, + { + "address": "fe80::5054:ff:fee7:e719/64", + "family": 10, + "scope": "link", + "source": "static" + } + ], + "bond": { + "is_master": false, + "is_slave": false, + "lacp_rate": null, + "master": null, + "mode": null, + "slaves": [], + "xmit_hash_policy": null + }, + "bridge": { + "interfaces": [], + "is_bridge": false, + "is_port": false, + "options": {} + }, + "netlink_data": { + "arptype": 1, + "family": 0, + "flags": 69699, + "ifindex": 2, + "is_vlan": false, + "name": "ens3" + }, + "type": "eth", + "udev_data": { + "DEVPATH": "/devices/pci0000:00/0000:00:03.0/net/ens3", + "ID_BUS": "pci", + "ID_MM_CANDIDATE": "1", + "ID_MODEL_FROM_DATABASE": "RTL-8100/8101L/8139 PCI Fast Ethernet Adapter (QEMU Virtual Machine)", + "ID_MODEL_ID": "0x8139", + "ID_NET_NAME_MAC": "enx525400e7e719", + "ID_NET_NAME_PATH": "enp0s3", + "ID_NET_NAME_SLOT": "ens3", + "ID_NET_NAMING_SCHEME": "v240", + "ID_PATH": "pci-0000:00:03.0", + "ID_PATH_TAG": "pci-0000_00_03_0", + "ID_PCI_CLASS_FROM_DATABASE": "Network controller", + "ID_PCI_SUBCLASS_FROM_DATABASE": "Ethernet controller", + "ID_VENDOR_FROM_DATABASE": "Realtek Semiconductor Co., Ltd.", + "ID_VENDOR_ID": "0x10ec", + "IFINDEX": "2", + "INTERFACE": "ens3", + "SUBSYSTEM": "net", + "SYSTEMD_ALIAS": "/sys/subsystem/net/devices/ens3", + "TAGS": ":systemd:", + "USEC_INITIALIZED": "944969", + "attrs": { + "addr_assign_type": "0", + "addr_len": "6", + "address": "52:54:00:e7:e7:19", + "broadcast": "ff:ff:ff:ff:ff:ff", + "carrier": "1", + "carrier_changes": "2", + "carrier_down_count": "1", + "carrier_up_count": "1", + "dev_id": "0x0", + "dev_port": "0", + "device": null, + "dormant": "0", + "duplex": "full", + "flags": "0x1003", + "gro_flush_timeout": "0", + "ifalias": "", + "ifindex": "2", + "iflink": "2", + "link_mode": "0", + "mtu": "1500", + "name_assign_type": "4", + "netdev_group": "0", + "operstate": "up", + "phys_port_id": null, + "phys_port_name": null, + "phys_switch_id": null, + "proto_down": "0", + "speed": "100", + "subsystem": "net", + "tx_queue_len": "1000", + "type": "1", + "uevent": "INTERFACE=ens3\nIFINDEX=2" + } + } + }, + { + "addresses": [ + { + "address": "127.0.0.1/8", + "family": 2, + "scope": "host", + "source": "static" + }, + { + "address": "::1/128", + "family": 10, + "scope": "host", + "source": "static" + } + ], + "bond": { + "is_master": false, + "is_slave": false, + "lacp_rate": null, + "master": null, + "mode": null, + "slaves": [], + "xmit_hash_policy": null + }, + "bridge": { + "interfaces": [], + "is_bridge": false, + "is_port": false, + "options": {} + }, + "netlink_data": { + "arptype": 772, + "family": 0, + "flags": 65609, + "ifindex": 1, + "is_vlan": false, + "name": "lo" + }, + "type": "lo", + "udev_data": { + "DEVPATH": "/devices/virtual/net/lo", + "ID_MM_CANDIDATE": "1", + "IFINDEX": "1", + "INTERFACE": "lo", + "SUBSYSTEM": "net", + "USEC_INITIALIZED": "849207", + "attrs": { + "addr_assign_type": "0", + "addr_len": "6", + "address": "00:00:00:00:00:00", + "broadcast": "00:00:00:00:00:00", + "carrier": "1", + "carrier_changes": "0", + "carrier_down_count": "0", + "carrier_up_count": "0", + "dev_id": "0x0", + "dev_port": "0", + "dormant": "0", + "duplex": null, + "flags": "0x9", + "gro_flush_timeout": "0", + "ifalias": "", + "ifindex": "1", + "iflink": "1", + "link_mode": "0", + "mtu": "65536", + "name_assign_type": null, + "netdev_group": "0", + "operstate": "unknown", + "phys_port_id": null, + "phys_port_name": null, + "phys_switch_id": null, + "proto_down": "0", + "speed": null, + "subsystem": "net", + "tx_queue_len": "1000", + "type": "772", + "uevent": "INTERFACE=lo\nIFINDEX=1" + } + } + } + ], + "routes": [ + { + "dst": "default", + "family": 2, + "ifindex": 2, + "table": 254, + "type": 1 + }, + { + "dst": "162.213.33.7", + "family": 2, + "ifindex": 2, + "table": 254, + "type": 1 + }, + { + "dst": "192.168.122.0/24", + "family": 2, + "ifindex": 2, + "table": 254, + "type": 1 + }, + { + "dst": "192.168.122.1", + "family": 2, + "ifindex": 2, + "table": 254, + "type": 1 + }, + { + "dst": "127.0.0.0", + "family": 2, + "ifindex": 1, + "table": 255, + "type": 3 + }, + { + "dst": "127.0.0.0/8", + "family": 2, + "ifindex": 1, + "table": 255, + "type": 2 + }, + { + "dst": "127.0.0.1", + "family": 2, + "ifindex": 1, + "table": 255, + "type": 2 + }, + { + "dst": "127.255.255.255", + "family": 2, + "ifindex": 1, + "table": 255, + "type": 3 + }, + { + "dst": "192.168.122.0", + "family": 2, + "ifindex": 2, + "table": 255, + "type": 3 + }, + { + "dst": "192.168.122.51", + "family": 2, + "ifindex": 2, + "table": 255, + "type": 2 + }, + { + "dst": "192.168.122.255", + "family": 2, + "ifindex": 2, + "table": 255, + "type": 3 + }, + { + "dst": "::1", + "family": 10, + "ifindex": 1, + "table": 254, + "type": 1 + }, + { + "dst": "fe80::/64", + "family": 10, + "ifindex": 2, + "table": 254, + "type": 1 + }, + { + "dst": "::1", + "family": 10, + "ifindex": 1, + "table": 255, + "type": 2 + }, + { + "dst": "fe80::5054:ff:fee7:e719", + "family": 10, + "ifindex": 2, + "table": 255, + "type": 2 + }, + { + "dst": "ff00::/8", + "family": 10, + "ifindex": 2, + "table": 255, + "type": 1 + } + ] + }, + "storage": { + "filesystem": { + "/dev/sda1": { + "BLOCKSIZE": "4096", + "LABEL": "cloudimg-rootfs", + "LABEL_ENC": "cloudimg-rootfs", + "LASTBLOCK": "2359035", + "SIZE": 9662607360, + "TYPE": "ext4", + "USAGE": "filesystem", + "UUID": "fc270810-beba-4cec-a2a4-7a9a7f104ec7", + "UUID_ENC": "fc270810-beba-4cec-a2a4-7a9a7f104ec7", + "VERSION": "1.0", + "ESTIMATED_MIN_SIZE": 4539174912 + }, + "/dev/sda15": { + "BLOCKSIZE": "512", + "LABEL": "UEFI", + "LABEL_ENC": "UEFI", + "SIZE": "111121920", + "TYPE": "vfat", + "USAGE": "filesystem", + "UUID": "5D71-5BC8", + "UUID_ENC": "5D71-5BC8", + "VERSION": "FAT32", + "ESTIMATED_MIN_SIZE": -1 + }, + "/dev/sda16": { + "BLOCKSIZE": "4096", + "LABEL": "BOOT", + "LABEL_ENC": "BOOT", + "LASTBLOCK": "233728", + "SIZE": 957349888, + "TYPE": "ext4", + "USAGE": "filesystem", + "UUID": "7a851d99-a94b-428c-a904-1508adc55caa", + "UUID_ENC": "7a851d99-a94b-428c-a904-1508adc55caa", + "VERSION": "1.0", + "ESTIMATED_MIN_SIZE": 269090816 + }, + "/dev/nvme1n1p1": { + "BLOCKSIZE": "4096", + "LASTBLOCK": "1310208", + "SIZE": 5366611968, + "TYPE": "ext4", + "USAGE": "filesystem", + "UUID": "216e5c19-244c-4154-aaee-33f05a00359c", + "UUID_ENC": "216e5c19-244c-4154-aaee-33f05a00359c", + "VERSION": "1.0", + "ESTIMATED_MIN_SIZE": 116772864 + } + }, + "nvme": { + "nvme0": { + "DEVNAME": "/dev/nvme0", + "DEVPATH": "/devices/virtual/nvme-fabrics/ctl/nvme0", + "MAJOR": "240", + "MINOR": "0", + "NVME_HOST_IFACE": "none", + "NVME_HOST_TRADDR": "none", + "NVME_TRADDR": "172.16.82.77", + "NVME_TRSVCID": "4420", + "NVME_TRTYPE": "tcp", + "SUBSYSTEM": "nvme", + "attrs": { + "address": "traddr=172.16.82.77,trsvcid=4420,src_addr=172.16.82.98", + "cntlid": "1", + "cntrltype": "discovery", + "ctrl_loss_tmo": "600", + "dctype": "none", + "delete_controller": null, + "dev": "240:0", + "device": null, + "dhchap_ctrl_secret": "none", + "dhchap_secret": "none", + "fast_io_fail_tmo": "off", + "firmware_rev": "6.5.0-13", + "hostid": "72b2292f-e5e5-46d2-8da2-9e95bb8c1c79", + "hostnqn": "nqn.2014-08.org.nvmexpress:uuid:50147401-bb7e-4155-961f-46e578326273", + "kato": "30", + "model": "Linux ", + "numa_node": "-1", + "power/async": "disabled", + "power/autosuspend_delay_ms": null, + "power/control": "auto", + "power/runtime_active_kids": "0", + "power/runtime_active_time": "0", + "power/runtime_enabled": "disabled", + "power/runtime_status": "unsupported", + "power/runtime_suspended_time": "0", + "power/runtime_usage": "0", + "queue_count": "1", + "reconnect_delay": "10", + "rescan_controller": null, + "reset_controller": null, + "serial": "450c70517374a9579074", + "sqsize": "127", + "state": "live", + "subsysnqn": "nqn.2014-08.org.nvmexpress.discovery", + "subsystem": "nvme", + "transport": "tcp", + "uevent": "MAJOR=240\nMINOR=0\nDEVNAME=nvme0\nNVME_TRTYPE=tcp\nNVME_TRADDR=172.16.82.77\nNVME_TRSVCID=4420\nNVME_HOST_TRADDR=none\nNVME_HOST_IFACE=none" + } + }, + "nvme1": { + "DEVNAME": "/dev/nvme1", + "DEVPATH": "/devices/virtual/nvme-fabrics/ctl/nvme1", + "MAJOR": "240", + "MINOR": "1", + "NVME_HOST_IFACE": "none", + "NVME_HOST_TRADDR": "none", + "NVME_TRADDR": "172.16.82.77", + "NVME_TRSVCID": "4420", + "NVME_TRTYPE": "tcp", + "SUBSYSTEM": "nvme", + "attrs": { + "address": "traddr=172.16.82.77,trsvcid=4420,src_addr=172.16.82.98", + "cntlid": "2", + "cntrltype": "io", + "ctrl_loss_tmo": "600", + "dctype": "none", + "delete_controller": null, + "dev": "240:1", + "device": null, + "dhchap_ctrl_secret": "none", + "dhchap_secret": "none", + "fast_io_fail_tmo": "off", + "firmware_rev": "6.5.0-13", + "hostid": "72b2292f-e5e5-46d2-8da2-9e95bb8c1c79", + "hostnqn": "nqn.2014-08.org.nvmexpress:uuid:50147401-bb7e-4155-961f-46e578326273", + "kato": "5", + "model": "Linux ", + "numa_node": "-1", + "power/async": "disabled", + "power/autosuspend_delay_ms": null, + "power/control": "auto", + "power/runtime_active_kids": "0", + "power/runtime_active_time": "0", + "power/runtime_enabled": "disabled", + "power/runtime_status": "unsupported", + "power/runtime_suspended_time": "0", + "power/runtime_usage": "0", + "queue_count": "2", + "reconnect_delay": "10", + "rescan_controller": null, + "reset_controller": null, + "serial": "075df738a27c4edadbe3", + "sqsize": "127", + "state": "live", + "subsysnqn": "nvme-test-target", + "subsystem": "nvme", + "transport": "tcp", + "uevent": "MAJOR=240\nMINOR=1\nDEVNAME=nvme1\nNVME_TRTYPE=tcp\nNVME_TRADDR=172.16.82.77\nNVME_TRSVCID=4420\nNVME_HOST_TRADDR=none\nNVME_HOST_IFACE=none" + } + } + }, + "blockdev": { + "/dev/sda": { + "CURRENT_TAGS": ":systemd:", + "DEVLINKS": "/dev/disk/by-path/pci-0000:02:00.0-scsi-0:0:0:1 /dev/disk/by-diskseq/9 /dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_lxd_root", + "DEVNAME": "/dev/sda", + "DEVPATH": "/devices/pci0000:00/0000:00:01.1/0000:02:00.0/virtio6/host0/target0:0:0/0:0:0:1/block/sda", + "DEVTYPE": "disk", + "DISKSEQ": "9", + "DM_MULTIPATH_DEVICE_PATH": "0", + "ID_BUS": "scsi", + "ID_MODEL": "QEMU_HARDDISK", + "ID_MODEL_ENC": "QEMU\\x20HARDDISK\\x20\\x20\\x20", + "ID_PART_TABLE_TYPE": "gpt", + "ID_PART_TABLE_UUID": "015e8976-5a2f-4623-9dbb-9702509dd540", + "ID_PATH": "pci-0000:02:00.0-scsi-0:0:0:1", + "ID_PATH_TAG": "pci-0000_02_00_0-scsi-0_0_0_1", + "ID_REVISION": "2.5+", + "ID_SCSI": "1", + "ID_SCSI_INQUIRY": "1", + "ID_SERIAL": "0QEMU_QEMU_HARDDISK_lxd_root", + "ID_SERIAL_SHORT": "lxd_root", + "ID_TYPE": "disk", + "ID_VENDOR": "QEMU", + "ID_VENDOR_ENC": "QEMU\\x20\\x20\\x20\\x20", + "MAJOR": "8", + "MINOR": "0", + "MPATH_SBIN_PATH": "/sbin", + "SCSI_IDENT_LUN_VENDOR": "lxd_root", + "SCSI_MODEL": "QEMU_HARDDISK", + "SCSI_MODEL_ENC": "QEMU\\x20HARDDISK\\x20\\x20\\x20", + "SCSI_REVISION": "2.5+", + "SCSI_TPGS": "0", + "SCSI_TYPE": "disk", + "SCSI_VENDOR": "QEMU", + "SCSI_VENDOR_ENC": "QEMU\\x20\\x20\\x20\\x20", + "SUBSYSTEM": "block", + "TAGS": ":systemd:", + "USEC_INITIALIZED": "1726675", + "attrs": { + "alignment_offset": "0", + "bdi": null, + "capability": "0", + "dev": "8:0", + "device": null, + "discard_alignment": "0", + "diskseq": "9", + "events": "", + "events_async": "", + "events_poll_msecs": "-1", + "ext_range": "256", + "hidden": "0", + "inflight": " 0 0", + "integrity/device_is_integrity_capable": "0", + "integrity/format": "none", + "integrity/protection_interval_bytes": "0", + "integrity/read_verify": "0", + "integrity/tag_size": "0", + "integrity/write_generate": "0", + "mq/0/cpu_list": "0", + "mq/0/nr_reserved_tags": "0", + "mq/0/nr_tags": "256", + "power/async": "disabled", + "power/autosuspend_delay_ms": null, + "power/control": "auto", + "power/runtime_active_kids": "0", + "power/runtime_active_time": "0", + "power/runtime_enabled": "disabled", + "power/runtime_status": "unsupported", + "power/runtime_suspended_time": "0", + "power/runtime_usage": "0", + "queue/add_random": "1", + "queue/chunk_sectors": "0", + "queue/dax": "0", + "queue/discard_granularity": "4096", + "queue/discard_max_bytes": "1073741824", + "queue/discard_max_hw_bytes": "1073741824", + "queue/discard_zeroes_data": "0", + "queue/dma_alignment": "3", + "queue/fua": "0", + "queue/hw_sector_size": "512", + "queue/io_poll": "0", + "queue/io_poll_delay": "-1", + "queue/io_timeout": "30000", + "queue/iosched/async_depth": "48", + "queue/iosched/fifo_batch": "16", + "queue/iosched/front_merges": "1", + "queue/iosched/prio_aging_expire": "10000", + "queue/iosched/read_expire": "500", + "queue/iosched/write_expire": "5000", + "queue/iosched/writes_starved": "2", + "queue/iostats": "1", + "queue/logical_block_size": "512", + "queue/max_discard_segments": "1", + "queue/max_hw_sectors_kb": "32767", + "queue/max_integrity_segments": "0", + "queue/max_sectors_kb": "1280", + "queue/max_segment_size": "65536", + "queue/max_segments": "254", + "queue/minimum_io_size": "512", + "queue/nomerges": "0", + "queue/nr_requests": "256", + "queue/nr_zones": "0", + "queue/optimal_io_size": "0", + "queue/physical_block_size": "512", + "queue/read_ahead_kb": "128", + "queue/rotational": "1", + "queue/rq_affinity": "1", + "queue/scheduler": "none [mq-deadline] ", + "queue/stable_writes": "0", + "queue/virt_boundary_mask": "0", + "queue/wbt_lat_usec": "75000", + "queue/write_cache": "write back", + "queue/write_same_max_bytes": "0", + "queue/write_zeroes_max_bytes": "2147483136", + "queue/zone_append_max_bytes": "0", + "queue/zone_write_granularity": "0", + "queue/zoned": "none", + "range": "16", + "removable": "0", + "ro": "0", + "size": "10737418240", + "stat": " 20215 9125 1656065 12483 11055 8435 1397942 36968 0 59796 75674 3639 1 14265564 1444 3355 24778", + "subsystem": "block", + "trace/act_mask": "disabled", + "trace/enable": "0", + "trace/end_lba": "disabled", + "trace/pid": "disabled", + "trace/start_lba": "disabled", + "uevent": "MAJOR=8\nMINOR=0\nDEVNAME=sda\nDEVTYPE=disk\nDISKSEQ=9" + }, + "partitiontable": { + "label": "gpt", + "id": "015E8976-5A2F-4623-9DBB-9702509DD540", + "device": "/dev/sda", + "unit": "sectors", + "firstlba": 34, + "lastlba": 20971486, + "sectorsize": 512, + "partitions": [ + { + "node": "/dev/sda1", + "start": 2099200, + "size": 18872287, + "type": "0FC63DAF-8483-4772-8E79-3D69D8477DE4", + "uuid": "A4BEE375-8EA2-47B8-8A36-9CB34EF6A7E1" + }, + { + "node": "/dev/sda14", + "start": 2048, + "size": 8192, + "type": "21686148-6449-6E6F-744E-656564454649", + "uuid": "47281A13-D050-492A-8C88-1104E60F174F" + }, + { + "node": "/dev/sda15", + "start": 10240, + "size": 217088, + "type": "C12A7328-F81F-11D2-BA4B-00A0C93EC93B", + "uuid": "8D4D1651-D658-43F1-B64E-7F90E85BFD3D" + }, + { + "node": "/dev/sda16", + "start": 227328, + "size": 1869825, + "type": "BC13C2FF-59E6-4262-A352-B275FD6F7172", + "uuid": "BF35BDC1-2E92-4BB7-ACE8-325AC9B428EB" + } + ] + } + }, + "/dev/sda1": { + "CURRENT_TAGS": ":systemd:", + "DEVLINKS": "/dev/disk/by-uuid/fc270810-beba-4cec-a2a4-7a9a7f104ec7 /dev/disk/by-partuuid/a4bee375-8ea2-47b8-8a36-9cb34ef6a7e1 /dev/disk/by-label/cloudimg-rootfs /dev/disk/by-path/pci-0000:02:00.0-scsi-0:0:0:1-part1 /dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_lxd_root-part1 /dev/disk/by-diskseq/9-part1", + "DEVNAME": "/dev/sda1", + "DEVPATH": "/devices/pci0000:00/0000:00:01.1/0000:02:00.0/virtio6/host0/target0:0:0/0:0:0:1/block/sda/sda1", + "DEVTYPE": "partition", + "DISKSEQ": "9", + "DM_MULTIPATH_DEVICE_PATH": "0", + "ID_BUS": "scsi", + "ID_FS_BLOCKSIZE": "4096", + "ID_FS_LABEL": "cloudimg-rootfs", + "ID_FS_LABEL_ENC": "cloudimg-rootfs", + "ID_FS_LASTBLOCK": "2359035", + "ID_FS_SIZE": "9662607360", + "ID_FS_TYPE": "ext4", + "ID_FS_USAGE": "filesystem", + "ID_FS_UUID": "fc270810-beba-4cec-a2a4-7a9a7f104ec7", + "ID_FS_UUID_ENC": "fc270810-beba-4cec-a2a4-7a9a7f104ec7", + "ID_FS_VERSION": "1.0", + "ID_MODEL": "QEMU_HARDDISK", + "ID_MODEL_ENC": "QEMU\\x20HARDDISK\\x20\\x20\\x20", + "ID_PART_ENTRY_DISK": "8:0", + "ID_PART_ENTRY_NUMBER": "1", + "ID_PART_ENTRY_OFFSET": "2099200", + "ID_PART_ENTRY_SCHEME": "gpt", + "ID_PART_ENTRY_SIZE": "18872287", + "ID_PART_ENTRY_TYPE": "0fc63daf-8483-4772-8e79-3d69d8477de4", + "ID_PART_ENTRY_UUID": "a4bee375-8ea2-47b8-8a36-9cb34ef6a7e1", + "ID_PART_TABLE_TYPE": "gpt", + "ID_PART_TABLE_UUID": "015e8976-5a2f-4623-9dbb-9702509dd540", + "ID_PATH": "pci-0000:02:00.0-scsi-0:0:0:1", + "ID_PATH_TAG": "pci-0000_02_00_0-scsi-0_0_0_1", + "ID_REVISION": "2.5+", + "ID_SCSI": "1", + "ID_SCSI_INQUIRY": "1", + "ID_SERIAL": "0QEMU_QEMU_HARDDISK_lxd_root", + "ID_SERIAL_SHORT": "lxd_root", + "ID_TYPE": "disk", + "ID_VENDOR": "QEMU", + "ID_VENDOR_ENC": "QEMU\\x20\\x20\\x20\\x20", + "MAJOR": "8", + "MINOR": "1", + "NVME_HOST_IFACE": "none", + "PARTN": "1", + "SCSI_IDENT_LUN_VENDOR": "lxd_root", + "SCSI_MODEL": "QEMU_HARDDISK", + "SCSI_MODEL_ENC": "QEMU\\x20HARDDISK\\x20\\x20\\x20", + "SCSI_REVISION": "2.5+", + "SCSI_TPGS": "0", + "SCSI_TYPE": "disk", + "SCSI_VENDOR": "QEMU", + "SCSI_VENDOR_ENC": "QEMU\\x20\\x20\\x20\\x20", + "SUBSYSTEM": "block", + "TAGS": ":systemd:", + "USEC_INITIALIZED": "1784864", + "attrs": { + "alignment_offset": "0", + "dev": "8:1", + "discard_alignment": "0", + "inflight": " 0 0", + "partition": "1", + "power/async": "disabled", + "power/autosuspend_delay_ms": null, + "power/control": "auto", + "power/runtime_active_kids": "0", + "power/runtime_active_time": "0", + "power/runtime_enabled": "disabled", + "power/runtime_status": "unsupported", + "power/runtime_suspended_time": "0", + "power/runtime_usage": "0", + "ro": "0", + "size": "9662610944", + "start": "2099200", + "stat": " 19395 5740 1610811 12209 11018 8407 1397602 36915 0 59508 50499 3608 0 12716824 1374 0 0", + "subsystem": "block", + "trace/act_mask": "disabled", + "trace/enable": "0", + "trace/end_lba": "disabled", + "trace/pid": "disabled", + "trace/start_lba": "disabled", + "uevent": "MAJOR=8\nMINOR=1\nDEVNAME=sda1\nDEVTYPE=partition\nDISKSEQ=9\nPARTN=1" + } + }, + "/dev/sda14": { + "CURRENT_TAGS": ":systemd:", + "DEVLINKS": "/dev/disk/by-diskseq/9-part14 /dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_lxd_root-part14 /dev/disk/by-partuuid/47281a13-d050-492a-8c88-1104e60f174f /dev/disk/by-path/pci-0000:02:00.0-scsi-0:0:0:1-part14", + "DEVNAME": "/dev/sda14", + "DEVPATH": "/devices/pci0000:00/0000:00:01.1/0000:02:00.0/virtio6/host0/target0:0:0/0:0:0:1/block/sda/sda14", + "DEVTYPE": "partition", + "DISKSEQ": "9", + "DM_MULTIPATH_DEVICE_PATH": "0", + "ID_BUS": "scsi", + "ID_MODEL": "QEMU_HARDDISK", + "ID_MODEL_ENC": "QEMU\\x20HARDDISK\\x20\\x20\\x20", + "ID_PART_ENTRY_DISK": "8:0", + "ID_PART_ENTRY_NUMBER": "14", + "ID_PART_ENTRY_OFFSET": "2048", + "ID_PART_ENTRY_SCHEME": "gpt", + "ID_PART_ENTRY_SIZE": "8192", + "ID_PART_ENTRY_TYPE": "21686148-6449-6e6f-744e-656564454649", + "ID_PART_ENTRY_UUID": "47281a13-d050-492a-8c88-1104e60f174f", + "ID_PART_TABLE_TYPE": "gpt", + "ID_PART_TABLE_UUID": "015e8976-5a2f-4623-9dbb-9702509dd540", + "ID_PATH": "pci-0000:02:00.0-scsi-0:0:0:1", + "ID_PATH_TAG": "pci-0000_02_00_0-scsi-0_0_0_1", + "ID_REVISION": "2.5+", + "ID_SCSI": "1", + "ID_SCSI_INQUIRY": "1", + "ID_SERIAL": "0QEMU_QEMU_HARDDISK_lxd_root", + "ID_SERIAL_SHORT": "lxd_root", + "ID_TYPE": "disk", + "ID_VENDOR": "QEMU", + "ID_VENDOR_ENC": "QEMU\\x20\\x20\\x20\\x20", + "MAJOR": "8", + "MINOR": "14", + "PARTN": "14", + "SCSI_IDENT_LUN_VENDOR": "lxd_root", + "SCSI_MODEL": "QEMU_HARDDISK", + "SCSI_MODEL_ENC": "QEMU\\x20HARDDISK\\x20\\x20\\x20", + "SCSI_REVISION": "2.5+", + "SCSI_TPGS": "0", + "SCSI_TYPE": "disk", + "SCSI_VENDOR": "QEMU", + "SCSI_VENDOR_ENC": "QEMU\\x20\\x20\\x20\\x20", + "SUBSYSTEM": "block", + "TAGS": ":systemd:", + "UDISKS_IGNORE": "1", + "USEC_INITIALIZED": "1793984", + "attrs": { + "alignment_offset": "0", + "dev": "8:14", + "discard_alignment": "0", + "inflight": " 0 0", + "partition": "14", + "power/async": "disabled", + "power/autosuspend_delay_ms": null, + "power/control": "auto", + "power/runtime_active_kids": "0", + "power/runtime_active_time": "0", + "power/runtime_enabled": "disabled", + "power/runtime_status": "unsupported", + "power/runtime_suspended_time": "0", + "power/runtime_usage": "0", + "ro": "0", + "size": "4194304", + "start": "2048", + "stat": " 163 0 1552 51 0 0 0 0 0 148 51 0 0 0 0 0 0", + "subsystem": "block", + "trace/act_mask": "disabled", + "trace/enable": "0", + "trace/end_lba": "disabled", + "trace/pid": "disabled", + "trace/start_lba": "disabled", + "uevent": "MAJOR=8\nMINOR=14\nDEVNAME=sda14\nDEVTYPE=partition\nDISKSEQ=9\nPARTN=14" + } + }, + "/dev/sda15": { + "CURRENT_TAGS": ":systemd:", + "DEVLINKS": "/dev/disk/by-label/UEFI /dev/disk/by-partuuid/8d4d1651-d658-43f1-b64e-7f90e85bfd3d /dev/disk/by-uuid/5D71-5BC8 /dev/disk/by-diskseq/9-part15 /dev/disk/by-path/pci-0000:02:00.0-scsi-0:0:0:1-part15 /dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_lxd_root-part15", + "DEVNAME": "/dev/sda15", + "DEVPATH": "/devices/pci0000:00/0000:00:01.1/0000:02:00.0/virtio6/host0/target0:0:0/0:0:0:1/block/sda/sda15", + "DEVTYPE": "partition", + "DISKSEQ": "9", + "DM_MULTIPATH_DEVICE_PATH": "0", + "ID_BUS": "scsi", + "ID_FS_BLOCKSIZE": "512", + "ID_FS_LABEL": "UEFI", + "ID_FS_LABEL_ENC": "UEFI", + "ID_FS_SIZE": "111121920", + "ID_FS_TYPE": "vfat", + "ID_FS_USAGE": "filesystem", + "ID_FS_UUID": "5D71-5BC8", + "ID_FS_UUID_ENC": "5D71-5BC8", + "ID_FS_VERSION": "FAT32", + "ID_MODEL": "QEMU_HARDDISK", + "ID_MODEL_ENC": "QEMU\\x20HARDDISK\\x20\\x20\\x20", + "ID_PART_ENTRY_DISK": "8:0", + "ID_PART_ENTRY_NUMBER": "15", + "ID_PART_ENTRY_OFFSET": "10240", + "ID_PART_ENTRY_SCHEME": "gpt", + "ID_PART_ENTRY_SIZE": "217088", + "ID_PART_ENTRY_TYPE": "c12a7328-f81f-11d2-ba4b-00a0c93ec93b", + "ID_PART_ENTRY_UUID": "8d4d1651-d658-43f1-b64e-7f90e85bfd3d", + "ID_PART_TABLE_TYPE": "gpt", + "ID_PART_TABLE_UUID": "015e8976-5a2f-4623-9dbb-9702509dd540", + "ID_PATH": "pci-0000:02:00.0-scsi-0:0:0:1", + "ID_PATH_TAG": "pci-0000_02_00_0-scsi-0_0_0_1", + "ID_REVISION": "2.5+", + "ID_SCSI": "1", + "ID_SCSI_INQUIRY": "1", + "ID_SERIAL": "0QEMU_QEMU_HARDDISK_lxd_root", + "ID_SERIAL_SHORT": "lxd_root", + "ID_TYPE": "disk", + "ID_VENDOR": "QEMU", + "ID_VENDOR_ENC": "QEMU\\x20\\x20\\x20\\x20", + "MAJOR": "8", + "MINOR": "15", + "NVME_HOST_IFACE": "none", + "PARTN": "15", + "SCSI_IDENT_LUN_VENDOR": "lxd_root", + "SCSI_MODEL": "QEMU_HARDDISK", + "SCSI_MODEL_ENC": "QEMU\\x20HARDDISK\\x20\\x20\\x20", + "SCSI_REVISION": "2.5+", + "SCSI_TPGS": "0", + "SCSI_TYPE": "disk", + "SCSI_VENDOR": "QEMU", + "SCSI_VENDOR_ENC": "QEMU\\x20\\x20\\x20\\x20", + "SUBSYSTEM": "block", + "TAGS": ":systemd:", + "UDISKS_IGNORE": "1", + "USEC_INITIALIZED": "1783589", + "attrs": { + "alignment_offset": "0", + "dev": "8:15", + "discard_alignment": "0", + "inflight": " 0 0", + "partition": "15", + "power/async": "disabled", + "power/autosuspend_delay_ms": null, + "power/control": "auto", + "power/runtime_active_kids": "0", + "power/runtime_active_time": "0", + "power/runtime_enabled": "disabled", + "power/runtime_status": "unsupported", + "power/runtime_suspended_time": "0", + "power/runtime_usage": "0", + "ro": "0", + "size": "111149056", + "start": "10240", + "stat": " 254 3315 21628 117 2 0 2 0 0 220 120 1 1 201268 2 0 0", + "subsystem": "block", + "trace/act_mask": "disabled", + "trace/enable": "0", + "trace/end_lba": "disabled", + "trace/pid": "disabled", + "trace/start_lba": "disabled", + "uevent": "MAJOR=8\nMINOR=15\nDEVNAME=sda15\nDEVTYPE=partition\nDISKSEQ=9\nPARTN=15" + }, + "partitiontable": { + "label": "dos", + "id": "0x00000000", + "device": "/dev/sda15", + "unit": "sectors", + "sectorsize": 512 + } + }, + "/dev/sda16": { + "CURRENT_TAGS": ":systemd:", + "DEVLINKS": "/dev/disk/by-path/pci-0000:02:00.0-scsi-0:0:0:1-part16 /dev/disk/by-uuid/7a851d99-a94b-428c-a904-1508adc55caa /dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_lxd_root-part16 /dev/disk/by-diskseq/9-part16 /dev/disk/by-label/BOOT /dev/disk/by-partuuid/bf35bdc1-2e92-4bb7-ace8-325ac9b428eb", + "DEVNAME": "/dev/sda16", + "DEVPATH": "/devices/pci0000:00/0000:00:01.1/0000:02:00.0/virtio6/host0/target0:0:0/0:0:0:1/block/sda/sda16", + "DEVTYPE": "partition", + "DISKSEQ": "9", + "DM_MULTIPATH_DEVICE_PATH": "0", + "ID_BUS": "scsi", + "ID_FS_BLOCKSIZE": "4096", + "ID_FS_LABEL": "BOOT", + "ID_FS_LABEL_ENC": "BOOT", + "ID_FS_LASTBLOCK": "233728", + "ID_FS_SIZE": "957349888", + "ID_FS_TYPE": "ext4", + "ID_FS_USAGE": "filesystem", + "ID_FS_UUID": "7a851d99-a94b-428c-a904-1508adc55caa", + "ID_FS_UUID_ENC": "7a851d99-a94b-428c-a904-1508adc55caa", + "ID_FS_VERSION": "1.0", + "ID_MODEL": "QEMU_HARDDISK", + "ID_MODEL_ENC": "QEMU\\x20HARDDISK\\x20\\x20\\x20", + "ID_PART_ENTRY_DISK": "8:0", + "ID_PART_ENTRY_NUMBER": "16", + "ID_PART_ENTRY_OFFSET": "227328", + "ID_PART_ENTRY_SCHEME": "gpt", + "ID_PART_ENTRY_SIZE": "1869825", + "ID_PART_ENTRY_TYPE": "bc13c2ff-59e6-4262-a352-b275fd6f7172", + "ID_PART_ENTRY_UUID": "bf35bdc1-2e92-4bb7-ace8-325ac9b428eb", + "ID_PART_TABLE_TYPE": "gpt", + "ID_PART_TABLE_UUID": "015e8976-5a2f-4623-9dbb-9702509dd540", + "ID_PATH": "pci-0000:02:00.0-scsi-0:0:0:1", + "ID_PATH_TAG": "pci-0000_02_00_0-scsi-0_0_0_1", + "ID_REVISION": "2.5+", + "ID_SCSI": "1", + "ID_SCSI_INQUIRY": "1", + "ID_SERIAL": "0QEMU_QEMU_HARDDISK_lxd_root", + "ID_SERIAL_SHORT": "lxd_root", + "ID_TYPE": "disk", + "ID_VENDOR": "QEMU", + "ID_VENDOR_ENC": "QEMU\\x20\\x20\\x20\\x20", + "MAJOR": "259", + "MINOR": "0", + "NVME_HOST_IFACE": "none", + "PARTN": "16", + "SCSI_IDENT_LUN_VENDOR": "lxd_root", + "SCSI_MODEL": "QEMU_HARDDISK", + "SCSI_MODEL_ENC": "QEMU\\x20HARDDISK\\x20\\x20\\x20", + "SCSI_REVISION": "2.5+", + "SCSI_TPGS": "0", + "SCSI_TYPE": "disk", + "SCSI_VENDOR": "QEMU", + "SCSI_VENDOR_ENC": "QEMU\\x20\\x20\\x20\\x20", + "SUBSYSTEM": "block", + "TAGS": ":systemd:", + "UDISKS_IGNORE": "1", + "USEC_INITIALIZED": "1781535", + "attrs": { + "alignment_offset": "0", + "dev": "259:0", + "discard_alignment": "0", + "inflight": " 0 0", + "partition": "16", + "power/async": "disabled", + "power/autosuspend_delay_ms": null, + "power/control": "auto", + "power/runtime_active_kids": "0", + "power/runtime_active_time": "0", + "power/runtime_enabled": "disabled", + "power/runtime_status": "unsupported", + "power/runtime_suspended_time": "0", + "power/runtime_usage": "0", + "ro": "0", + "size": "957350400", + "start": "227328", + "stat": " 263 70 16602 88 35 28 338 52 0 380 208 30 0 1347472 67 0 0", + "subsystem": "block", + "trace/act_mask": "disabled", + "trace/enable": "0", + "trace/end_lba": "disabled", + "trace/pid": "disabled", + "trace/start_lba": "disabled", + "uevent": "MAJOR=259\nMINOR=0\nDEVNAME=sda16\nDEVTYPE=partition\nDISKSEQ=9\nPARTN=16" + } + }, + "/dev/nvme1n1": { + "CURRENT_TAGS": ":systemd:", + "DEVLINKS": "/dev/disk/by-diskseq/20 /dev/disk/by-id/nvme-Linux_ca304f0d6bc24b8b8c2c_1 /dev/disk/by-id/nvme-uuid.0c1bd682-ed8e-495a-8ee6-3351d59d0d82 /dev/disk/by-id/nvme-Linux_ca304f0d6bc24b8b8c2c", + "DEVNAME": "/dev/nvme1n1", + "DEVPATH": "/devices/virtual/nvme-subsystem/nvme-subsys1/nvme1n1", + "DEVTYPE": "disk", + "DISKSEQ": "20", + "DM_MULTIPATH_DEVICE_PATH": "0", + "ID_MODEL": "Linux", + "ID_NSID": "1", + "ID_PART_TABLE_TYPE": "gpt", + "ID_PART_TABLE_UUID": "6fdbb7a3-1a56-423f-b495-d43123ffed2e", + "ID_REVISION": "6.5.0-13", + "ID_SERIAL": "Linux_ca304f0d6bc24b8b8c2c_1", + "ID_SERIAL_SHORT": "ca304f0d6bc24b8b8c2c", + "ID_WWN": "uuid.0c1bd682-ed8e-495a-8ee6-3351d59d0d82", + "MAJOR": "259", + "MINOR": "2", + "MPATH_SBIN_PATH": "/sbin", + "SUBSYSTEM": "block", + "TAGS": ":systemd:", + "USEC_INITIALIZED": "368197972671", + "attrs": { + "alignment_offset": "0", + "bdi": null, + "capability": "0", + "dev": "259:2", + "device": null, + "discard_alignment": "0", + "diskseq": "20", + "events": "", + "events_async": "", + "events_poll_msecs": "-1", + "ext_range": "256", + "hidden": "0", + "inflight": " 0 0", + "integrity/device_is_integrity_capable": "0", + "integrity/format": "none", + "integrity/protection_interval_bytes": "0", + "integrity/read_verify": "0", + "integrity/tag_size": "0", + "integrity/write_generate": "0", + "nsid": "1", + "power/async": "disabled", + "power/autosuspend_delay_ms": null, + "power/control": "auto", + "power/runtime_active_kids": "0", + "power/runtime_active_time": "0", + "power/runtime_enabled": "disabled", + "power/runtime_status": "unsupported", + "power/runtime_suspended_time": "0", + "power/runtime_usage": "0", + "queue/add_random": "0", + "queue/chunk_sectors": "0", + "queue/dax": "0", + "queue/discard_granularity": "512", + "queue/discard_max_bytes": "2199023255040", + "queue/discard_max_hw_bytes": "2199023255040", + "queue/discard_zeroes_data": "0", + "queue/dma_alignment": "3", + "queue/fua": "1", + "queue/hw_sector_size": "512", + "queue/io_poll": "0", + "queue/io_poll_delay": "-1", + "queue/iostats": "1", + "queue/logical_block_size": "512", + "queue/max_discard_segments": "256", + "queue/max_hw_sectors_kb": "2147483647", + "queue/max_integrity_segments": "0", + "queue/max_sectors_kb": "1280", + "queue/max_segment_size": "4294967295", + "queue/max_segments": "65535", + "queue/minimum_io_size": "512", + "queue/nomerges": "0", + "queue/nr_zones": "0", + "queue/optimal_io_size": "512", + "queue/physical_block_size": "512", + "queue/read_ahead_kb": "128", + "queue/rotational": "0", + "queue/stable_writes": "0", + "queue/virt_boundary_mask": "4095", + "queue/write_cache": "write back", + "queue/write_same_max_bytes": "0", + "queue/write_zeroes_max_bytes": "2199023255040", + "queue/zone_append_max_bytes": "0", + "queue/zone_write_granularity": "0", + "queue/zoned": "none", + "range": "0", + "removable": "0", + "ro": "0", + "size": "5368709120", + "stat": " 96 0 4496 236 0 0 0 0 0 144 236 0 0 0 0 0 0", + "subsystem": "block", + "trace/act_mask": "disabled", + "trace/enable": "0", + "trace/end_lba": "disabled", + "trace/pid": "disabled", + "trace/start_lba": "disabled", + "uevent": "MAJOR=259\nMINOR=2\nDEVNAME=nvme1n1\nDEVTYPE=disk\nDISKSEQ=20", + "uuid": "0c1bd682-ed8e-495a-8ee6-3351d59d0d82", + "wwid": "uuid.0c1bd682-ed8e-495a-8ee6-3351d59d0d82" + }, + "partitiontable": { + "label": "gpt", + "id": "6FDBB7A3-1A56-423F-B495-D43123FFED2E", + "device": "/dev/nvme1n1", + "unit": "sectors", + "firstlba": 34, + "lastlba": 10485726, + "sectorsize": 512, + "partitions": [ + { + "node": "/dev/nvme1n1p1", + "start": 2048, + "size": 10481664, + "type": "0FC63DAF-8483-4772-8E79-3D69D8477DE4", + "uuid": "AD3D635B-A754-4A30-A0A6-B361569C2A80" + } + ] + } + }, + "/dev/nvme1n1p1": { + "CURRENT_TAGS": ":systemd:", + "DEVLINKS": "/dev/disk/by-partuuid/ad3d635b-a754-4a30-a0a6-b361569c2a80 /dev/disk/by-id/nvme-Linux_ca304f0d6bc24b8b8c2c_1-part1 /dev/disk/by-id/nvme-uuid.0c1bd682-ed8e-495a-8ee6-3351d59d0d82-part1 /dev/disk/by-uuid/216e5c19-244c-4154-aaee-33f05a00359c /dev/disk/by-diskseq/20-part1 /dev/disk/by-id/nvme-Linux_ca304f0d6bc24b8b8c2c-part1", + "DEVNAME": "/dev/nvme1n1p1", + "DEVPATH": "/devices/virtual/nvme-subsystem/nvme-subsys1/nvme1n1/nvme1n1p1", + "DEVTYPE": "partition", + "DISKSEQ": "20", + "DM_MULTIPATH_DEVICE_PATH": "0", + "ID_FS_BLOCKSIZE": "4096", + "ID_FS_LASTBLOCK": "1310208", + "ID_FS_SIZE": "5366611968", + "ID_FS_TYPE": "ext4", + "ID_FS_USAGE": "filesystem", + "ID_FS_UUID": "216e5c19-244c-4154-aaee-33f05a00359c", + "ID_FS_UUID_ENC": "216e5c19-244c-4154-aaee-33f05a00359c", + "ID_FS_VERSION": "1.0", + "ID_MODEL": "Linux", + "ID_NSID": "1", + "ID_PART_ENTRY_DISK": "259:2", + "ID_PART_ENTRY_NUMBER": "1", + "ID_PART_ENTRY_OFFSET": "2048", + "ID_PART_ENTRY_SCHEME": "gpt", + "ID_PART_ENTRY_SIZE": "10481664", + "ID_PART_ENTRY_TYPE": "0fc63daf-8483-4772-8e79-3d69d8477de4", + "ID_PART_ENTRY_UUID": "ad3d635b-a754-4a30-a0a6-b361569c2a80", + "ID_PART_TABLE_TYPE": "gpt", + "ID_PART_TABLE_UUID": "6fdbb7a3-1a56-423f-b495-d43123ffed2e", + "ID_REVISION": "6.5.0-13", + "ID_SERIAL": "Linux_ca304f0d6bc24b8b8c2c_1", + "ID_SERIAL_SHORT": "ca304f0d6bc24b8b8c2c", + "ID_WWN": "uuid.0c1bd682-ed8e-495a-8ee6-3351d59d0d82", + "MAJOR": "259", + "MINOR": "3", + "PARTN": "1", + "SUBSYSTEM": "block", + "TAGS": ":systemd:", + "USEC_INITIALIZED": "368198004962", + "attrs": { + "alignment_offset": "0", + "dev": "259:3", + "discard_alignment": "0", + "inflight": " 0 0", + "partition": "1", + "power/async": "disabled", + "power/autosuspend_delay_ms": null, + "power/control": "auto", + "power/runtime_active_kids": "0", + "power/runtime_active_time": "0", + "power/runtime_enabled": "disabled", + "power/runtime_status": "unsupported", + "power/runtime_suspended_time": "0", + "power/runtime_usage": "0", + "ro": "0", + "size": "5366611968", + "start": "2048", + "stat": " 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0", + "subsystem": "block", + "trace/act_mask": "disabled", + "trace/enable": "0", + "trace/end_lba": "disabled", + "trace/pid": "disabled", + "trace/start_lba": "disabled", + "uevent": "MAJOR=259\nMINOR=3\nDEVNAME=nvme1n1p1\nDEVTYPE=partition\nDISKSEQ=20\nPARTN=1" + } + } + } + } +} From 1b58eaa6c6cfbc1eb87fdc544af13984bcf018d7 Mon Sep 17 00:00:00 2001 From: Olivier Gayot Date: Wed, 13 Dec 2023 18:06:27 +0100 Subject: [PATCH 2/2] snapcraft: bump probert to get NVMe controllers information Signed-off-by: Olivier Gayot --- snapcraft.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snapcraft.yaml b/snapcraft.yaml index 21f46b62f..c5ca2f22c 100644 --- a/snapcraft.yaml +++ b/snapcraft.yaml @@ -226,7 +226,7 @@ parts: source: https://github.com/canonical/probert.git source-type: git - source-commit: ae758355b610e389099abdb2397bb41ad49409ec + source-commit: f34ae3c3f942a9c479fe928911053a302e146251 override-build: *pyinstall