Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not collect the "ID_ATA_ROTATION_RATE_RPM" of disks? #2904

Open
zhucan opened this issue Jan 22, 2024 · 1 comment
Open

Can not collect the "ID_ATA_ROTATION_RATE_RPM" of disks? #2904

zhucan opened this issue Jan 22, 2024 · 1 comment

Comments

@zhucan
Copy link

zhucan commented Jan 22, 2024

Host operating system: output of uname -a

Linux rook-node01 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

node_exporter version: output of node_exporter --version

node_exporter, version 1.7.0 (branch: master, revision: d8e2be1)
build user: root@rook-node01
build date: 20240119-07:21:10
go version: go1.20.1
platform: linux/amd64
tags: netgo osusergo static_build

node_exporter command line flags

node_exporter log output

img_v3_0278_d1f4392b-b54e-4232-8e6c-b210b032f5bg

Are you running node_exporter in Docker?

no

What did you do that produced an error?

run node_exporter to collect disk stats

What did you expect to see?

can collect the "ID_ATA_ROTATION_RATE_RPM" of disks

What did you see instead?

img_v3_0278_d1f4392b-b54e-4232-8e6c-b210b032f5bg

@zhucan
Copy link
Author

zhucan commented Jan 22, 2024

S:disk/by-dname/sda
S:disk/by-id/scsi-35000cca27a410dac
S:disk/by-id/scsi-SHGST_HUH721212AL5200_2AH4T2TY
S:disk/by-id/wwn-0x5000cca27a410dac
S:disk/by-path/pci-0000:61:00.0-sas-0x5000cca27a410dad-lun-0
W:7054
I:3612
E:ID_BUS=scsi
E:ID_FS_TYPE=
E:ID_MODEL=HUH721212AL5200
E:ID_MODEL_ENC=HUH721212AL5200\x20
E:ID_PATH=pci-0000:61:00.0-sas-0x5000cca27a410dad-lun-0
E:ID_PATH_TAG=pci-0000_61_00_0-sas-0x5000cca27a410dad-lun-0
E:ID_REVISION=A3S0
E:ID_SCSI=1
E:ID_SCSI_INQUIRY=1
E:ID_SCSI_SERIAL=2AH4T2TY
E:ID_SERIAL=35000cca27a410dac
E:ID_SERIAL_SHORT=5000cca27a410dac
E:ID_TYPE=disk
E:ID_VENDOR=HGST
E:ID_VENDOR_ENC=HGST\x20\x20\x20\x20
E:ID_WWN=0x5000cca27a410dac
E:ID_WWN_WITH_EXTENSION=0x5000cca27a410dac
E:MPATH_SBIN_PATH=/sbin
E:SCSI_IDENT_LUN_NAA_REG=5000cca27a410dac
E:SCSI_IDENT_PORT_NAA_REG=5000cca27a410dad
E:SCSI_IDENT_PORT_RELATIVE=1
E:SCSI_IDENT_SERIAL=2AH4T2TY
E:SCSI_IDENT_TARGET_NAA_REG=5000cca27a410daf
E:SCSI_IDENT_TARGET_NAME=naa.5000CCA27A410DAF
E:SCSI_MODEL=HUH721212AL5200
E:SCSI_MODEL_ENC=HUH721212AL5200\x20
E:SCSI_REVISION=A3S0
E:SCSI_TPGS=0
E:SCSI_TYPE=disk
E:SCSI_VENDOR=HGST
E:SCSI_VENDOR_ENC=HGST\x20\x20\x20\x20
G:systemd

Can not know whether it's ssd or hdd from "/run/udev/data/bMajor:Minor".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant