collector/diskstats: Add fixtures for udev data

Now that we read some data from `/run/udev/data`, add the corresponding
fixtures and update the expected test results accordingly.

Signed-off-by: Benoît Knecht <bknecht@protonmail.ch>
This commit is contained in:
Benoît Knecht 2022-06-16 10:54:39 +02:00 committed by Johannes 'fish' Ziemke
parent 833216dc9e
commit 9b5d55e511
17 changed files with 519 additions and 21 deletions

View File

@ -49,8 +49,32 @@ func NewTestDiskStatsCollector(logger log.Logger) (prometheus.Collector, error)
func TestDiskStats(t *testing.T) {
*sysPath = "fixtures/sys"
*procPath = "fixtures/proc"
*udevDataPath = "fixtures/udev/data"
*diskstatsDeviceExclude = "^(ram|loop|fd|(h|s|v|xv)d[a-z]|nvme\\d+n\\d+p)\\d+$"
testcase := `# HELP node_disk_discard_time_seconds_total This is the total number of seconds spent by all discards.
testcase := `# HELP node_disk_ata_rotation_rate_rpm ATA disk rotation rate in RPMs (0 for SSDs).
# TYPE node_disk_ata_rotation_rate_rpm gauge
node_disk_ata_rotation_rate_rpm{device="sda"} 7200
node_disk_ata_rotation_rate_rpm{device="sdb"} 0
node_disk_ata_rotation_rate_rpm{device="sdc"} 0
# HELP node_disk_ata_write_cache ATA disk has a write cache.
# TYPE node_disk_ata_write_cache gauge
node_disk_ata_write_cache{device="sda"} 1
node_disk_ata_write_cache{device="sdb"} 1
node_disk_ata_write_cache{device="sdc"} 1
# HELP node_disk_ata_write_cache_enabled ATA disk has its write cache enabled.
# TYPE node_disk_ata_write_cache_enabled gauge
node_disk_ata_write_cache_enabled{device="sda"} 0
node_disk_ata_write_cache_enabled{device="sdb"} 1
node_disk_ata_write_cache_enabled{device="sdc"} 0
# HELP node_disk_device_mapper_info Info about disk device mapper.
# TYPE node_disk_device_mapper_info gauge
node_disk_device_mapper_info{device="dm-0",lv_layer="",lv_name="",name="nvme0n1_crypt",uuid="CRYPT-LUKS2-jolaulot80fy9zsiobkxyxo7y2dqeho2-nvme0n1_crypt",vg_name=""} 1
node_disk_device_mapper_info{device="dm-1",lv_layer="",lv_name="swap_1",name="system-swap_1",uuid="LVM-wbGqQEBL9SxrW2DLntJwgg8fAv946hw3Tvjqh0v31fWgxEtD4BoHO0lROWFUY65T",vg_name="system"} 1
node_disk_device_mapper_info{device="dm-2",lv_layer="",lv_name="root",name="system-root",uuid="LVM-NWEDo8q5ABDyJuC3F8veKNyWfYmeIBfFMS4MF3HakzUhkk7ekDm6fJTHkl2fYHe7",vg_name="system"} 1
node_disk_device_mapper_info{device="dm-3",lv_layer="",lv_name="var",name="system-var",uuid="LVM-hrxHo0rlZ6U95ku5841Lpd17bS1Z7V7lrtEE60DVgE6YEOCdS9gcDGyonWim4hGP",vg_name="system"} 1
node_disk_device_mapper_info{device="dm-4",lv_layer="",lv_name="tmp",name="system-tmp",uuid="LVM-XTNGOHjPWLHcxmJmVu5cWTXEtuzqDeBkdEHAZW5q9LxWQ2d4mb5CchUQzUPJpl8H",vg_name="system"} 1
node_disk_device_mapper_info{device="dm-5",lv_layer="",lv_name="home",name="system-home",uuid="LVM-MtoJaWTpjWRXlUnNFlpxZauTEuYlMvGFutigEzCCrfj8CNh6jCRi5LQJXZCpLjPf",vg_name="system"} 1
# HELP node_disk_discard_time_seconds_total This is the total number of seconds spent by all discards.
# TYPE node_disk_discard_time_seconds_total counter
node_disk_discard_time_seconds_total{device="sdb"} 11.13
node_disk_discard_time_seconds_total{device="sdc"} 11.13
@ -66,6 +90,18 @@ node_disk_discards_completed_total{device="sdc"} 18851
# TYPE node_disk_discards_merged_total counter
node_disk_discards_merged_total{device="sdb"} 0
node_disk_discards_merged_total{device="sdc"} 0
# HELP node_disk_filesystem_info Info about disk filesystem.
# TYPE node_disk_filesystem_info gauge
node_disk_filesystem_info{device="dm-0",type="LVM2_member",usage="raid",uuid="c3C3uW-gD96-Yw69-c1CJ-5MwT-6ysM-mST0vB",version="LVM2 001"} 1
node_disk_filesystem_info{device="dm-1",type="swap",usage="other",uuid="5272bb60-04b5-49cd-b730-be57c7604450",version="1"} 1
node_disk_filesystem_info{device="dm-2",type="ext4",usage="filesystem",uuid="3deafd0d-faff-4695-8d15-51061ae1f51b",version="1.0"} 1
node_disk_filesystem_info{device="dm-3",type="ext4",usage="filesystem",uuid="5c772222-f7d4-4c8e-87e8-e97df6b7a45e",version="1.0"} 1
node_disk_filesystem_info{device="dm-4",type="ext4",usage="filesystem",uuid="a9479d44-60e1-4015-a1e5-bb065e6dd11b",version="1.0"} 1
node_disk_filesystem_info{device="dm-5",type="ext4",usage="filesystem",uuid="b05b726a-c718-4c4d-8641-7c73a7696d83",version="1.0"} 1
node_disk_filesystem_info{device="mmcblk0p1",type="vfat",usage="filesystem",uuid="6284-658D",version="FAT32"} 1
node_disk_filesystem_info{device="mmcblk0p2",type="ext4",usage="filesystem",uuid="83324ce8-a6f3-4e35-ad64-dbb3d6b87a32",version="1.0"} 1
node_disk_filesystem_info{device="sda",type="LVM2_member",usage="raid",uuid="cVVv6j-HSA2-IY33-1Jmj-dO2H-YL7w-b4Oxqw",version="LVM2 001"} 1
node_disk_filesystem_info{device="sdc",type="LVM2_member",usage="raid",uuid="QFy9W7-Brj3-hQ6v-AF8i-3Zqg-n3Vs-kGY4vb",version="LVM2 001"} 1
# HELP node_disk_flush_requests_time_seconds_total This is the total number of seconds spent by all flush requests.
# TYPE node_disk_flush_requests_time_seconds_total counter
node_disk_flush_requests_time_seconds_total{device="sdc"} 1.944
@ -74,21 +110,21 @@ node_disk_flush_requests_time_seconds_total{device="sdc"} 1.944
node_disk_flush_requests_total{device="sdc"} 1555
# HELP node_disk_info Info of /sys/block/<block_device>.
# TYPE node_disk_info gauge
node_disk_info{device="dm-0",major="252",minor="0"} 1
node_disk_info{device="dm-1",major="252",minor="1"} 1
node_disk_info{device="dm-2",major="252",minor="2"} 1
node_disk_info{device="dm-3",major="252",minor="3"} 1
node_disk_info{device="dm-4",major="252",minor="4"} 1
node_disk_info{device="dm-5",major="252",minor="5"} 1
node_disk_info{device="mmcblk0",major="179",minor="0"} 1
node_disk_info{device="mmcblk0p1",major="179",minor="1"} 1
node_disk_info{device="mmcblk0p2",major="179",minor="2"} 1
node_disk_info{device="nvme0n1",major="259",minor="0"} 1
node_disk_info{device="sda",major="8",minor="0"} 1
node_disk_info{device="sdb",major="8",minor="0"} 1
node_disk_info{device="sdc",major="8",minor="0"} 1
node_disk_info{device="sr0",major="11",minor="0"} 1
node_disk_info{device="vda",major="254",minor="0"} 1
node_disk_info{device="dm-0",major="252",minor="0",model="",path="",revision="",serial="",wwn=""} 1
node_disk_info{device="dm-1",major="252",minor="1",model="",path="",revision="",serial="",wwn=""} 1
node_disk_info{device="dm-2",major="252",minor="2",model="",path="",revision="",serial="",wwn=""} 1
node_disk_info{device="dm-3",major="252",minor="3",model="",path="",revision="",serial="",wwn=""} 1
node_disk_info{device="dm-4",major="252",minor="4",model="",path="",revision="",serial="",wwn=""} 1
node_disk_info{device="dm-5",major="252",minor="5",model="",path="",revision="",serial="",wwn=""} 1
node_disk_info{device="mmcblk0",major="179",minor="0",model="",path="platform-df2969f3.mmc",revision="",serial="",wwn=""} 1
node_disk_info{device="mmcblk0p1",major="179",minor="1",model="",path="platform-df2969f3.mmc",revision="",serial="",wwn=""} 1
node_disk_info{device="mmcblk0p2",major="179",minor="2",model="",path="platform-df2969f3.mmc",revision="",serial="",wwn=""} 1
node_disk_info{device="nvme0n1",major="259",minor="0",model="SAMSUNG EHFTF55LURSY-000Y9",path="pci-0000:02:00.0-nvme-1",revision="4NBTUY95",serial="S252B6CU1HG3M1",wwn="eui.p3vbbiejx5aae2r3"} 1
node_disk_info{device="sda",major="8",minor="0",model="TOSHIBA_KSDB4U86",path="pci-0000:3b:00.0-sas-phy7-lun-0",revision="0102",serial="2160A0D5FVGG",wwn="0x7c72382b8de36a64"} 1
node_disk_info{device="sdb",major="8",minor="16",model="SuperMicro_SSD",path="pci-0000:00:1f.2-ata-1",revision="0R",serial="SMC0E1B87ABBB16BD84E",wwn="0xe1b87abbb16bd84e"} 1
node_disk_info{device="sdc",major="8",minor="32",model="INTEL_SSDS9X9SI0",path="pci-0000:00:1f.2-ata-4",revision="0100",serial="3EWB5Y25CWQWA7EH1U",wwn="0x58907ddc573a5de"} 1
node_disk_info{device="sr0",major="11",minor="0",model="Virtual_CDROM0",path="pci-0000:00:14.0-usb-0:1.1:1.0-scsi-0:0:0:0",revision="1.00",serial="AAAABBBBCCCC1",wwn=""} 1
node_disk_info{device="vda",major="254",minor="0",model="",path="pci-0000:00:06.0",revision="",serial="",wwn=""} 1
# HELP node_disk_io_now The number of I/Os currently in progress.
# TYPE node_disk_io_now gauge
node_disk_io_now{device="dm-0"} 0

View File

@ -44,8 +44,8 @@
259 0 nvme0n1 47114 4 4643973 21650 1078320 43950 39451633 1011053 0 222766 1032546
259 1 nvme0n1p1 1140 0 9370 16 1 0 1 0 0 16 16
259 2 nvme0n1p2 45914 4 4631243 21626 1036885 43950 39451632 919480 0 131580 940970
8 0 sdb 326552 841 9657779 84 41822 2895 1972905 5007 0 60730 67070 68851 0 1925173784 11130
8 1 sdb1 231 3 34466 4 24 23 106 0 0 64 64 0 0 0 0
8 2 sdb2 326310 838 9622281 67 40726 2872 1972799 4924 0 58250 64567 68851 0 1925173784 11130
8 0 sdc 126552 141 1657779 14 11822 1895 172905 1007 0 10730 17070 18851 0 125173784 11130 1555 1944
8 1 sdc1 231 3 34466 4 24 23 106 0 0 64 64 0 0 0 0 0 0
8 16 sdb 326552 841 9657779 84 41822 2895 1972905 5007 0 60730 67070 68851 0 1925173784 11130
8 17 sdb1 231 3 34466 4 24 23 106 0 0 64 64 0 0 0 0
8 18 sdb2 326310 838 9622281 67 40726 2872 1972799 4924 0 58250 64567 68851 0 1925173784 11130
8 32 sdc 126552 141 1657779 14 11822 1895 172905 1007 0 10730 17070 18851 0 125173784 11130 1555 1944
8 33 sdc1 231 3 34466 4 24 23 106 0 0 64 64 0 0 0 0 0 0

View File

@ -0,0 +1,38 @@
S:disk/by-id/usb-AMI_Virtual_CDROM0_AAAABBBBCCCC1-0:0
S:disk/by-path/pci-0000:00:14.0-usb-0:1.1:1.0-scsi-0:0:0:0
S:cdrom
L:-100
I:83543243
E:ID_CDROM=1
E:SYSTEMD_MOUNT_DEVICE_BOUND=1
E:ID_VENDOR=AMI
E:ID_VENDOR_ENC=AMI\x20\x20\x20\x20\x20
E:ID_VENDOR_ID=c096
E:ID_MODEL=Virtual_CDROM0
E:ID_MODEL_ENC=Virtual\x20CDROM0\x20\x20
E:ID_MODEL_ID=ee31
E:ID_REVISION=1.00
E:ID_SERIAL=AMI_Virtual_CDROM0_AAAABBBBCCCC1-0:0
E:ID_SERIAL_SHORT=AAAABBBBCCCC1
E:ID_TYPE=cd/dvd
E:ID_INSTANCE=0:0
E:ID_BUS=usb
E:ID_USB_INTERFACES=:905639:
E:ID_USB_INTERFACE_NUM=00
E:ID_USB_DRIVER=usb-storage
E:ID_PATH=pci-0000:00:14.0-usb-0:1.1:1.0-scsi-0:0:0:0
E:ID_PATH_TAG=pci-0000_00_14_0-usb-0_1_1_1_0-scsi-0_0_0_0
E:SCSI_TPGS=0
E:SCSI_TYPE=cd/dvd
E:SCSI_VENDOR=AMI
E:SCSI_VENDOR_ENC=AMI\x20\x20\x20\x20\x20
E:SCSI_MODEL=Virtual_CDROM0
E:SCSI_MODEL_ENC=Virtual\x20CDROM0\x20\x20
E:SCSI_REVISION=1.00
E:ID_SCSI=1
E:ID_SCSI_INQUIRY=1
E:ID_FS_TYPE=
E:ID_FOR_SEAT=block-pci-0000_00_14_0-usb-0_1_1_1_0-scsi-0_0_0_0
G:uaccess
G:systemd
G:seat

View File

@ -0,0 +1,13 @@
S:disk/by-path/platform-df2969f3.mmc
S:disk/by-id/mmc-SC64G_0x83e36d93
W:1
I:7679747
E:ID_NAME=SC64G
E:ID_SERIAL=0x83e36d93
E:ID_PATH=platform-df2969f3.mmc
E:ID_PATH_TAG=platform-df2969f3_mmc
E:ID_PART_TABLE_UUID=1954c9df
E:ID_PART_TABLE_TYPE=dos
E:ID_DRIVE_FLASH_SD=1
E:ID_DRIVE_MEDIA_FLASH_SD=1
G:systemd

View File

@ -0,0 +1,30 @@
S:disk/by-id/mmc-SC64G_0x83e36d93-part1
S:disk/by-path/platform-df2969f3.mmc-part1
S:disk/by-label/boot
S:disk/by-uuid/6284-658D
S:disk/by-partuuid/1954c9df-01
W:12
I:8463403
E:ID_NAME=SC64G
E:ID_SERIAL=0x83e36d93
E:ID_PATH=platform-df2969f3.mmc
E:ID_PATH_TAG=platform-df2969f3_mmc
E:ID_PART_TABLE_UUID=1954c9df
E:ID_PART_TABLE_TYPE=dos
E:ID_DRIVE_FLASH_SD=1
E:ID_DRIVE_MEDIA_FLASH_SD=1
E:ID_FS_LABEL=boot
E:ID_FS_LABEL_ENC=boot
E:ID_FS_UUID=6284-658D
E:ID_FS_UUID_ENC=6284-658D
E:ID_FS_VERSION=FAT32
E:ID_FS_TYPE=vfat
E:ID_FS_USAGE=filesystem
E:ID_PART_ENTRY_SCHEME=dos
E:ID_PART_ENTRY_UUID=1954c9df-01
E:ID_PART_ENTRY_TYPE=0xc
E:ID_PART_ENTRY_NUMBER=1
E:ID_PART_ENTRY_OFFSET=8192
E:ID_PART_ENTRY_SIZE=524288
E:ID_PART_ENTRY_DISK=179:0
G:systemd

View File

@ -0,0 +1,30 @@
S:disk/by-id/mmc-SC64G_0x83e36d93-part2
S:disk/by-path/platform-df2969f3.mmc-part2
S:disk/by-label/rootfs
S:disk/by-uuid/83324ce8-a6f3-4e35-ad64-dbb3d6b87a32
S:disk/by-partuuid/1954c9df-02
W:2
I:7676649
E:ID_NAME=SC64G
E:ID_SERIAL=0x83e36d93
E:ID_PATH=platform-df2969f3.mmc
E:ID_PATH_TAG=platform-df2969f3_mmc
E:ID_PART_TABLE_UUID=1954c9df
E:ID_PART_TABLE_TYPE=dos
E:ID_DRIVE_FLASH_SD=1
E:ID_DRIVE_MEDIA_FLASH_SD=1
E:ID_FS_LABEL=rootfs
E:ID_FS_LABEL_ENC=rootfs
E:ID_FS_UUID=83324ce8-a6f3-4e35-ad64-dbb3d6b87a32
E:ID_FS_UUID_ENC=83324ce8-a6f3-4e35-ad64-dbb3d6b87a32
E:ID_FS_VERSION=1.0
E:ID_FS_TYPE=ext4
E:ID_FS_USAGE=filesystem
E:ID_PART_ENTRY_SCHEME=dos
E:ID_PART_ENTRY_UUID=1954c9df-02
E:ID_PART_ENTRY_TYPE=0x83
E:ID_PART_ENTRY_NUMBER=2
E:ID_PART_ENTRY_OFFSET=532480
E:ID_PART_ENTRY_SIZE=124203008
E:ID_PART_ENTRY_DISK=179:0
G:systemd

View File

@ -0,0 +1,20 @@
S:disk/by-id/dm-name-nvme0n1_crypt
S:mapper/nvme0n1_crypt
S:disk/by-id/lvm-pv-uuid-c3C3uW-gD96-Yw69-c1CJ-5MwT-6ysM-mST0vB
S:disk/by-id/dm-uuid-CRYPT-LUKS2-jolaulot80fy9zsiobkxyxo7y2dqeho2-nvme0n1_crypt
I:72859885
E:DM_UDEV_DISABLE_LIBRARY_FALLBACK_FLAG=1
E:DM_UDEV_PRIMARY_SOURCE_FLAG=1
E:DM_UDEV_RULES=1
E:DM_UDEV_RULES_VSN=2
E:DM_NAME=nvme0n1_crypt
E:DM_UUID=CRYPT-LUKS2-jolaulot80fy9zsiobkxyxo7y2dqeho2-nvme0n1_crypt
E:DM_SUSPENDED=0
E:ID_FS_UUID=c3C3uW-gD96-Yw69-c1CJ-5MwT-6ysM-mST0vB
E:ID_FS_UUID_ENC=c3C3uW-gD96-Yw69-c1CJ-5MwT-6ysM-mST0vB
E:ID_FS_VERSION=LVM2 001
E:ID_FS_TYPE=LVM2_member
E:ID_FS_USAGE=raid
G:systemd
Q:systemd
V:1

View File

@ -0,0 +1,24 @@
S:disk/by-id/dm-uuid-LVM-wbGqQEBL9SxrW2DLntJwgg8fAv946hw3Tvjqh0v31fWgxEtD4BoHO0lROWFUY65T
S:mapper/system-swap_1
S:disk/by-id/dm-name-system-swap_1
S:disk/by-uuid/5272bb60-04b5-49cd-b730-be57c7604450
S:system/swap_1
I:78705530
E:DM_UDEV_DISABLE_LIBRARY_FALLBACK_FLAG=1
E:DM_UDEV_PRIMARY_SOURCE_FLAG=1
E:DM_UDEV_RULES=1
E:DM_UDEV_RULES_VSN=2
E:DM_NAME=system-swap_1
E:DM_UUID=LVM-wbGqQEBL9SxrW2DLntJwgg8fAv946hw3Tvjqh0v31fWgxEtD4BoHO0lROWFUY65T
E:DM_SUSPENDED=0
E:DM_VG_NAME=system
E:DM_LV_NAME=swap_1
E:DM_LV_LAYER=
E:ID_FS_UUID=5272bb60-04b5-49cd-b730-be57c7604450
E:ID_FS_UUID_ENC=5272bb60-04b5-49cd-b730-be57c7604450
E:ID_FS_VERSION=1
E:ID_FS_TYPE=swap
E:ID_FS_USAGE=other
G:systemd
Q:systemd
V:1

View File

@ -0,0 +1,24 @@
S:disk/by-id/dm-name-system-root
S:disk/by-id/dm-uuid-LVM-NWEDo8q5ABDyJuC3F8veKNyWfYmeIBfFMS4MF3HakzUhkk7ekDm6fJTHkl2fYHe7
S:mapper/system-root
S:disk/by-uuid/3deafd0d-faff-4695-8d15-51061ae1f51b
S:system/root
I:77655410
E:DM_UDEV_DISABLE_LIBRARY_FALLBACK_FLAG=1
E:DM_UDEV_PRIMARY_SOURCE_FLAG=1
E:DM_UDEV_RULES=1
E:DM_UDEV_RULES_VSN=2
E:DM_NAME=system-root
E:DM_UUID=LVM-NWEDo8q5ABDyJuC3F8veKNyWfYmeIBfFMS4MF3HakzUhkk7ekDm6fJTHkl2fYHe7
E:DM_SUSPENDED=0
E:DM_VG_NAME=system
E:DM_LV_NAME=root
E:DM_LV_LAYER=
E:ID_FS_UUID=3deafd0d-faff-4695-8d15-51061ae1f51b
E:ID_FS_UUID_ENC=3deafd0d-faff-4695-8d15-51061ae1f51b
E:ID_FS_VERSION=1.0
E:ID_FS_TYPE=ext4
E:ID_FS_USAGE=filesystem
G:systemd
Q:systemd
V:1

View File

@ -0,0 +1,24 @@
S:disk/by-id/dm-name-system-var
S:disk/by-id/dm-uuid-LVM-hrxHo0rlZ6U95ku5841Lpd17bS1Z7V7lrtEE60DVgE6YEOCdS9gcDGyonWim4hGP
S:mapper/system-var
S:disk/by-uuid/5c772222-f7d4-4c8e-87e8-e97df6b7a45e
S:system/var
I:79395348
E:DM_UDEV_DISABLE_LIBRARY_FALLBACK_FLAG=1
E:DM_UDEV_PRIMARY_SOURCE_FLAG=1
E:DM_UDEV_RULES=1
E:DM_UDEV_RULES_VSN=2
E:DM_NAME=system-var
E:DM_UUID=LVM-hrxHo0rlZ6U95ku5841Lpd17bS1Z7V7lrtEE60DVgE6YEOCdS9gcDGyonWim4hGP
E:DM_SUSPENDED=0
E:DM_VG_NAME=system
E:DM_LV_NAME=var
E:DM_LV_LAYER=
E:ID_FS_UUID=5c772222-f7d4-4c8e-87e8-e97df6b7a45e
E:ID_FS_UUID_ENC=5c772222-f7d4-4c8e-87e8-e97df6b7a45e
E:ID_FS_VERSION=1.0
E:ID_FS_TYPE=ext4
E:ID_FS_USAGE=filesystem
G:systemd
Q:systemd
V:1

View File

@ -0,0 +1,24 @@
S:system/tmp
S:disk/by-uuid/a9479d44-60e1-4015-a1e5-bb065e6dd11b
S:disk/by-id/dm-uuid-LVM-XTNGOHjPWLHcxmJmVu5cWTXEtuzqDeBkdEHAZW5q9LxWQ2d4mb5CchUQzUPJpl8H
S:mapper/system-tmp
S:disk/by-id/dm-name-system-tmp
I:75852450
E:DM_UDEV_DISABLE_LIBRARY_FALLBACK_FLAG=1
E:DM_UDEV_PRIMARY_SOURCE_FLAG=1
E:DM_UDEV_RULES=1
E:DM_UDEV_RULES_VSN=2
E:DM_NAME=system-tmp
E:DM_UUID=LVM-XTNGOHjPWLHcxmJmVu5cWTXEtuzqDeBkdEHAZW5q9LxWQ2d4mb5CchUQzUPJpl8H
E:DM_SUSPENDED=0
E:DM_VG_NAME=system
E:DM_LV_NAME=tmp
E:DM_LV_LAYER=
E:ID_FS_UUID=a9479d44-60e1-4015-a1e5-bb065e6dd11b
E:ID_FS_UUID_ENC=a9479d44-60e1-4015-a1e5-bb065e6dd11b
E:ID_FS_VERSION=1.0
E:ID_FS_TYPE=ext4
E:ID_FS_USAGE=filesystem
G:systemd
Q:systemd
V:1

View File

@ -0,0 +1,24 @@
S:disk/by-uuid/b05b726a-c718-4c4d-8641-7c73a7696d83
S:mapper/system-home
S:system/home
S:disk/by-id/dm-name-system-home
S:disk/by-id/dm-uuid-LVM-MtoJaWTpjWRXlUnNFlpxZauTEuYlMvGFutigEzCCrfj8CNh6jCRi5LQJXZCpLjPf
I:72604009
E:DM_UDEV_DISABLE_LIBRARY_FALLBACK_FLAG=1
E:DM_UDEV_PRIMARY_SOURCE_FLAG=1
E:DM_UDEV_RULES=1
E:DM_UDEV_RULES_VSN=2
E:DM_NAME=system-home
E:DM_UUID=LVM-MtoJaWTpjWRXlUnNFlpxZauTEuYlMvGFutigEzCCrfj8CNh6jCRi5LQJXZCpLjPf
E:DM_SUSPENDED=0
E:DM_VG_NAME=system
E:DM_LV_NAME=home
E:DM_LV_LAYER=
E:ID_FS_UUID=b05b726a-c718-4c4d-8641-7c73a7696d83
E:ID_FS_UUID_ENC=b05b726a-c718-4c4d-8641-7c73a7696d83
E:ID_FS_VERSION=1.0
E:ID_FS_TYPE=ext4
E:ID_FS_USAGE=filesystem
G:systemd
Q:systemd
V:1

View File

@ -0,0 +1,10 @@
S:disk/by-path/pci-0000:00:06.0
S:disk/by-path/virtio-pci-0000:00:06.0
W:1
I:8524171
E:ID_PATH=pci-0000:00:06.0
E:ID_PATH_TAG=pci-0000_00_06_0
E:ID_PART_TABLE_UUID=653b59fd
E:ID_PART_TABLE_TYPE=dos
E:ID_FS_TYPE=
G:systemd

View File

@ -0,0 +1,17 @@
S:disk/by-path/pci-0000:02:00.0-nvme-1
S:disk/by-id/nvme-eui.p3vbbiejx5aae2r3
S:disk/by-id/nvme-SAMSUNG_EHFTF55LURSY-000Y9_S252B6CU1HG3M1
I:79621327
E:ID_SERIAL_SHORT=S252B6CU1HG3M1
E:ID_WWN=eui.p3vbbiejx5aae2r3
E:ID_MODEL=SAMSUNG EHFTF55LURSY-000Y9
E:ID_REVISION=4NBTUY95
E:ID_SERIAL=SAMSUNG_EHFTF55LURSY-000Y9_S252B6CU1HG3M1
E:ID_PATH=pci-0000:02:00.0-nvme-1
E:ID_PATH_TAG=pci-0000_02_00_0-nvme-1
E:ID_PART_TABLE_UUID=f301fdbd-fd1f-46d4-9fb8-c9aeb757f050
E:ID_PART_TABLE_TYPE=gpt
E:ID_FS_TYPE=
G:systemd
Q:systemd
V:1

View File

@ -0,0 +1,60 @@
S:disk/by-id/lvm-pv-uuid-cVVv6j-HSA2-IY33-1Jmj-dO2H-YL7w-b4Oxqw
S:disk/by-id/scsi-SATA_TOSHIBA_KSDB4U86_2160A0D5FVGG
S:disk/by-id/ata-TOSHIBA_KSDB4U866TE_2160A0D5FVGG
S:disk/by-path/pci-0000:3b:00.0-sas-phy7-lun-0
S:disk/by-id/scsi-37c72382b8de36a64
S:disk/by-id/wwn-0x7c72382b8de36a64
W:702
I:73815117
E:ID_ATA=1
E:ID_TYPE=disk
E:ID_BUS=ata
E:ID_MODEL=TOSHIBA_KSDB4U86
E:ID_MODEL_ENC=TOSHIBA\x20KSDB4U86
E:ID_REVISION=0102
E:ID_SERIAL=TOSHIBA_KSDB4U866TE_DTB0QRJR2EIG
E:ID_SERIAL_SHORT=2160A0D5FVGG
E:ID_ATA_WRITE_CACHE=1
E:ID_ATA_WRITE_CACHE_ENABLED=0
E:ID_ATA_FEATURE_SET_PM=1
E:ID_ATA_FEATURE_SET_PM_ENABLED=1
E:ID_ATA_FEATURE_SET_SECURITY=1
E:ID_ATA_FEATURE_SET_SECURITY_ENABLED=0
E:ID_ATA_FEATURE_SET_SECURITY_ERASE_UNIT_MIN=66892
E:ID_ATA_FEATURE_SET_SECURITY_ENHANCED_ERASE_UNIT_MIN=66892
E:ID_ATA_FEATURE_SET_SMART=1
E:ID_ATA_FEATURE_SET_SMART_ENABLED=1
E:ID_ATA_FEATURE_SET_APM=1
E:ID_ATA_FEATURE_SET_APM_ENABLED=1
E:ID_ATA_FEATURE_SET_APM_CURRENT_VALUE=128
E:ID_ATA_DOWNLOAD_MICROCODE=1
E:ID_ATA_SATA=1
E:ID_ATA_SATA_SIGNAL_RATE_GEN2=1
E:ID_ATA_SATA_SIGNAL_RATE_GEN1=1
E:ID_ATA_ROTATION_RATE_RPM=7200
E:ID_WWN=0x7c72382b8de36a64
E:ID_WWN_WITH_EXTENSION=0x7c72382b8de36a64
E:ID_PATH=pci-0000:3b:00.0-sas-phy7-lun-0
E:ID_PATH_TAG=pci-0000_3b_00_0-sas-phy7-lun-0
E:ID_FS_UUID=cVVv6j-HSA2-IY33-1Jmj-dO2H-YL7w-b4Oxqw
E:ID_FS_UUID_ENC=cVVv6j-HSA2-IY33-1Jmj-dO2H-YL7w-b4Oxqw
E:ID_FS_VERSION=LVM2 001
E:ID_FS_TYPE=LVM2_member
E:ID_FS_USAGE=raid
E:SCSI_TPGS=0
E:SCSI_TYPE=disk
E:SCSI_VENDOR=ATA
E:SCSI_VENDOR_ENC=ATA\x20\x20\x20\x20\x20
E:SCSI_MODEL=TOSHIBA_KSDB4U86
E:SCSI_MODEL_ENC=TOSHIBA\x20KSDB4U86
E:SCSI_REVISION=0102
E:ID_SCSI=1
E:ID_SCSI_INQUIRY=1
E:ID_VENDOR=ATA
E:ID_VENDOR_ENC=ATA\x20\x20\x20\x20\x20
E:SCSI_IDENT_SERIAL=2160A0D5FVGG
E:SCSI_IDENT_LUN_NAA_REG=7c72382b8de36a64
E:SYSTEMD_READY=1
E:SYSTEMD_ALIAS=/dev/block/8:0
E:SYSTEMD_WANTS=lvm2-pvscan@8:0.service
G:systemd

View File

@ -0,0 +1,62 @@
S:disk/by-id/scsi-3e1b87abbb16bd84e
S:disk/by-id/wwn-0xe1b87abbb16bd84e
S:disk/by-path/pci-0000:00:1f.2-ata-1
S:disk/by-id/scsi-0ATA_SuperMicro_SSD_SMC0E1B87ABBB16BD84E
S:disk/by-id/scsi-SATA_SuperMicro_SSD_SMC0E1B87ABBB16BD84E
S:disk/by-id/scsi-1ATA_SuperMicro_SSD_SMC0E1B87ABBB16BD84E
S:disk/by-id/ata-SuperMicro_SSD_SMC0E1B87ABBB16BD84E
W:58
I:147686920
E:ID_ATA=1
E:ID_TYPE=disk
E:ID_BUS=ata
E:ID_MODEL=SuperMicro_SSD
E:ID_MODEL_ENC=SuperMicro\x20SSD\x20\x20
E:ID_REVISION=0R
E:ID_SERIAL=SuperMicro_SSD_SMC0E1B87ABBB16BD84E
E:ID_SERIAL_SHORT=SMC0E1B87ABBB16BD84E
E:ID_ATA_WRITE_CACHE=1
E:ID_ATA_WRITE_CACHE_ENABLED=1
E:ID_ATA_FEATURE_SET_HPA=1
E:ID_ATA_FEATURE_SET_HPA_ENABLED=1
E:ID_ATA_FEATURE_SET_PM=1
E:ID_ATA_FEATURE_SET_PM_ENABLED=1
E:ID_ATA_FEATURE_SET_SECURITY=1
E:ID_ATA_FEATURE_SET_SECURITY_ENABLED=0
E:ID_ATA_FEATURE_SET_SECURITY_ERASE_UNIT_MIN=4
E:ID_ATA_FEATURE_SET_SECURITY_ENHANCED_ERASE_UNIT_MIN=4
E:ID_ATA_FEATURE_SET_SMART=1
E:ID_ATA_FEATURE_SET_SMART_ENABLED=1
E:ID_ATA_FEATURE_SET_AAM=1
E:ID_ATA_FEATURE_SET_AAM_ENABLED=0
E:ID_ATA_FEATURE_SET_AAM_VENDOR_RECOMMENDED_VALUE=0
E:ID_ATA_FEATURE_SET_AAM_CURRENT_VALUE=0
E:ID_ATA_DOWNLOAD_MICROCODE=1
E:ID_ATA_SATA=1
E:ID_ATA_SATA_SIGNAL_RATE_GEN2=1
E:ID_ATA_SATA_SIGNAL_RATE_GEN1=1
E:ID_ATA_ROTATION_RATE_RPM=0
E:ID_WWN=0xe1b87abbb16bd84e
E:ID_WWN_WITH_EXTENSION=0xe1b87abbb16bd84e
E:ID_PATH=pci-0000:00:1f.2-ata-1
E:ID_PATH_TAG=pci-0000_00_1f_2-ata-1
E:ID_PART_TABLE_UUID=45980145-24e2-4302-a7f0-364c68cfaf59
E:ID_PART_TABLE_TYPE=gpt
E:SCSI_TPGS=0
E:SCSI_TYPE=disk
E:SCSI_VENDOR=ATA
E:SCSI_VENDOR_ENC=ATA\x20\x20\x20\x20\x20
E:SCSI_MODEL=SuperMicro_SSD
E:SCSI_MODEL_ENC=SuperMicro\x20SSD\x20\x20
E:SCSI_REVISION=0R
E:ID_SCSI=1
E:ID_SCSI_INQUIRY=1
E:ID_VENDOR=ATA
E:ID_VENDOR_ENC=ATA\x20\x20\x20\x20\x20
E:SCSI_IDENT_SERIAL=SMC0E1B87ABBB16BD84E
E:SCSI_IDENT_LUN_VENDOR=SMC0E1B87ABBB16BD84E
E:SCSI_IDENT_LUN_T10=ATA_SuperMicro_SSD_SMC0E1B87ABBB16BD84E
E:SCSI_IDENT_LUN_ATA=SuperMicro_SSD_SMC0E1B87ABBB16BD84E
E:SCSI_IDENT_LUN_NAA_REG=e1b87abbb16bd84e
E:ID_FS_TYPE=
G:systemd

View File

@ -0,0 +1,62 @@
S:disk/by-path/pci-0000:00:1f.2-ata-4
S:disk/by-id/scsi-SATA_INTEL_SSDS9X9SI0_3EWB5Y25CWQWA7EH1U
S:disk/by-id/scsi-0ATA_INTEL_SSDS9X9SI0_3EWB5Y25CWQWA7EH1U
S:disk/by-id/scsi-1ATA_INTEL_SSDS9X9SI00G8_3EWB5Y25CWQWA7EH1U
S:disk/by-id/lvm-pv-uuid-QFy9W7-Brj3-hQ6v-AF8i-3Zqg-n3Vs-kGY4vb
S:disk/by-id/ata-INTEL_SSDS9X9SI00G8_3EWB5Y25CWQWA7EH1U
S:disk/by-id/scsi-358907ddc573a5de
S:disk/by-id/wwn-0x58907ddc573a5de
W:10
I:145572852
E:ID_ATA=1
E:ID_TYPE=disk
E:ID_BUS=ata
E:ID_MODEL=INTEL_SSDS9X9SI0
E:ID_MODEL_ENC=INTEL\x20SSDS9X9SI0
E:ID_REVISION=0100
E:ID_SERIAL=INTEL_SSDS9X9SI00G8_3EWB5Y25CWQWA7EH1U
E:ID_SERIAL_SHORT=3EWB5Y25CWQWA7EH1U
E:ID_ATA_WRITE_CACHE=1
E:ID_ATA_WRITE_CACHE_ENABLED=0
E:ID_ATA_FEATURE_SET_PM=1
E:ID_ATA_FEATURE_SET_PM_ENABLED=1
E:ID_ATA_FEATURE_SET_SECURITY=1
E:ID_ATA_FEATURE_SET_SECURITY_ENABLED=0
E:ID_ATA_FEATURE_SET_SECURITY_ERASE_UNIT_MIN=4
E:ID_ATA_FEATURE_SET_SECURITY_ENHANCED_ERASE_UNIT_MIN=4
E:ID_ATA_FEATURE_SET_SMART=1
E:ID_ATA_FEATURE_SET_SMART_ENABLED=1
E:ID_ATA_DOWNLOAD_MICROCODE=1
E:ID_ATA_SATA=1
E:ID_ATA_SATA_SIGNAL_RATE_GEN2=1
E:ID_ATA_SATA_SIGNAL_RATE_GEN1=1
E:ID_ATA_ROTATION_RATE_RPM=0
E:ID_WWN=0x58907ddc573a5de
E:ID_WWN_WITH_EXTENSION=0x58907ddc573a5de
E:ID_PATH=pci-0000:00:1f.2-ata-4
E:ID_PATH_TAG=pci-0000_00_1f_2-ata-4
E:ID_FS_UUID=QFy9W7-Brj3-hQ6v-AF8i-3Zqg-n3Vs-kGY4vb
E:ID_FS_UUID_ENC=QFy9W7-Brj3-hQ6v-AF8i-3Zqg-n3Vs-kGY4vb
E:ID_FS_VERSION=LVM2 001
E:ID_FS_TYPE=LVM2_member
E:ID_FS_USAGE=raid
E:SCSI_TPGS=0
E:SCSI_TYPE=disk
E:SCSI_VENDOR=ATA
E:SCSI_VENDOR_ENC=ATA\x20\x20\x20\x20\x20
E:SCSI_MODEL=INTEL_SSDS9X9SI0
E:SCSI_MODEL_ENC=INTEL\x20SSDS9X9SI0
E:SCSI_REVISION=0100
E:ID_SCSI=1
E:ID_SCSI_INQUIRY=1
E:ID_VENDOR=ATA
E:ID_VENDOR_ENC=ATA\x20\x20\x20\x20\x20
E:SCSI_IDENT_SERIAL=3EWB5Y25CWQWA7EH1U
E:SCSI_IDENT_LUN_VENDOR=3EWB5Y25CWQWA7EH1U
E:SCSI_IDENT_LUN_T10=ATA_INTEL_SSDS9X9SI00G8_3EWB5Y25CWQWA7EH1U
E:SCSI_IDENT_LUN_ATA=INTEL_SSDS9X9SI00G8_3EWB5Y25CWQWA7EH1U
E:SCSI_IDENT_LUN_NAA_REG=58907ddc573a5de
E:SYSTEMD_READY=1
E:SYSTEMD_ALIAS=/dev/block/8:32
E:SYSTEMD_WANTS=lvm2-pvscan@8:32.service
G:systemd