Find SSD capacity loss

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

Install

sudo pacman -S smartmontools

Run

sudo smartctl --all /dev/nvme0

Result

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!