Disk management
Disk management in Linux
udisks
udisks provides a daemon udisksd, that implements D-Bus interfaces used to query and manipulate storage devices, and a command-line tool udisksctl, used to query and use the daemon.
To see the drive model:
udisksctl statusnvme-cli
nvme-cli is a NVMe management command line interface.
Install
sudo apt install nvme-cliUsage
To see the drive health:
# change 0 to the drive number
sudo nvme smart-log /dev/nvme0 -HLast updated on