Find SSD capacity loss

SSDs degrade over time with usage, here’s how you find out how much you lost so far…

Install Link to heading

sudo pacman -S smartmontools

Run Link to heading

sudo smartctl --all /dev/nvme0

Result Link to heading

One of the lines will look like this:

Percentage Used:                    28%

That means you lost over a quarter of your storage. Buy better hardware next time!