You are not logged in.

#1 2020-02-11 22:26:23

kamelie1706
Member
Registered: 2014-02-19
Posts: 126

[SOLVED] How to match hardware and temperature information

Hi,

This is so great to have now information about nvme disk in sensors but I have some trouble to match those with actual hardware.
I have 2 nvme ssd (250Gb and 500Gb)

lsblk

nvme0n1     259:0    0 232,9G  0 disk 
├─nvme0n1p1 259:1    0   512M  0 part /efi
└─nvme0n1p2 259:2    0 232,4G  0 part /
nvme1n1     259:3    0 465,8G  0 disk 
└─nvme1n1p1 259:4    0 465,8G  0 part /home

sensors

nvme-pci-0100
Adapter: PCI adapter
Composite:    +33.9°C  (low  =  -0.1°C, high = +74.8°C)
                       (crit = +79.8°C)

nvme-pci-0a00
Adapter: PCI adapter
Composite:    +51.9°C  (low  =  -5.2°C, high = +83.8°C)
                       (crit = +87.8°C)

I am missing the piece that would enable me to link both .... any hint?

Last edited by kamelie1706 (2020-02-12 05:59:19)

Offline

#2 2020-02-12 00:24:23

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 17,053

Re: [SOLVED] How to match hardware and temperature information

I think

ls -l /sys/dev/block/*

will give you what you need.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#3 2020-02-12 05:58:58

kamelie1706
Member
Registered: 2014-02-19
Posts: 126

Re: [SOLVED] How to match hardware and temperature information

Right it does! Thx

/sys/dev/block/259:0 -> ../../devices/pci0000:00/0000:00:01.1/0000:01:00.0/nvme/nvme0/nvme0n1
nvme-pci-0100

/sys/dev/block/259:3 -> ../../devices/pci0000:00/0000:00:03.3/0000:0a:00.0/nvme/nvme1/nvme1n1
nvme-pci-0a00

Offline

Board footer

Powered by FluxBB