diff --git a/examples/existing-partitions.json b/examples/existing-partitions.json new file mode 100644 index 00000000..6abff1a9 --- /dev/null +++ b/examples/existing-partitions.json @@ -0,0 +1,1782 @@ +{ + "network": { + "links": [ + { + "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": "16370691", + "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" + } + } + }, + { + "addresses": [ + { + "address": "10.0.2.15/24", + "family": 2, + "scope": "global", + "source": "dhcp" + }, + { + "address": "fec0::5054:ff:fe12:3456/64", + "family": 10, + "scope": "site", + "source": "dhcp" + }, + { + "address": "fe80::5054:ff:fe12:3456/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": "82540EM Gigabit Ethernet Controller (QEMU Virtual Machine)", + "ID_MODEL_ID": "0x100e", + "ID_NET_NAME_MAC": "enx525400123456", + "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": "Intel Corporation", + "ID_VENDOR_ID": "0x8086", + "IFINDEX": "2", + "INTERFACE": "ens3", + "SUBSYSTEM": "net", + "SYSTEMD_ALIAS": "/sys/subsystem/net/devices/ens3", + "TAGS": ":systemd:", + "USEC_INITIALIZED": "8818147", + "attrs": { + "addr_assign_type": "0", + "addr_len": "6", + "address": "52:54:00:12:34:56", + "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": "1000", + "subsystem": "net", + "tx_queue_len": "1000", + "type": "1", + "uevent": "INTERFACE=ens3\nIFINDEX=2" + } + } + } + ], + "routes": [ + { + "dst": "default", + "family": 2, + "ifindex": 2, + "table": 254, + "type": 1 + }, + { + "dst": "10.0.2.0/24", + "family": 2, + "ifindex": 2, + "table": 254, + "type": 1 + }, + { + "dst": "10.0.2.2", + "family": 2, + "ifindex": 2, + "table": 254, + "type": 1 + }, + { + "dst": "10.0.2.0", + "family": 2, + "ifindex": 2, + "table": 255, + "type": 3 + }, + { + "dst": "10.0.2.15", + "family": 2, + "ifindex": 2, + "table": 255, + "type": 2 + }, + { + "dst": "10.0.2.255", + "family": 2, + "ifindex": 2, + "table": 255, + "type": 3 + }, + { + "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": "::1", + "family": 10, + "ifindex": 1, + "table": 254, + "type": 1 + }, + { + "dst": "fe80::/64", + "family": 10, + "ifindex": 2, + "table": 254, + "type": 1 + }, + { + "dst": "fec0::/64", + "family": 10, + "ifindex": 2, + "table": 254, + "type": 1 + }, + { + "dst": "default", + "family": 10, + "ifindex": 2, + "table": 254, + "type": 1 + }, + { + "dst": "::1", + "family": 10, + "ifindex": 1, + "table": 255, + "type": 2 + }, + { + "dst": "fe80::5054:ff:fe12:3456", + "family": 10, + "ifindex": 2, + "table": 255, + "type": 2 + }, + { + "dst": "fec0::5054:ff:fe12:3456", + "family": 10, + "ifindex": 2, + "table": 255, + "type": 2 + }, + { + "dst": "ff00::/8", + "family": 10, + "ifindex": 2, + "table": 255, + "type": 1 + } + ] + }, + "storage": { + "bcache": { + "backing": {}, + "caching": {} + }, + "blockdev": { + "/dev/dm-0": { + "DEVLINKS": "/dev/disk/by-uuid/6a13a61c-51d5-46b8-bb97-02341f79e003 /dev/disk/by-id/dm-uuid-LVM-wdKuTVOtDbjf6qLyGvJZxcswOQtrFv5uhgqyCLzgSRGW6MDO6mLypSTUGNeBAARK /dev/amazing-vg/my-lv1 /dev/disk/by-id/dm-name-amazing--vg-my--lv1 /dev/mapper/amazing--vg-my--lv1 /dev/disk/by-label/lv", + "DEVNAME": "/dev/dm-0", + "DEVPATH": "/devices/virtual/block/dm-0", + "DEVTYPE": "disk", + "DM_LV_NAME": "my-lv1", + "DM_NAME": "amazing--vg-my--lv1", + "DM_STATE": "ACTIVE", + "DM_SUSPENDED": "0", + "DM_TABLE_STATE": "LIVE", + "DM_UDEV_DISABLE_LIBRARY_FALLBACK_FLAG": "1", + "DM_UDEV_PRIMARY_SOURCE_FLAG": "1", + "DM_UDEV_RULES": "1", + "DM_UDEV_RULES_VSN": "2", + "DM_UUID": "LVM-wdKuTVOtDbjf6qLyGvJZxcswOQtrFv5uhgqyCLzgSRGW6MDO6mLypSTUGNeBAARK", + "DM_VG_NAME": "amazing-vg", + "ID_FS_LABEL": "lv", + "ID_FS_LABEL_ENC": "lv", + "ID_FS_TYPE": "ext4", + "ID_FS_USAGE": "filesystem", + "ID_FS_UUID": "6a13a61c-51d5-46b8-bb97-02341f79e003", + "ID_FS_UUID_ENC": "6a13a61c-51d5-46b8-bb97-02341f79e003", + "ID_FS_VERSION": "1.0", + "MAJOR": "253", + "MINOR": "0", + "SUBSYSTEM": "block", + "TAGS": ":systemd:", + "USEC_INITIALIZED": "17674934", + "attrs": { + "alignment_offset": "0", + "bdi": null, + "capability": "10", + "dev": "253:0", + "discard_alignment": "0", + "ext_range": "1", + "hidden": "0", + "inflight": " 0 0", + "range": "1", + "removable": "0", + "ro": "0", + "size": "5364514816", + "stat": " 200 0 5808 4 0 0 0 0 0 88 4 0 0 0 0", + "subsystem": "block", + "uevent": "MAJOR=253\nMINOR=0\nDEVNAME=dm-0\nDEVTYPE=disk" + } + }, + "/dev/fd0": { + "DEVNAME": "/dev/fd0", + "DEVPATH": "/devices/platform/floppy.0/block/fd0", + "DEVTYPE": "disk", + "MAJOR": "2", + "MINOR": "0", + "SUBSYSTEM": "block", + "TAGS": ":systemd:", + "USEC_INITIALIZED": "8362401", + "attrs": { + "alignment_offset": "0", + "bdi": null, + "capability": "11", + "dev": "2:0", + "device": null, + "discard_alignment": "0", + "events": "", + "events_async": "", + "events_poll_msecs": "-1", + "ext_range": "1", + "hidden": "0", + "inflight": " 0 0", + "range": "1", + "removable": "1", + "ro": "0", + "size": "4096", + "stat": " 2 0 16 116 0 0 0 0 0 16 112 0 0 0 0", + "subsystem": "block", + "uevent": "MAJOR=2\nMINOR=0\nDEVNAME=fd0\nDEVTYPE=disk" + } + }, + "/dev/md127": { + "DEVLINKS": "/dev/md/ringil:foobar /dev/disk/by-id/md-name-ringil:foobar /dev/disk/by-id/md-uuid-26d43bb7:2b9bb08e:6912462a:d6572672 /dev/disk/by-label/data /dev/disk/by-uuid/f59e9a4e-2ffd-4746-8f3c-1a6fd3556ba4", + "DEVNAME": "/dev/md127", + "DEVPATH": "/devices/virtual/block/md127", + "DEVTYPE": "disk", + "ID_FS_LABEL": "data", + "ID_FS_LABEL_ENC": "data", + "ID_FS_TYPE": "ext4", + "ID_FS_USAGE": "filesystem", + "ID_FS_UUID": "f59e9a4e-2ffd-4746-8f3c-1a6fd3556ba4", + "ID_FS_UUID_ENC": "f59e9a4e-2ffd-4746-8f3c-1a6fd3556ba4", + "ID_FS_VERSION": "1.0", + "MAJOR": "9", + "MD_DEVICES": "2", + "MD_DEVICE_ev_vdc1_DEV": "/dev/vdc1", + "MD_DEVICE_ev_vdc1_ROLE": "0", + "MD_DEVICE_ev_vdd1_DEV": "/dev/vdd1", + "MD_DEVICE_ev_vdd1_ROLE": "1", + "MD_DEVNAME": "ringil:foobar", + "MD_LEVEL": "raid1", + "MD_METADATA": "1.2", + "MD_NAME": "ringil:foobar", + "MD_UUID": "26d43bb7:2b9bb08e:6912462a:d6572672", + "MINOR": "127", + "SUBSYSTEM": "block", + "SYSTEMD_WANTS": "mdmonitor.service", + "TAGS": ":systemd:", + "USEC_INITIALIZED": "8488818", + "attrs": { + "alignment_offset": "0", + "bdi": null, + "capability": "50", + "dev": "9:127", + "discard_alignment": "0", + "ext_range": "256", + "hidden": "0", + "inflight": " 0 0", + "range": "1", + "removable": "0", + "ro": "0", + "size": "10725883904", + "stat": " 322 0 10080 0 0 0 0 0 0 0 0 0 0 0 0", + "subsystem": "block", + "uevent": "MAJOR=9\nMINOR=127\nDEVNAME=md127\nDEVTYPE=disk" + } + }, + "/dev/sr0": { + "DEVLINKS": "/dev/disk/by-id/scsi-0QEMU_QEMU_DVD-ROM_QM00003 /dev/disk/by-path/pci-0000:00:01.1-ata-2 /dev/cdrom /dev/dvd /dev/disk/by-id/ata-QEMU_DVD-ROM_QM00003 /dev/disk/by-id/scsi-1ATA_QEMU_DVD-ROM_QM00003", + "DEVNAME": "/dev/sr0", + "DEVPATH": "/devices/pci0000:00/0000:00:01.1/ata2/host1/target1:0:0/1:0:0:0/block/sr0", + "DEVTYPE": "disk", + "ID_ATA": "1", + "ID_BUS": "ata", + "ID_CDROM": "1", + "ID_CDROM_DVD": "1", + "ID_CDROM_MRW": "1", + "ID_CDROM_MRW_W": "1", + "ID_FOR_SEAT": "block-pci-0000_00_01_1-ata-2", + "ID_MODEL": "QEMU_DVD-ROM", + "ID_MODEL_ENC": "QEMU\\x20DVD-ROM\\x20\\x20\\x20\\x20", + "ID_PATH": "pci-0000:00:01.1-ata-2", + "ID_PATH_TAG": "pci-0000_00_01_1-ata-2", + "ID_REVISION": "2.5+", + "ID_SCSI": "1", + "ID_SCSI_DI": "1", + "ID_SERIAL": "QEMU_DVD-ROM_QM00003", + "ID_TYPE": "cd/dvd", + "ID_VENDOR": "QEMU", + "ID_VENDOR_ENC": "QEMU\\x20\\x20\\x20\\x20", + "MAJOR": "11", + "MINOR": "0", + "SCSI_IDENT_LUN_ATA": "QEMU_DVD-ROM_QM00003", + "SCSI_IDENT_LUN_T10": "ATA_QEMU_DVD-ROM_QM00003", + "SCSI_IDENT_LUN_VENDOR": "QM00003", + "SCSI_MODEL": "QEMU_DVD-ROM", + "SCSI_MODEL_ENC": "QEMU\\x20DVD-ROM\\x20\\x20\\x20\\x20", + "SCSI_REVISION": "2.5+", + "SCSI_TPGS": "0", + "SCSI_TYPE": "cd/dvd", + "SCSI_VENDOR": "QEMU", + "SCSI_VENDOR_ENC": "QEMU\\x20\\x20\\x20\\x20", + "SUBSYSTEM": "block", + "SYSTEMD_MOUNT_DEVICE_BOUND": "1", + "TAGS": ":seat:systemd:uaccess:", + "USEC_INITIALIZED": "8465753", + "attrs": { + "alignment_offset": "0", + "bdi": null, + "capability": "119", + "dev": "11:0", + "device": null, + "discard_alignment": "0", + "events": "media_change eject_request", + "events_async": "", + "events_poll_msecs": "-1", + "ext_range": "1", + "hidden": "0", + "inflight": " 0 0", + "range": "1", + "removable": "1", + "ro": "0", + "size": "1073741312", + "stat": " 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0", + "subsystem": "block", + "uevent": "MAJOR=11\nMINOR=0\nDEVNAME=sr0\nDEVTYPE=disk" + } + }, + "/dev/vda": { + "DEVLINKS": "/dev/disk/by-label/Ubuntu\\x20custom\\x20amd64 /dev/disk/by-uuid/2019-05-23-03-04-53-00 /dev/disk/by-path/pci-0000:00:04.0 /dev/disk/by-path/virtio-pci-0000:00:04.0", + "DEVNAME": "/dev/vda", + "DEVPATH": "/devices/pci0000:00/0000:00:04.0/virtio0/block/vda", + "DEVTYPE": "disk", + "ID_FS_BOOT_SYSTEM_ID": "EL\\x20TORITO\\x20SPECIFICATION", + "ID_FS_LABEL": "Ubuntu_custom_amd64", + "ID_FS_LABEL_ENC": "Ubuntu\\x20custom\\x20amd64", + "ID_FS_TYPE": "iso9660", + "ID_FS_USAGE": "filesystem", + "ID_FS_UUID": "2019-05-23-03-04-53-00", + "ID_FS_UUID_ENC": "2019-05-23-03-04-53-00", + "ID_FS_VERSION": "Joliet Extension", + "ID_PART_TABLE_TYPE": "dos", + "ID_PART_TABLE_UUID": "013b97f5", + "ID_PATH": "pci-0000:00:04.0", + "ID_PATH_TAG": "pci-0000_00_04_0", + "MAJOR": "252", + "MINOR": "0", + "SUBSYSTEM": "block", + "TAGS": ":systemd:", + "USEC_INITIALIZED": "8389241", + "attrs": { + "alignment_offset": "0", + "bdi": null, + "cache_type": "write back", + "capability": "50", + "dev": "252:0", + "device": null, + "discard_alignment": "0", + "ext_range": "256", + "hidden": "0", + "inflight": " 0 0", + "range": "16", + "removable": "0", + "ro": "0", + "serial": "", + "size": "786432000", + "stat": " 3825 0 454630 16549 0 0 0 0 0 5764 14960 0 0 0 0", + "subsystem": "block", + "uevent": "MAJOR=252\nMINOR=0\nDEVNAME=vda\nDEVTYPE=disk" + }, + "partitiontable": { + "device": "/dev/vda", + "id": "0x013b97f5", + "label": "dos", + "partitions": [ + { + "bootable": true, + "node": "/dev/vda1", + "size": 1536000, + "start": 0, + "type": "0" + }, + { + "node": "/dev/vda2", + "size": 7488, + "start": 996, + "type": "ef" + } + ], + "unit": "sectors" + } + }, + "/dev/vda1": { + "DEVLINKS": "/dev/disk/by-label/Ubuntu\\x20custom\\x20amd64 /dev/disk/by-uuid/2019-05-23-03-04-53-00 /dev/disk/by-path/virtio-pci-0000:00:04.0-part1 /dev/disk/by-path/pci-0000:00:04.0-part1 /dev/disk/by-partuuid/013b97f5-01", + "DEVNAME": "/dev/vda1", + "DEVPATH": "/devices/pci0000:00/0000:00:04.0/virtio0/block/vda/vda1", + "DEVTYPE": "partition", + "ID_FS_BOOT_SYSTEM_ID": "EL\\x20TORITO\\x20SPECIFICATION", + "ID_FS_LABEL": "Ubuntu_custom_amd64", + "ID_FS_LABEL_ENC": "Ubuntu\\x20custom\\x20amd64", + "ID_FS_TYPE": "iso9660", + "ID_FS_USAGE": "filesystem", + "ID_FS_UUID": "2019-05-23-03-04-53-00", + "ID_FS_UUID_ENC": "2019-05-23-03-04-53-00", + "ID_FS_VERSION": "Joliet Extension", + "ID_PART_ENTRY_DISK": "252:0", + "ID_PART_ENTRY_FLAGS": "0x80", + "ID_PART_ENTRY_NUMBER": "1", + "ID_PART_ENTRY_OFFSET": "0", + "ID_PART_ENTRY_SCHEME": "dos", + "ID_PART_ENTRY_SIZE": "1536000", + "ID_PART_ENTRY_TYPE": "0x0", + "ID_PART_ENTRY_UUID": "013b97f5-01", + "ID_PART_TABLE_TYPE": "dos", + "ID_PART_TABLE_UUID": "013b97f5", + "ID_PATH": "pci-0000:00:04.0", + "ID_PATH_TAG": "pci-0000_00_04_0", + "ID_SCSI": "1", + "MAJOR": "252", + "MINOR": "1", + "PARTN": "1", + "SUBSYSTEM": "block", + "TAGS": ":systemd:", + "USEC_INITIALIZED": "8400805", + "attrs": { + "alignment_offset": "0", + "dev": "252:1", + "discard_alignment": "0", + "inflight": " 0 0", + "partition": "1", + "ro": "0", + "size": "786432000", + "start": "0", + "stat": " 3824 0 454622 16548 0 0 0 0 0 5760 14960 0 0 0 0", + "subsystem": "block", + "uevent": "MAJOR=252\nMINOR=1\nDEVNAME=vda1\nDEVTYPE=partition\nPARTN=1" + }, + "partitiontable": { + "device": "/dev/vda1", + "id": "0x013b97f5", + "label": "dos", + "partitions": [ + { + "bootable": true, + "node": "/dev/vda1p1", + "size": 1536000, + "start": 0, + "type": "0" + }, + { + "node": "/dev/vda1p2", + "size": 7488, + "start": 996, + "type": "ef" + } + ], + "unit": "sectors" + } + }, + "/dev/vda2": { + "DEVLINKS": "/dev/disk/by-uuid/039E-EF17 /dev/disk/by-path/virtio-pci-0000:00:04.0-part2 /dev/disk/by-partuuid/013b97f5-02 /dev/disk/by-label/Ubuntu\\x20custom\\x20amd64 /dev/disk/by-path/pci-0000:00:04.0-part2", + "DEVNAME": "/dev/vda2", + "DEVPATH": "/devices/pci0000:00/0000:00:04.0/virtio0/block/vda/vda2", + "DEVTYPE": "partition", + "ID_FS_BOOT_SYSTEM_ID": "EL\\x20TORITO\\x20SPECIFICATION", + "ID_FS_LABEL": "Ubuntu_custom_amd64", + "ID_FS_LABEL_ENC": "Ubuntu\\x20custom\\x20amd64", + "ID_FS_TYPE": "vfat", + "ID_FS_USAGE": "filesystem", + "ID_FS_UUID": "039E-EF17", + "ID_FS_UUID_ENC": "039E-EF17", + "ID_FS_VERSION": "FAT12", + "ID_PART_ENTRY_DISK": "252:0", + "ID_PART_ENTRY_NUMBER": "2", + "ID_PART_ENTRY_OFFSET": "996", + "ID_PART_ENTRY_SCHEME": "dos", + "ID_PART_ENTRY_SIZE": "7488", + "ID_PART_ENTRY_TYPE": "0xef", + "ID_PART_ENTRY_UUID": "013b97f5-02", + "ID_PART_TABLE_TYPE": "dos", + "ID_PART_TABLE_UUID": "013b97f5", + "ID_PATH": "pci-0000:00:04.0", + "ID_PATH_TAG": "pci-0000_00_04_0", + "ID_SCSI": "1", + "MAJOR": "252", + "MINOR": "2", + "PARTN": "2", + "SUBSYSTEM": "block", + "TAGS": ":systemd:", + "USEC_INITIALIZED": "8394933", + "attrs": { + "alignment_offset": "0", + "dev": "252:2", + "discard_alignment": "0", + "inflight": " 0 0", + "partition": "2", + "ro": "0", + "size": "3833856", + "start": "996", + "stat": " 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0", + "subsystem": "block", + "uevent": "MAJOR=252\nMINOR=2\nDEVNAME=vda2\nDEVTYPE=partition\nPARTN=2" + }, + "partitiontable": { + "device": "/dev/vda2", + "grain": "512", + "id": "0x00000000", + "label": "dos", + "partitions": [], + "unit": "sectors" + } + }, + "/dev/vdb": { + "DEVLINKS": "/dev/disk/by-path/pci-0000:00:05.0 /dev/disk/by-path/virtio-pci-0000:00:05.0 /dev/disk/by-id/virtio-serial1", + "DEVNAME": "/dev/vdb", + "DEVPATH": "/devices/pci0000:00/0000:00:05.0/virtio1/block/vdb", + "DEVTYPE": "disk", + "ID_PART_TABLE_TYPE": "gpt", + "ID_PART_TABLE_UUID": "69d0da07-9bea-4aab-a876-219fc2fb6495", + "ID_PATH": "pci-0000:00:05.0", + "ID_PATH_TAG": "pci-0000_00_05_0", + "ID_SERIAL": "serial1", + "MAJOR": "252", + "MINOR": "16", + "SUBSYSTEM": "block", + "TAGS": ":systemd:", + "USEC_INITIALIZED": "8420525", + "attrs": { + "alignment_offset": "0", + "bdi": null, + "cache_type": "write back", + "capability": "50", + "dev": "252:16", + "device": null, + "discard_alignment": "0", + "ext_range": "256", + "hidden": "0", + "inflight": " 0 0", + "range": "16", + "removable": "0", + "ro": "0", + "serial": "serial1", + "size": "10737418240", + "stat": " 1328 0 47798 252 0 0 0 0 0 464 128 0 0 0 0", + "subsystem": "block", + "uevent": "MAJOR=252\nMINOR=16\nDEVNAME=vdb\nDEVTYPE=disk" + }, + "partitiontable": { + "device": "/dev/vdb", + "firstlba": 34, + "id": "69D0DA07-9BEA-4AAB-A876-219FC2FB6495", + "label": "gpt", + "lastlba": 20971486, + "partitions": [ + { + "name": "primary", + "node": "/dev/vdb1", + "size": 2048, + "start": 2048, + "type": "21686148-6449-6E6F-744E-656564454649", + "uuid": "0933DFC4-B5DB-42DA-802C-A40336E73664" + }, + { + "name": "primary", + "node": "/dev/vdb2", + "size": 1048576, + "start": 4096, + "type": "C12A7328-F81F-11D2-BA4B-00A0C93EC93B", + "uuid": "6C831554-0AEF-4A9A-BC46-4DFB1B23A73C" + }, + { + "name": "primary", + "node": "/dev/vdb3", + "size": 16384, + "start": 1052672, + "type": "9E1A2D38-C612-4316-AA26-8B49521E5A8B", + "uuid": "FFFA85B8-D2A4-45D0-BDB5-19BEE357BC3A" + }, + { + "name": "primary", + "node": "/dev/vdb4", + "size": 1028096, + "start": 1069056, + "type": "0657FD6D-A4AB-43C4-84E5-0933C84B4F4F", + "uuid": "B7A3FA62-DE81-45BF-AE8A-63A6BCE26D75" + }, + { + "name": "primary", + "node": "/dev/vdb5", + "size": 8388608, + "start": 2097152, + "type": "0FC63DAF-8483-4772-8E79-3D69D8477DE4", + "uuid": "46DC3AEE-F530-4820-8202-2E42B29CF2C7" + }, + { + "name": "primary", + "node": "/dev/vdb6", + "size": 10483713, + "start": 10485760, + "type": "0FC63DAF-8483-4772-8E79-3D69D8477DE4", + "uuid": "05B1C69C-5B00-4D35-85ED-61812EC572F5" + } + ], + "unit": "sectors" + } + }, + "/dev/vdb1": { + "DEVLINKS": "/dev/disk/by-partuuid/0933dfc4-b5db-42da-802c-a40336e73664 /dev/disk/by-partlabel/primary /dev/disk/by-path/virtio-pci-0000:00:05.0-part1 /dev/disk/by-id/virtio-serial1-part1 /dev/disk/by-path/pci-0000:00:05.0-part1", + "DEVNAME": "/dev/vdb1", + "DEVPATH": "/devices/pci0000:00/0000:00:05.0/virtio1/block/vdb/vdb1", + "DEVTYPE": "partition", + "ID_PART_ENTRY_DISK": "252:16", + "ID_PART_ENTRY_NAME": "primary", + "ID_PART_ENTRY_NUMBER": "1", + "ID_PART_ENTRY_OFFSET": "2048", + "ID_PART_ENTRY_SCHEME": "gpt", + "ID_PART_ENTRY_SIZE": "2048", + "ID_PART_ENTRY_TYPE": "21686148-6449-6e6f-744e-656564454649", + "ID_PART_ENTRY_UUID": "0933dfc4-b5db-42da-802c-a40336e73664", + "ID_PART_TABLE_TYPE": "gpt", + "ID_PART_TABLE_UUID": "69d0da07-9bea-4aab-a876-219fc2fb6495", + "ID_PATH": "pci-0000:00:05.0", + "ID_PATH_TAG": "pci-0000_00_05_0", + "ID_SCSI": "1", + "ID_SERIAL": "serial1", + "MAJOR": "252", + "MINOR": "17", + "PARTN": "1", + "PARTNAME": "primary", + "SUBSYSTEM": "block", + "TAGS": ":systemd:", + "USEC_INITIALIZED": "8468969", + "attrs": { + "alignment_offset": "0", + "dev": "252:17", + "discard_alignment": "0", + "inflight": " 0 0", + "partition": "1", + "ro": "0", + "size": "1048576", + "start": "2048", + "stat": " 134 0 1072 10 0 0 0 0 0 144 0 0 0 0 0", + "subsystem": "block", + "uevent": "MAJOR=252\nMINOR=17\nDEVNAME=vdb1\nDEVTYPE=partition\nPARTN=1\nPARTNAME=primary" + } + }, + "/dev/vdb2": { + "DEVLINKS": "/dev/disk/by-uuid/6A43-2198 /dev/disk/by-partlabel/primary /dev/disk/by-path/virtio-pci-0000:00:05.0-part2 /dev/disk/by-partuuid/6c831554-0aef-4a9a-bc46-4dfb1b23a73c /dev/disk/by-id/virtio-serial1-part2 /dev/disk/by-path/pci-0000:00:05.0-part2", + "DEVNAME": "/dev/vdb2", + "DEVPATH": "/devices/pci0000:00/0000:00:05.0/virtio1/block/vdb/vdb2", + "DEVTYPE": "partition", + "ID_FS_TYPE": "vfat", + "ID_FS_USAGE": "filesystem", + "ID_FS_UUID": "6A43-2198", + "ID_FS_UUID_ENC": "6A43-2198", + "ID_FS_VERSION": "FAT32", + "ID_PART_ENTRY_DISK": "252:16", + "ID_PART_ENTRY_NAME": "primary", + "ID_PART_ENTRY_NUMBER": "2", + "ID_PART_ENTRY_OFFSET": "4096", + "ID_PART_ENTRY_SCHEME": "gpt", + "ID_PART_ENTRY_SIZE": "1048576", + "ID_PART_ENTRY_TYPE": "c12a7328-f81f-11d2-ba4b-00a0c93ec93b", + "ID_PART_ENTRY_UUID": "6c831554-0aef-4a9a-bc46-4dfb1b23a73c", + "ID_PART_TABLE_TYPE": "gpt", + "ID_PART_TABLE_UUID": "69d0da07-9bea-4aab-a876-219fc2fb6495", + "ID_PATH": "pci-0000:00:05.0", + "ID_PATH_TAG": "pci-0000_00_05_0", + "ID_SCSI": "1", + "ID_SERIAL": "serial1", + "MAJOR": "252", + "MINOR": "18", + "PARTN": "2", + "PARTNAME": "primary", + "SUBSYSTEM": "block", + "TAGS": ":systemd:", + "USEC_INITIALIZED": "8441263", + "attrs": { + "alignment_offset": "0", + "dev": "252:18", + "discard_alignment": "0", + "inflight": " 0 0", + "partition": "2", + "ro": "0", + "size": "536870912", + "start": "4096", + "stat": " 170 0 8752 12 0 0 0 0 0 144 0 0 0 0 0", + "subsystem": "block", + "uevent": "MAJOR=252\nMINOR=18\nDEVNAME=vdb2\nDEVTYPE=partition\nPARTN=2\nPARTNAME=primary" + }, + "partitiontable": { + "device": "/dev/vdb2", + "id": "0x00000000", + "label": "dos", + "partitions": [], + "unit": "sectors" + } + }, + "/dev/vdb3": { + "DEVLINKS": "/dev/disk/by-partlabel/primary /dev/disk/by-partuuid/fffa85b8-d2a4-45d0-bdb5-19bee357bc3a /dev/disk/by-id/virtio-serial1-part3 /dev/disk/by-path/virtio-pci-0000:00:05.0-part3 /dev/disk/by-path/pci-0000:00:05.0-part3", + "DEVNAME": "/dev/vdb3", + "DEVPATH": "/devices/pci0000:00/0000:00:05.0/virtio1/block/vdb/vdb3", + "DEVTYPE": "partition", + "ID_PART_ENTRY_DISK": "252:16", + "ID_PART_ENTRY_NAME": "primary", + "ID_PART_ENTRY_NUMBER": "3", + "ID_PART_ENTRY_OFFSET": "1052672", + "ID_PART_ENTRY_SCHEME": "gpt", + "ID_PART_ENTRY_SIZE": "16384", + "ID_PART_ENTRY_TYPE": "9e1a2d38-c612-4316-aa26-8b49521e5a8b", + "ID_PART_ENTRY_UUID": "fffa85b8-d2a4-45d0-bdb5-19bee357bc3a", + "ID_PART_TABLE_TYPE": "gpt", + "ID_PART_TABLE_UUID": "69d0da07-9bea-4aab-a876-219fc2fb6495", + "ID_PATH": "pci-0000:00:05.0", + "ID_PATH_TAG": "pci-0000_00_05_0", + "ID_SCSI": "1", + "ID_SERIAL": "serial1", + "MAJOR": "252", + "MINOR": "19", + "PARTN": "3", + "PARTNAME": "primary", + "SUBSYSTEM": "block", + "TAGS": ":systemd:", + "USEC_INITIALIZED": "8467979", + "attrs": { + "alignment_offset": "0", + "dev": "252:19", + "discard_alignment": "0", + "inflight": " 0 0", + "partition": "3", + "ro": "0", + "size": "8388608", + "start": "1052672", + "stat": " 230 0 1840 16 0 0 0 0 0 172 0 0 0 0 0", + "subsystem": "block", + "uevent": "MAJOR=252\nMINOR=19\nDEVNAME=vdb3\nDEVTYPE=partition\nPARTN=3\nPARTNAME=primary" + } + }, + "/dev/vdb4": { + "DEVLINKS": "/dev/disk/by-partlabel/primary /dev/disk/by-partuuid/b7a3fa62-de81-45bf-ae8a-63a6bce26d75 /dev/disk/by-uuid/adc9a936-80b3-4988-b2b2-57f0b5eaf169 /dev/disk/by-path/pci-0000:00:05.0-part4 /dev/disk/by-id/virtio-serial1-part4 /dev/disk/by-path/virtio-pci-0000:00:05.0-part4", + "DEVNAME": "/dev/vdb4", + "DEVPATH": "/devices/pci0000:00/0000:00:05.0/virtio1/block/vdb/vdb4", + "DEVTYPE": "partition", + "ID_FS_TYPE": "swap", + "ID_FS_USAGE": "other", + "ID_FS_UUID": "adc9a936-80b3-4988-b2b2-57f0b5eaf169", + "ID_FS_UUID_ENC": "adc9a936-80b3-4988-b2b2-57f0b5eaf169", + "ID_FS_VERSION": "1", + "ID_PART_ENTRY_DISK": "252:16", + "ID_PART_ENTRY_NAME": "primary", + "ID_PART_ENTRY_NUMBER": "4", + "ID_PART_ENTRY_OFFSET": "1069056", + "ID_PART_ENTRY_SCHEME": "gpt", + "ID_PART_ENTRY_SIZE": "1028096", + "ID_PART_ENTRY_TYPE": "0657fd6d-a4ab-43c4-84e5-0933c84b4f4f", + "ID_PART_ENTRY_UUID": "b7a3fa62-de81-45bf-ae8a-63a6bce26d75", + "ID_PART_TABLE_TYPE": "gpt", + "ID_PART_TABLE_UUID": "69d0da07-9bea-4aab-a876-219fc2fb6495", + "ID_PATH": "pci-0000:00:05.0", + "ID_PATH_TAG": "pci-0000_00_05_0", + "ID_SCSI": "1", + "ID_SERIAL": "serial1", + "MAJOR": "252", + "MINOR": "20", + "PARTN": "4", + "PARTNAME": "primary", + "SUBSYSTEM": "block", + "TAGS": ":systemd:", + "USEC_INITIALIZED": "8424763", + "attrs": { + "alignment_offset": "0", + "dev": "252:20", + "discard_alignment": "0", + "inflight": " 0 0", + "partition": "4", + "ro": "0", + "size": "526385152", + "start": "1069056", + "stat": " 188 0 8928 13 0 0 0 0 0 80 0 0 0 0 0", + "subsystem": "block", + "uevent": "MAJOR=252\nMINOR=20\nDEVNAME=vdb4\nDEVTYPE=partition\nPARTN=4\nPARTNAME=primary" + } + }, + "/dev/vdb5": { + "DEVLINKS": "/dev/disk/by-path/virtio-pci-0000:00:05.0-part5 /dev/disk/by-id/virtio-serial1-part5 /dev/disk/by-partlabel/primary /dev/disk/by-label/root /dev/disk/by-path/pci-0000:00:05.0-part5 /dev/disk/by-partuuid/46dc3aee-f530-4820-8202-2e42b29cf2c7 /dev/disk/by-uuid/70115965-56dd-4de3-bdb2-8ecdb9a5c715", + "DEVNAME": "/dev/vdb5", + "DEVPATH": "/devices/pci0000:00/0000:00:05.0/virtio1/block/vdb/vdb5", + "DEVTYPE": "partition", + "ID_FS_LABEL": "root", + "ID_FS_LABEL_ENC": "root", + "ID_FS_TYPE": "ext4", + "ID_FS_USAGE": "filesystem", + "ID_FS_UUID": "70115965-56dd-4de3-bdb2-8ecdb9a5c715", + "ID_FS_UUID_ENC": "70115965-56dd-4de3-bdb2-8ecdb9a5c715", + "ID_FS_VERSION": "1.0", + "ID_PART_ENTRY_DISK": "252:16", + "ID_PART_ENTRY_NAME": "primary", + "ID_PART_ENTRY_NUMBER": "5", + "ID_PART_ENTRY_OFFSET": "2097152", + "ID_PART_ENTRY_SCHEME": "gpt", + "ID_PART_ENTRY_SIZE": "8388608", + "ID_PART_ENTRY_TYPE": "0fc63daf-8483-4772-8e79-3d69d8477de4", + "ID_PART_ENTRY_UUID": "46dc3aee-f530-4820-8202-2e42b29cf2c7", + "ID_PART_TABLE_TYPE": "gpt", + "ID_PART_TABLE_UUID": "69d0da07-9bea-4aab-a876-219fc2fb6495", + "ID_PATH": "pci-0000:00:05.0", + "ID_PATH_TAG": "pci-0000_00_05_0", + "ID_SCSI": "1", + "ID_SERIAL": "serial1", + "MAJOR": "252", + "MINOR": "21", + "PARTN": "5", + "PARTNAME": "primary", + "SUBSYSTEM": "block", + "TAGS": ":systemd:", + "USEC_INITIALIZED": "8426791", + "attrs": { + "alignment_offset": "0", + "dev": "252:21", + "discard_alignment": "0", + "inflight": " 0 0", + "partition": "5", + "ro": "0", + "size": "4294967296", + "start": "2097152", + "stat": " 198 0 9808 13 0 0 0 0 0 120 0 0 0 0 0", + "subsystem": "block", + "uevent": "MAJOR=252\nMINOR=21\nDEVNAME=vdb5\nDEVTYPE=partition\nPARTN=5\nPARTNAME=primary" + } + }, + "/dev/vdb6": { + "DEVLINKS": "/dev/disk/by-label/home /dev/disk/by-path/virtio-pci-0000:00:05.0-part6 /dev/disk/by-partlabel/primary /dev/disk/by-path/pci-0000:00:05.0-part6 /dev/disk/by-partuuid/05b1c69c-5b00-4d35-85ed-61812ec572f5 /dev/disk/by-uuid/adc43c72-eff5-4ec1-98c4-7dea2a6596c9 /dev/disk/by-id/virtio-serial1-part6", + "DEVNAME": "/dev/vdb6", + "DEVPATH": "/devices/pci0000:00/0000:00:05.0/virtio1/block/vdb/vdb6", + "DEVTYPE": "partition", + "ID_FS_LABEL": "home", + "ID_FS_LABEL_ENC": "home", + "ID_FS_TYPE": "xfs", + "ID_FS_USAGE": "filesystem", + "ID_FS_UUID": "adc43c72-eff5-4ec1-98c4-7dea2a6596c9", + "ID_FS_UUID_ENC": "adc43c72-eff5-4ec1-98c4-7dea2a6596c9", + "ID_PART_ENTRY_DISK": "252:16", + "ID_PART_ENTRY_NAME": "primary", + "ID_PART_ENTRY_NUMBER": "6", + "ID_PART_ENTRY_OFFSET": "10485760", + "ID_PART_ENTRY_SCHEME": "gpt", + "ID_PART_ENTRY_SIZE": "10483713", + "ID_PART_ENTRY_TYPE": "0fc63daf-8483-4772-8e79-3d69d8477de4", + "ID_PART_ENTRY_UUID": "05b1c69c-5b00-4d35-85ed-61812ec572f5", + "ID_PART_TABLE_TYPE": "gpt", + "ID_PART_TABLE_UUID": "69d0da07-9bea-4aab-a876-219fc2fb6495", + "ID_PATH": "pci-0000:00:05.0", + "ID_PATH_TAG": "pci-0000_00_05_0", + "ID_SCSI": "1", + "ID_SERIAL": "serial1", + "MAJOR": "252", + "MINOR": "22", + "PARTN": "6", + "PARTNAME": "primary", + "SUBSYSTEM": "block", + "TAGS": ":systemd:", + "USEC_INITIALIZED": "8436002", + "attrs": { + "alignment_offset": "0", + "dev": "252:22", + "discard_alignment": "0", + "inflight": " 0 0", + "partition": "6", + "ro": "0", + "size": "5367661056", + "start": "10485760", + "stat": " 198 0 8710 13 0 0 0 0 0 100 0 0 0 0 0", + "subsystem": "block", + "uevent": "MAJOR=252\nMINOR=22\nDEVNAME=vdb6\nDEVTYPE=partition\nPARTN=6\nPARTNAME=primary" + } + }, + "/dev/vdc": { + "DEVLINKS": "/dev/disk/by-path/virtio-pci-0000:00:06.0 /dev/disk/by-path/pci-0000:00:06.0 /dev/disk/by-id/virtio-serial2", + "DEVNAME": "/dev/vdc", + "DEVPATH": "/devices/pci0000:00/0000:00:06.0/virtio2/block/vdc", + "DEVTYPE": "disk", + "ID_PART_TABLE_TYPE": "gpt", + "ID_PART_TABLE_UUID": "7140eecc-47ac-44a0-87ba-90bcb18e3e9f", + "ID_PATH": "pci-0000:00:06.0", + "ID_PATH_TAG": "pci-0000_00_06_0", + "ID_SERIAL": "serial2", + "MAJOR": "252", + "MINOR": "32", + "SUBSYSTEM": "block", + "TAGS": ":systemd:", + "USEC_INITIALIZED": "8436366", + "attrs": { + "alignment_offset": "0", + "bdi": null, + "cache_type": "write back", + "capability": "50", + "dev": "252:32", + "device": null, + "discard_alignment": "0", + "ext_range": "256", + "hidden": "0", + "inflight": " 0 0", + "range": "16", + "removable": "0", + "ro": "0", + "serial": "serial2", + "size": "10737418240", + "stat": " 505 0 13936 39 0 0 0 0 0 348 0 0 0 0 0", + "subsystem": "block", + "uevent": "MAJOR=252\nMINOR=32\nDEVNAME=vdc\nDEVTYPE=disk" + }, + "partitiontable": { + "device": "/dev/vdc", + "firstlba": 34, + "id": "7140EECC-47AC-44A0-87BA-90BCB18E3E9F", + "label": "gpt", + "lastlba": 20971486, + "partitions": [ + { + "name": "primary", + "node": "/dev/vdc1", + "size": 20967425, + "start": 2048, + "type": "0FC63DAF-8483-4772-8E79-3D69D8477DE4", + "uuid": "0FE048F5-66FB-4327-835B-17AA5A0A287A" + } + ], + "unit": "sectors" + } + }, + "/dev/vdc1": { + "DEVLINKS": "/dev/disk/by-id/virtio-serial2-part1 /dev/disk/by-path/virtio-pci-0000:00:06.0-part1 /dev/disk/by-partlabel/primary /dev/disk/by-path/pci-0000:00:06.0-part1 /dev/disk/by-partuuid/0fe048f5-66fb-4327-835b-17aa5a0a287a", + "DEVNAME": "/dev/vdc1", + "DEVPATH": "/devices/pci0000:00/0000:00:06.0/virtio2/block/vdc/vdc1", + "DEVTYPE": "partition", + "ID_FS_LABEL": "ringil:foobar", + "ID_FS_LABEL_ENC": "ringil:foobar", + "ID_FS_TYPE": "linux_raid_member", + "ID_FS_USAGE": "raid", + "ID_FS_UUID": "26d43bb7-2b9b-b08e-6912-462ad6572672", + "ID_FS_UUID_ENC": "26d43bb7-2b9b-b08e-6912-462ad6572672", + "ID_FS_UUID_SUB": "dee1d419-9d1e-1649-ba2d-ed472657e7d7", + "ID_FS_UUID_SUB_ENC": "dee1d419-9d1e-1649-ba2d-ed472657e7d7", + "ID_FS_VERSION": "1.2", + "ID_PART_ENTRY_DISK": "252:32", + "ID_PART_ENTRY_NAME": "primary", + "ID_PART_ENTRY_NUMBER": "1", + "ID_PART_ENTRY_OFFSET": "2048", + "ID_PART_ENTRY_SCHEME": "gpt", + "ID_PART_ENTRY_SIZE": "20967425", + "ID_PART_ENTRY_TYPE": "0fc63daf-8483-4772-8e79-3d69d8477de4", + "ID_PART_ENTRY_UUID": "0fe048f5-66fb-4327-835b-17aa5a0a287a", + "ID_PART_TABLE_TYPE": "gpt", + "ID_PART_TABLE_UUID": "7140eecc-47ac-44a0-87ba-90bcb18e3e9f", + "ID_PATH": "pci-0000:00:06.0", + "ID_PATH_TAG": "pci-0000_00_06_0", + "ID_SCSI": "1", + "ID_SERIAL": "serial2", + "MAJOR": "252", + "MINOR": "33", + "PARTN": "1", + "PARTNAME": "primary", + "SUBSYSTEM": "block", + "TAGS": ":systemd:", + "USEC_INITIALIZED": "8488491", + "attrs": { + "alignment_offset": "0", + "dev": "252:33", + "discard_alignment": "0", + "inflight": " 0 0", + "partition": "1", + "ro": "0", + "size": "10735321600", + "start": "2048", + "stat": " 402 0 9680 33 0 0 0 0 0 332 0 0 0 0 0", + "subsystem": "block", + "uevent": "MAJOR=252\nMINOR=33\nDEVNAME=vdc1\nDEVTYPE=partition\nPARTN=1\nPARTNAME=primary" + } + }, + "/dev/vdd": { + "DEVLINKS": "/dev/disk/by-id/virtio-serial3 /dev/disk/by-path/pci-0000:00:07.0 /dev/disk/by-path/virtio-pci-0000:00:07.0", + "DEVNAME": "/dev/vdd", + "DEVPATH": "/devices/pci0000:00/0000:00:07.0/virtio3/block/vdd", + "DEVTYPE": "disk", + "ID_PART_TABLE_TYPE": "gpt", + "ID_PART_TABLE_UUID": "c89bf1e1-e8fe-44da-9d20-115afc79e1ef", + "ID_PATH": "pci-0000:00:07.0", + "ID_PATH_TAG": "pci-0000_00_07_0", + "ID_SERIAL": "serial3", + "MAJOR": "252", + "MINOR": "48", + "SUBSYSTEM": "block", + "TAGS": ":systemd:", + "USEC_INITIALIZED": "8439248", + "attrs": { + "alignment_offset": "0", + "bdi": null, + "cache_type": "write back", + "capability": "50", + "dev": "252:48", + "device": null, + "discard_alignment": "0", + "ext_range": "256", + "hidden": "0", + "inflight": " 0 0", + "range": "16", + "removable": "0", + "ro": "0", + "serial": "serial3", + "size": "10737418240", + "stat": " 212 0 5720 22 0 0 0 0 0 192 0 0 0 0 0", + "subsystem": "block", + "uevent": "MAJOR=252\nMINOR=48\nDEVNAME=vdd\nDEVTYPE=disk" + }, + "partitiontable": { + "device": "/dev/vdd", + "firstlba": 34, + "id": "C89BF1E1-E8FE-44DA-9D20-115AFC79E1EF", + "label": "gpt", + "lastlba": 20971486, + "partitions": [ + { + "name": "primary", + "node": "/dev/vdd1", + "size": 20967425, + "start": 2048, + "type": "0FC63DAF-8483-4772-8E79-3D69D8477DE4", + "uuid": "FB1659A8-5D98-40D1-823B-8507ADA1A1AC" + } + ], + "unit": "sectors" + } + }, + "/dev/vdd1": { + "DEVLINKS": "/dev/disk/by-path/virtio-pci-0000:00:07.0-part1 /dev/disk/by-path/pci-0000:00:07.0-part1 /dev/disk/by-partuuid/fb1659a8-5d98-40d1-823b-8507ada1a1ac /dev/disk/by-id/virtio-serial3-part1 /dev/disk/by-partlabel/primary", + "DEVNAME": "/dev/vdd1", + "DEVPATH": "/devices/pci0000:00/0000:00:07.0/virtio3/block/vdd/vdd1", + "DEVTYPE": "partition", + "ID_FS_LABEL": "ringil:foobar", + "ID_FS_LABEL_ENC": "ringil:foobar", + "ID_FS_TYPE": "linux_raid_member", + "ID_FS_USAGE": "raid", + "ID_FS_UUID": "26d43bb7-2b9b-b08e-6912-462ad6572672", + "ID_FS_UUID_ENC": "26d43bb7-2b9b-b08e-6912-462ad6572672", + "ID_FS_UUID_SUB": "460df2a7-b091-4922-4302-5db1efde510a", + "ID_FS_UUID_SUB_ENC": "460df2a7-b091-4922-4302-5db1efde510a", + "ID_FS_VERSION": "1.2", + "ID_PART_ENTRY_DISK": "252:48", + "ID_PART_ENTRY_NAME": "primary", + "ID_PART_ENTRY_NUMBER": "1", + "ID_PART_ENTRY_OFFSET": "2048", + "ID_PART_ENTRY_SCHEME": "gpt", + "ID_PART_ENTRY_SIZE": "20967425", + "ID_PART_ENTRY_TYPE": "0fc63daf-8483-4772-8e79-3d69d8477de4", + "ID_PART_ENTRY_UUID": "fb1659a8-5d98-40d1-823b-8507ada1a1ac", + "ID_PART_TABLE_TYPE": "gpt", + "ID_PART_TABLE_UUID": "c89bf1e1-e8fe-44da-9d20-115afc79e1ef", + "ID_PATH": "pci-0000:00:07.0", + "ID_PATH_TAG": "pci-0000_00_07_0", + "ID_SCSI": "1", + "ID_SERIAL": "serial3", + "MAJOR": "252", + "MINOR": "49", + "PARTN": "1", + "PARTNAME": "primary", + "SUBSYSTEM": "block", + "TAGS": ":systemd:", + "USEC_INITIALIZED": "8644452", + "attrs": { + "alignment_offset": "0", + "dev": "252:49", + "discard_alignment": "0", + "inflight": " 0 0", + "partition": "1", + "ro": "0", + "size": "10735321600", + "start": "2048", + "stat": " 109 0 1464 15 0 0 0 0 0 188 0 0 0 0 0", + "subsystem": "block", + "uevent": "MAJOR=252\nMINOR=49\nDEVNAME=vdd1\nDEVTYPE=partition\nPARTN=1\nPARTNAME=primary" + } + }, + "/dev/vde": { + "DEVLINKS": "/dev/disk/by-path/pci-0000:00:08.0 /dev/disk/by-id/virtio-serial4 /dev/disk/by-path/virtio-pci-0000:00:08.0", + "DEVNAME": "/dev/vde", + "DEVPATH": "/devices/pci0000:00/0000:00:08.0/virtio4/block/vde", + "DEVTYPE": "disk", + "ID_PART_TABLE_TYPE": "gpt", + "ID_PART_TABLE_UUID": "e8dc71da-61af-4eb4-a3f9-cc3c49a2e878", + "ID_PATH": "pci-0000:00:08.0", + "ID_PATH_TAG": "pci-0000_00_08_0", + "ID_SERIAL": "serial4", + "MAJOR": "252", + "MINOR": "64", + "SUBSYSTEM": "block", + "TAGS": ":systemd:", + "USEC_INITIALIZED": "8435033", + "attrs": { + "alignment_offset": "0", + "bdi": null, + "cache_type": "write back", + "capability": "50", + "dev": "252:64", + "device": null, + "discard_alignment": "0", + "ext_range": "256", + "hidden": "0", + "inflight": " 0 0", + "range": "16", + "removable": "0", + "ro": "0", + "serial": "serial4", + "size": "10737418240", + "stat": " 551 0 14828 587 0 0 0 0 0 296 540 0 0 0 0", + "subsystem": "block", + "uevent": "MAJOR=252\nMINOR=64\nDEVNAME=vde\nDEVTYPE=disk" + }, + "partitiontable": { + "device": "/dev/vde", + "firstlba": 34, + "id": "E8DC71DA-61AF-4EB4-A3F9-CC3C49A2E878", + "label": "gpt", + "lastlba": 20971486, + "partitions": [ + { + "name": "primary", + "node": "/dev/vde1", + "size": 20967425, + "start": 2048, + "type": "0FC63DAF-8483-4772-8E79-3D69D8477DE4", + "uuid": "182CEEE0-1AFA-48D3-8840-B8C998C461B7" + } + ], + "unit": "sectors" + } + }, + "/dev/vde1": { + "DEVLINKS": "/dev/disk/by-partuuid/182ceee0-1afa-48d3-8840-b8c998c461b7 /dev/disk/by-id/virtio-serial4-part1 /dev/disk/by-path/virtio-pci-0000:00:08.0-part1 /dev/disk/by-partlabel/primary /dev/disk/by-id/lvm-pv-uuid-jPz0UV-fakc-37mX-T5aJ-MqZT-IQNR-6Hfq9V /dev/disk/by-path/pci-0000:00:08.0-part1", + "DEVNAME": "/dev/vde1", + "DEVPATH": "/devices/pci0000:00/0000:00:08.0/virtio4/block/vde/vde1", + "DEVTYPE": "partition", + "ID_FS_TYPE": "LVM2_member", + "ID_FS_USAGE": "raid", + "ID_FS_UUID": "jPz0UV-fakc-37mX-T5aJ-MqZT-IQNR-6Hfq9V", + "ID_FS_UUID_ENC": "jPz0UV-fakc-37mX-T5aJ-MqZT-IQNR-6Hfq9V", + "ID_FS_VERSION": "LVM2 001", + "ID_PART_ENTRY_DISK": "252:64", + "ID_PART_ENTRY_NAME": "primary", + "ID_PART_ENTRY_NUMBER": "1", + "ID_PART_ENTRY_OFFSET": "2048", + "ID_PART_ENTRY_SCHEME": "gpt", + "ID_PART_ENTRY_SIZE": "20967425", + "ID_PART_ENTRY_TYPE": "0fc63daf-8483-4772-8e79-3d69d8477de4", + "ID_PART_ENTRY_UUID": "182ceee0-1afa-48d3-8840-b8c998c461b7", + "ID_PART_TABLE_TYPE": "gpt", + "ID_PART_TABLE_UUID": "e8dc71da-61af-4eb4-a3f9-cc3c49a2e878", + "ID_PATH": "pci-0000:00:08.0", + "ID_PATH_TAG": "pci-0000_00_08_0", + "ID_SCSI": "1", + "ID_SERIAL": "serial4", + "MAJOR": "252", + "MINOR": "65", + "PARTN": "1", + "PARTNAME": "primary", + "SUBSYSTEM": "block", + "TAGS": ":systemd:", + "USEC_INITIALIZED": "8457379", + "attrs": { + "alignment_offset": "0", + "dev": "252:65", + "discard_alignment": "0", + "inflight": " 0 0", + "partition": "1", + "ro": "0", + "size": "10735321600", + "start": "2048", + "stat": " 351 0 6340 25 0 0 0 0 0 220 0 0 0 0 0", + "subsystem": "block", + "uevent": "MAJOR=252\nMINOR=65\nDEVNAME=vde1\nDEVTYPE=partition\nPARTN=1\nPARTNAME=primary" + } + } + }, + "dmcrypt": {}, + "filesystem": { + "/dev/dm-0": { + "LABEL": "lv", + "LABEL_ENC": "lv", + "TYPE": "ext4", + "USAGE": "filesystem", + "UUID": "6a13a61c-51d5-46b8-bb97-02341f79e003", + "UUID_ENC": "6a13a61c-51d5-46b8-bb97-02341f79e003", + "VERSION": "1.0" + }, + "/dev/md127": { + "LABEL": "data", + "LABEL_ENC": "data", + "TYPE": "ext4", + "USAGE": "filesystem", + "UUID": "f59e9a4e-2ffd-4746-8f3c-1a6fd3556ba4", + "UUID_ENC": "f59e9a4e-2ffd-4746-8f3c-1a6fd3556ba4", + "VERSION": "1.0" + }, + "/dev/vda": { + "BOOT_SYSTEM_ID": "EL\\x20TORITO\\x20SPECIFICATION", + "LABEL": "Ubuntu_custom_amd64", + "LABEL_ENC": "Ubuntu\\x20custom\\x20amd64", + "TYPE": "iso9660", + "USAGE": "filesystem", + "UUID": "2019-05-23-03-04-53-00", + "UUID_ENC": "2019-05-23-03-04-53-00", + "VERSION": "Joliet Extension" + }, + "/dev/vda1": { + "BOOT_SYSTEM_ID": "EL\\x20TORITO\\x20SPECIFICATION", + "LABEL": "Ubuntu_custom_amd64", + "LABEL_ENC": "Ubuntu\\x20custom\\x20amd64", + "TYPE": "iso9660", + "USAGE": "filesystem", + "UUID": "2019-05-23-03-04-53-00", + "UUID_ENC": "2019-05-23-03-04-53-00", + "VERSION": "Joliet Extension" + }, + "/dev/vda2": { + "BOOT_SYSTEM_ID": "EL\\x20TORITO\\x20SPECIFICATION", + "LABEL": "Ubuntu_custom_amd64", + "LABEL_ENC": "Ubuntu\\x20custom\\x20amd64", + "TYPE": "vfat", + "USAGE": "filesystem", + "UUID": "039E-EF17", + "UUID_ENC": "039E-EF17", + "VERSION": "FAT12" + }, + "/dev/vdb2": { + "TYPE": "vfat", + "USAGE": "filesystem", + "UUID": "6A43-2198", + "UUID_ENC": "6A43-2198", + "VERSION": "FAT32" + }, + "/dev/vdb4": { + "TYPE": "swap", + "USAGE": "other", + "UUID": "adc9a936-80b3-4988-b2b2-57f0b5eaf169", + "UUID_ENC": "adc9a936-80b3-4988-b2b2-57f0b5eaf169", + "VERSION": "1" + }, + "/dev/vdb5": { + "LABEL": "root", + "LABEL_ENC": "root", + "TYPE": "ext4", + "USAGE": "filesystem", + "UUID": "70115965-56dd-4de3-bdb2-8ecdb9a5c715", + "UUID_ENC": "70115965-56dd-4de3-bdb2-8ecdb9a5c715", + "VERSION": "1.0" + }, + "/dev/vdb6": { + "LABEL": "home", + "LABEL_ENC": "home", + "TYPE": "xfs", + "USAGE": "filesystem", + "UUID": "adc43c72-eff5-4ec1-98c4-7dea2a6596c9", + "UUID_ENC": "adc43c72-eff5-4ec1-98c4-7dea2a6596c9" + } + }, + "lvm": { + "logical_volumes": { + "amazing-vg/my-lv1": { + "fullname": "amazing-vg/my-lv1", + "name": "my-lv1", + "size": "5364514816B", + "volgroup": "amazing-vg" + } + }, + "physical_volumes": { + "amazing-vg": [ + "/dev/vde1" + ] + }, + "volume_groups": { + "amazing-vg": { + "devices": [ + "/dev/vde1" + ], + "name": "amazing-vg", + "size": "10733223936B" + } + } + }, + "mount": [ + { + "children": [ + { + "children": [ + { + "fstype": "securityfs", + "options": "rw,nosuid,nodev,noexec,relatime", + "source": "securityfs", + "target": "/sys/kernel/security" + }, + { + "children": [ + { + "fstype": "cgroup2", + "options": "rw,nosuid,nodev,noexec,relatime,nsdelegate", + "source": "cgroup2", + "target": "/sys/fs/cgroup/unified" + }, + { + "fstype": "cgroup", + "options": "rw,nosuid,nodev,noexec,relatime,xattr,name=systemd", + "source": "cgroup", + "target": "/sys/fs/cgroup/systemd" + }, + { + "fstype": "cgroup", + "options": "rw,nosuid,nodev,noexec,relatime,freezer", + "source": "cgroup", + "target": "/sys/fs/cgroup/freezer" + }, + { + "fstype": "cgroup", + "options": "rw,nosuid,nodev,noexec,relatime,hugetlb", + "source": "cgroup", + "target": "/sys/fs/cgroup/hugetlb" + }, + { + "fstype": "cgroup", + "options": "rw,nosuid,nodev,noexec,relatime,pids", + "source": "cgroup", + "target": "/sys/fs/cgroup/pids" + }, + { + "fstype": "cgroup", + "options": "rw,nosuid,nodev,noexec,relatime,cpu,cpuacct", + "source": "cgroup", + "target": "/sys/fs/cgroup/cpu,cpuacct" + }, + { + "fstype": "cgroup", + "options": "rw,nosuid,nodev,noexec,relatime,net_cls,net_prio", + "source": "cgroup", + "target": "/sys/fs/cgroup/net_cls,net_prio" + }, + { + "fstype": "cgroup", + "options": "rw,nosuid,nodev,noexec,relatime,cpuset", + "source": "cgroup", + "target": "/sys/fs/cgroup/cpuset" + }, + { + "fstype": "cgroup", + "options": "rw,nosuid,nodev,noexec,relatime,blkio", + "source": "cgroup", + "target": "/sys/fs/cgroup/blkio" + }, + { + "fstype": "cgroup", + "options": "rw,nosuid,nodev,noexec,relatime,devices", + "source": "cgroup", + "target": "/sys/fs/cgroup/devices" + }, + { + "fstype": "cgroup", + "options": "rw,nosuid,nodev,noexec,relatime,memory", + "source": "cgroup", + "target": "/sys/fs/cgroup/memory" + }, + { + "fstype": "cgroup", + "options": "rw,nosuid,nodev,noexec,relatime,rdma", + "source": "cgroup", + "target": "/sys/fs/cgroup/rdma" + }, + { + "fstype": "cgroup", + "options": "rw,nosuid,nodev,noexec,relatime,perf_event", + "source": "cgroup", + "target": "/sys/fs/cgroup/perf_event" + } + ], + "fstype": "tmpfs", + "options": "ro,nosuid,nodev,noexec,mode=755", + "source": "tmpfs", + "target": "/sys/fs/cgroup" + }, + { + "fstype": "pstore", + "options": "rw,nosuid,nodev,noexec,relatime", + "source": "pstore", + "target": "/sys/fs/pstore" + }, + { + "fstype": "bpf", + "options": "rw,nosuid,nodev,noexec,relatime,mode=700", + "source": "bpf", + "target": "/sys/fs/bpf" + }, + { + "fstype": "debugfs", + "options": "rw,relatime", + "source": "debugfs", + "target": "/sys/kernel/debug" + }, + { + "fstype": "configfs", + "options": "rw,relatime", + "source": "configfs", + "target": "/sys/kernel/config" + }, + { + "fstype": "fusectl", + "options": "rw,relatime", + "source": "fusectl", + "target": "/sys/fs/fuse/connections" + } + ], + "fstype": "sysfs", + "options": "rw,nosuid,nodev,noexec,relatime", + "source": "sysfs", + "target": "/sys" + }, + { + "children": [ + { + "fstype": "autofs", + "options": "rw,relatime,fd=25,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=13916", + "source": "systemd-1", + "target": "/proc/sys/fs/binfmt_misc" + } + ], + "fstype": "proc", + "options": "rw,nosuid,nodev,noexec,relatime", + "source": "proc", + "target": "/proc" + }, + { + "children": [ + { + "fstype": "devpts", + "options": "rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000", + "source": "devpts", + "target": "/dev/pts" + }, + { + "fstype": "tmpfs", + "options": "rw,nosuid,nodev", + "source": "tmpfs", + "target": "/dev/shm" + }, + { + "fstype": "hugetlbfs", + "options": "rw,relatime,pagesize=2M", + "source": "hugetlbfs", + "target": "/dev/hugepages" + }, + { + "fstype": "mqueue", + "options": "rw,relatime", + "source": "mqueue", + "target": "/dev/mqueue" + } + ], + "fstype": "devtmpfs", + "options": "rw,nosuid,relatime,size=467220k,nr_inodes=116805,mode=755", + "source": "udev", + "target": "/dev" + }, + { + "children": [ + { + "fstype": "tmpfs", + "options": "rw,nosuid,nodev,noexec,relatime,size=5120k", + "source": "tmpfs", + "target": "/run/lock" + }, + { + "fstype": "tmpfs", + "options": "rw,nosuid,nodev,relatime,size=100540k,mode=700,uid=999,gid=999", + "source": "tmpfs", + "target": "/run/user/999" + } + ], + "fstype": "tmpfs", + "options": "rw,nosuid,noexec,relatime,size=100544k,mode=755", + "source": "tmpfs", + "target": "/run" + }, + { + "fstype": "iso9660", + "options": "ro,noatime,nojoliet,check=s,map=n,blocksize=2048", + "source": "/dev/vda", + "target": "/cdrom" + }, + { + "fstype": "squashfs", + "options": "ro,noatime", + "source": "/dev/loop0", + "target": "/rofs" + }, + { + "fstype": "squashfs", + "options": "ro,relatime", + "source": "/dev/loop2", + "target": "/usr/lib/modules" + }, + { + "fstype": "squashfs", + "options": "ro,relatime", + "source": "/dev/loop3", + "target": "/media/region.lower" + }, + { + "fstype": "squashfs", + "options": "ro,relatime", + "source": "/dev/loop0", + "target": "/media/filesystem" + }, + { + "fstype": "tmpfs", + "options": "rw,nosuid,nodev,relatime", + "source": "tmpfs", + "target": "/tmp" + }, + { + "fstype": "squashfs", + "options": "ro,relatime", + "source": "/dev/loop4", + "target": "/media/rack.lower" + }, + { + "fstype": "overlay", + "options": "ro,relatime,lowerdir=/media/region.lower:/media/rack.lower:/media/filesystem", + "source": "overlay", + "target": "/media/region" + }, + { + "fstype": "overlay", + "options": "ro,relatime,lowerdir=/media/rack.lower:/media/filesystem", + "source": "overlay", + "target": "/media/rack" + }, + { + "fstype": "squashfs", + "options": "ro,nodev,relatime", + "source": "/dev/loop5", + "target": "/snap/core/6673" + }, + { + "fstype": "squashfs", + "options": "ro,nodev,relatime", + "source": "/dev/loop6", + "target": "/snap/subiquity/x1" + } + ], + "fstype": "overlay", + "options": "rw,relatime,lowerdir=//installer.squashfs://filesystem.squashfs,upperdir=/cow/upper,workdir=/cow/work", + "source": "/cow", + "target": "/" + } + ], + "multipath": {}, + "raid": { + "/dev/md127": { + "DEVLINKS": "/dev/disk/by-uuid/f59e9a4e-2ffd-4746-8f3c-1a6fd3556ba4 /dev/disk/by-label/data /dev/disk/by-id/md-uuid-26d43bb7:2b9bb08e:6912462a:d6572672 /dev/disk/by-id/md-name-ringil:foobar /dev/md/ringil:foobar", + "DEVNAME": "/dev/md127", + "DEVPATH": "/devices/virtual/block/md127", + "DEVTYPE": "disk", + "ID_FS_LABEL": "data", + "ID_FS_LABEL_ENC": "data", + "ID_FS_TYPE": "ext4", + "ID_FS_USAGE": "filesystem", + "ID_FS_UUID": "f59e9a4e-2ffd-4746-8f3c-1a6fd3556ba4", + "ID_FS_UUID_ENC": "f59e9a4e-2ffd-4746-8f3c-1a6fd3556ba4", + "ID_FS_VERSION": "1.0", + "MAJOR": "9", + "MD_DEVICES": "2", + "MD_DEVICE_ev_vdc1_DEV": "/dev/vdc1", + "MD_DEVICE_ev_vdc1_ROLE": "0", + "MD_DEVICE_ev_vdd1_DEV": "/dev/vdd1", + "MD_DEVICE_ev_vdd1_ROLE": "1", + "MD_DEVNAME": "ringil:foobar", + "MD_LEVEL": "raid1", + "MD_METADATA": "1.2", + "MD_NAME": "ringil:foobar", + "MD_UUID": "26d43bb7:2b9bb08e:6912462a:d6572672", + "MINOR": "127", + "SUBSYSTEM": "block", + "SYSTEMD_WANTS": "mdmonitor.service", + "TAGS": ":systemd:", + "USEC_INITIALIZED": "8488818", + "devices": [ + "/dev/vdc1", + "/dev/vdd1" + ], + "raidlevel": "raid1", + "spare_devices": [] + } + }, + "zfs": { + "zpools": {} + } + } +} diff --git a/examples/simple.json b/examples/simple.json new file mode 100644 index 00000000..b6e75850 --- /dev/null +++ b/examples/simple.json @@ -0,0 +1,697 @@ +{ + "network": { + "links": [ + { + "addresses": [ + { + "address": "10.0.2.15/24", + "family": 2, + "scope": "global", + "source": "dhcp" + }, + { + "address": "fec0::5054:ff:fe12:3456/64", + "family": 10, + "scope": "site", + "source": "dhcp" + }, + { + "address": "fe80::5054:ff:fe12:3456/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": "82540EM Gigabit Ethernet Controller (QEMU Virtual Machine)", + "ID_MODEL_ID": "0x100e", + "ID_NET_NAME_MAC": "enx525400123456", + "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": "Intel Corporation", + "ID_VENDOR_ID": "0x8086", + "IFINDEX": "2", + "INTERFACE": "ens3", + "SUBSYSTEM": "net", + "SYSTEMD_ALIAS": "/sys/subsystem/net/devices/ens3", + "TAGS": ":systemd:", + "USEC_INITIALIZED": "82651806", + "attrs": { + "addr_assign_type": "0", + "addr_len": "6", + "address": "52:54:00:12:34:56", + "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": "1000", + "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": "89206115", + "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": "10.0.2.0/24", + "family": 2, + "ifindex": 2, + "table": 254, + "type": 1 + }, + { + "dst": "10.0.2.2", + "family": 2, + "ifindex": 2, + "table": 254, + "type": 1 + }, + { + "dst": "10.0.2.0", + "family": 2, + "ifindex": 2, + "table": 255, + "type": 3 + }, + { + "dst": "10.0.2.15", + "family": 2, + "ifindex": 2, + "table": 255, + "type": 2 + }, + { + "dst": "10.0.2.255", + "family": 2, + "ifindex": 2, + "table": 255, + "type": 3 + }, + { + "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": "::1", + "family": 10, + "ifindex": 1, + "table": 254, + "type": 1 + }, + { + "dst": "fe80::/64", + "family": 10, + "ifindex": 2, + "table": 254, + "type": 1 + }, + { + "dst": "fec0::/64", + "family": 10, + "ifindex": 2, + "table": 254, + "type": 1 + }, + { + "dst": "default", + "family": 10, + "ifindex": 2, + "table": 254, + "type": 1 + }, + { + "dst": "::1", + "family": 10, + "ifindex": 1, + "table": 255, + "type": 2 + }, + { + "dst": "fe80::5054:ff:fe12:3456", + "family": 10, + "ifindex": 2, + "table": 255, + "type": 2 + }, + { + "dst": "fec0::5054:ff:fe12:3456", + "family": 10, + "ifindex": 2, + "table": 255, + "type": 2 + }, + { + "dst": "ff00::/8", + "family": 10, + "ifindex": 2, + "table": 255, + "type": 1 + } + ] + }, + "storage": { + "bcache": { + "backing": {}, + "caching": {} + }, + "blockdev": { + "/dev/fd0": { + "DEVNAME": "/dev/fd0", + "DEVPATH": "/devices/platform/floppy.0/block/fd0", + "DEVTYPE": "disk", + "MAJOR": "2", + "MINOR": "0", + "SUBSYSTEM": "block", + "TAGS": ":systemd:", + "USEC_INITIALIZED": "82216378", + "attrs": { + "alignment_offset": "0", + "bdi": null, + "capability": "11", + "dev": "2:0", + "device": null, + "discard_alignment": "0", + "events": "", + "events_async": "", + "events_poll_msecs": "-1", + "ext_range": "1", + "hidden": "0", + "inflight": " 0 0", + "range": "1", + "removable": "1", + "ro": "0", + "size": "4096", + "stat": " 1 0 8 68 0 0 0 0 0 8 68 0 0 0 0", + "subsystem": "block", + "uevent": "MAJOR=2\nMINOR=0\nDEVNAME=fd0\nDEVTYPE=disk" + } + }, + "/dev/sda": { + "DEVLINKS": "/dev/disk/by-id/scsi-0ATA_QEMU_HARDDISK_QM00001 /dev/disk/by-id/ata-QEMU_HARDDISK_QM00001 /dev/disk/by-id/scsi-1ATA_QEMU_HARDDISK_QM00001 /dev/disk/by-id/scsi-SATA_QEMU_HARDDISK_QM00001 /dev/disk/by-path/pci-0000:00:01.1-ata-1", + "DEVNAME": "/dev/sda", + "DEVPATH": "/devices/pci0000:00/0000:00:01.1/ata1/host0/target0:0:0/0:0:0:0/block/sda", + "DEVTYPE": "disk", + "ID_ATA": "1", + "ID_BUS": "ata", + "ID_MODEL": "QEMU_HARDDISK", + "ID_MODEL_ENC": "QEMU\\x20HARDDISK\\x20\\x20\\x20", + "ID_PATH": "pci-0000:00:01.1-ata-1", + "ID_PATH_TAG": "pci-0000_00_01_1-ata-1", + "ID_REVISION": "2.5+", + "ID_SCSI": "1", + "ID_SCSI_DI": "1", + "ID_SCSI_SN": "1", + "ID_SERIAL": "QEMU_HARDDISK_QM00001", + "ID_SERIAL_SHORT": "QM00001", + "ID_TYPE": "disk", + "ID_VENDOR": "ATA", + "ID_VENDOR_ENC": "ATA\\x20\\x20\\x20\\x20\\x20", + "MAJOR": "8", + "MINOR": "0", + "MPATH_SBIN_PATH": "/sbin", + "SCSI_IDENT_LUN_ATA": "QEMU_HARDDISK_QM00001", + "SCSI_IDENT_LUN_T10": "ATA_QEMU_HARDDISK_QM00001", + "SCSI_IDENT_LUN_VENDOR": "QM00001", + "SCSI_IDENT_SERIAL": "QM00001", + "SCSI_MODEL": "QEMU_HARDDISK", + "SCSI_MODEL_ENC": "QEMU\\x20HARDDISK\\x20\\x20\\x20", + "SCSI_REVISION": "2.5+", + "SCSI_TPGS": "0", + "SCSI_TYPE": "disk", + "SCSI_VENDOR": "ATA", + "SCSI_VENDOR_ENC": "ATA\\x20\\x20\\x20\\x20\\x20", + "SUBSYSTEM": "block", + "TAGS": ":systemd:", + "USEC_INITIALIZED": "82301144", + "attrs": { + "alignment_offset": "0", + "bdi": null, + "capability": "50", + "dev": "8:0", + "device": null, + "discard_alignment": "0", + "events": "", + "events_async": "", + "events_poll_msecs": "-1", + "ext_range": "256", + "hidden": "0", + "inflight": " 0 0", + "range": "16", + "removable": "0", + "ro": "0", + "size": "10737418240", + "stat": " 411 0 16968 119 0 0 0 0 0 264 0 0 0 0 0", + "subsystem": "block", + "uevent": "MAJOR=8\nMINOR=0\nDEVNAME=sda\nDEVTYPE=disk" + } + } + }, + "dmcrypt": {}, + "filesystem": { + }, + "lvm": {}, + "mount": [ + { + "children": [ + { + "children": [ + { + "fstype": "securityfs", + "options": "rw,nosuid,nodev,noexec,relatime", + "source": "securityfs", + "target": "/sys/kernel/security" + }, + { + "children": [ + { + "fstype": "cgroup2", + "options": "rw,nosuid,nodev,noexec,relatime,nsdelegate", + "source": "cgroup2", + "target": "/sys/fs/cgroup/unified" + }, + { + "fstype": "cgroup", + "options": "rw,nosuid,nodev,noexec,relatime,xattr,name=systemd", + "source": "cgroup", + "target": "/sys/fs/cgroup/systemd" + }, + { + "fstype": "cgroup", + "options": "rw,nosuid,nodev,noexec,relatime,rdma", + "source": "cgroup", + "target": "/sys/fs/cgroup/rdma" + }, + { + "fstype": "cgroup", + "options": "rw,nosuid,nodev,noexec,relatime,hugetlb", + "source": "cgroup", + "target": "/sys/fs/cgroup/hugetlb" + }, + { + "fstype": "cgroup", + "options": "rw,nosuid,nodev,noexec,relatime,pids", + "source": "cgroup", + "target": "/sys/fs/cgroup/pids" + }, + { + "fstype": "cgroup", + "options": "rw,nosuid,nodev,noexec,relatime,freezer", + "source": "cgroup", + "target": "/sys/fs/cgroup/freezer" + }, + { + "fstype": "cgroup", + "options": "rw,nosuid,nodev,noexec,relatime,memory", + "source": "cgroup", + "target": "/sys/fs/cgroup/memory" + }, + { + "fstype": "cgroup", + "options": "rw,nosuid,nodev,noexec,relatime,cpu,cpuacct", + "source": "cgroup", + "target": "/sys/fs/cgroup/cpu,cpuacct" + }, + { + "fstype": "cgroup", + "options": "rw,nosuid,nodev,noexec,relatime,cpuset", + "source": "cgroup", + "target": "/sys/fs/cgroup/cpuset" + }, + { + "fstype": "cgroup", + "options": "rw,nosuid,nodev,noexec,relatime,blkio", + "source": "cgroup", + "target": "/sys/fs/cgroup/blkio" + }, + { + "fstype": "cgroup", + "options": "rw,nosuid,nodev,noexec,relatime,perf_event", + "source": "cgroup", + "target": "/sys/fs/cgroup/perf_event" + }, + { + "fstype": "cgroup", + "options": "rw,nosuid,nodev,noexec,relatime,devices", + "source": "cgroup", + "target": "/sys/fs/cgroup/devices" + }, + { + "fstype": "cgroup", + "options": "rw,nosuid,nodev,noexec,relatime,net_cls,net_prio", + "source": "cgroup", + "target": "/sys/fs/cgroup/net_cls,net_prio" + } + ], + "fstype": "tmpfs", + "options": "ro,nosuid,nodev,noexec,mode=755", + "source": "tmpfs", + "target": "/sys/fs/cgroup" + }, + { + "fstype": "pstore", + "options": "rw,nosuid,nodev,noexec,relatime", + "source": "pstore", + "target": "/sys/fs/pstore" + }, + { + "fstype": "efivarfs", + "options": "rw,nosuid,nodev,noexec,relatime", + "source": "efivarfs", + "target": "/sys/firmware/efi/efivars" + }, + { + "fstype": "bpf", + "options": "rw,nosuid,nodev,noexec,relatime,mode=700", + "source": "bpf", + "target": "/sys/fs/bpf" + }, + { + "fstype": "debugfs", + "options": "rw,relatime", + "source": "debugfs", + "target": "/sys/kernel/debug" + }, + { + "fstype": "fusectl", + "options": "rw,relatime", + "source": "fusectl", + "target": "/sys/fs/fuse/connections" + }, + { + "fstype": "configfs", + "options": "rw,relatime", + "source": "configfs", + "target": "/sys/kernel/config" + } + ], + "fstype": "sysfs", + "options": "rw,nosuid,nodev,noexec,relatime", + "source": "sysfs", + "target": "/sys" + }, + { + "children": [ + { + "fstype": "autofs", + "options": "rw,relatime,fd=44,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=14037", + "source": "systemd-1", + "target": "/proc/sys/fs/binfmt_misc" + } + ], + "fstype": "proc", + "options": "rw,nosuid,nodev,noexec,relatime", + "source": "proc", + "target": "/proc" + }, + { + "children": [ + { + "fstype": "devpts", + "options": "rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000", + "source": "devpts", + "target": "/dev/pts" + }, + { + "fstype": "tmpfs", + "options": "rw,nosuid,nodev", + "source": "tmpfs", + "target": "/dev/shm" + }, + { + "fstype": "mqueue", + "options": "rw,relatime", + "source": "mqueue", + "target": "/dev/mqueue" + }, + { + "fstype": "hugetlbfs", + "options": "rw,relatime,pagesize=2M", + "source": "hugetlbfs", + "target": "/dev/hugepages" + } + ], + "fstype": "devtmpfs", + "options": "rw,nosuid,relatime,size=465256k,nr_inodes=116314,mode=755", + "source": "udev", + "target": "/dev" + }, + { + "children": [ + { + "fstype": "tmpfs", + "options": "rw,nosuid,nodev,noexec,relatime,size=5120k", + "source": "tmpfs", + "target": "/run/lock" + }, + { + "fstype": "tmpfs", + "options": "rw,nosuid,nodev,relatime,size=100148k,mode=700,uid=999,gid=999", + "source": "tmpfs", + "target": "/run/user/999" + } + ], + "fstype": "tmpfs", + "options": "rw,nosuid,noexec,relatime,size=100152k,mode=755", + "source": "tmpfs", + "target": "/run" + }, + { + "fstype": "squashfs", + "options": "ro,noatime", + "source": "/dev/loop0", + "target": "/rofs" + }, + { + "fstype": "squashfs", + "options": "ro,relatime", + "source": "/dev/loop2", + "target": "/usr/lib/modules" + }, + { + "fstype": "tmpfs", + "options": "rw,nosuid,nodev,relatime", + "source": "tmpfs", + "target": "/tmp" + }, + { + "fstype": "squashfs", + "options": "ro,relatime", + "source": "/dev/loop3", + "target": "/media/rack.lower" + }, + { + "fstype": "squashfs", + "options": "ro,relatime", + "source": "/dev/loop4", + "target": "/media/region.lower" + }, + { + "fstype": "squashfs", + "options": "ro,relatime", + "source": "/dev/loop0", + "target": "/media/filesystem" + }, + { + "fstype": "overlay", + "options": "ro,relatime,lowerdir=/media/region.lower:/media/rack.lower:/media/filesystem", + "source": "overlay", + "target": "/media/region" + }, + { + "fstype": "overlay", + "options": "ro,relatime,lowerdir=/media/rack.lower:/media/filesystem", + "source": "overlay", + "target": "/media/rack" + }, + { + "fstype": "squashfs", + "options": "ro,nodev,relatime", + "source": "/dev/loop5", + "target": "/snap/core/6673" + }, + { + "fstype": "squashfs", + "options": "ro,nodev,relatime", + "source": "/dev/loop6", + "target": "/snap/subiquity/1012" + } + ], + "fstype": "overlay", + "options": "rw,relatime,lowerdir=//installer.squashfs://filesystem.squashfs,upperdir=/cow/upper,workdir=/cow/work", + "source": "/cow", + "target": "/" + } + ], + "multipath": {}, + "raid": {}, + "zfs": { + "zpools": {} + } + } +}