Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: updated for NVMe smart-log

...

Code Block
titlelsblk
root@exx:/home/exx# lsblk
NAME        MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
loop0         7:0    0 55.4M  1 loop /snap/core18/1944
loop1         7:1    0 69.9M  1 loop /snap/lxd/19188
loop2         7:2    0 31.1M  1 loop /snap/snapd/10707
loop3         7:3    0 55.5M  1 loop /snap/core18/1988
loop4         7:4    0 32.3M  1 loop /snap/snapd/11107
sda           8:0    0 12.8T  0 disk
└─sda1        8:1    0 12.8T  0 part /data
nvme0n1     259:0    0  477G  0 disk
└─nvme0n1p1 259:2    0  477G  0 part /scr
nvme1n1     259:1    0  477G  0 disk
├─nvme1n1p1 259:3    0  512M  0 part /boot/efi
├─nvme1n1p2 259:4    0  500M  0 part /boot
├─nvme1n1p3 259:5    0   10G  0 part [SWAP]
└─nvme1n1p4 259:6    0  466G  0 part /

NVMe smart-log output

You can find current NVMe device temperature and critical warnings as long as you know which NVMe device you need the output from.

You need to run these with 'root' permission.


Code Block
titleIf CentOS
su
<root password>


Code Block
titleIf Ubuntu
sudo bash
<root password>

Then target your NVMe device with this command:

Code Block
titleExample
sudo nvme smart-log <device name>
sudo nvme smart-log /dev/nvme0n1