Skip to content
Disk management

Disk management

Disk management in Linux

lsblk

List drives and mount points

lsblk

List drives, mount points, and file systems

lsblk -f

udisks: the drive model

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 status

nvme-cli: NVMe commands

nvme-cli is a NVMe management command line interface.

Install

sudo apt install nvme-cli

Usage

To see the drive health:

# change 0 to the drive number
sudo nvme smart-log /dev/nvme0 -H
Last updated on