Menu
blog.headdesk.me
blog.headdesk.me

NVME SSD lifetime

Posted on 2022/08/252022/08/26

Wonder if your NVME SSD is reaching retirement age? Follow these simple steps to get an idea.

Using the nvme command, obtain smart-log information. Here I’m only interested in the read and write count.

# With the nvme command, multiply the results by 512*1000. 
❯ nvme smart-log /dev/nvme0 | egrep ^data_
data_units_read				: 40,119,913
data_units_written			: 82,438,290

# With smartctl, it's calculated automatically
❯ smartctl -a /dev/nvme0 | grep ^Data
Data Units Read:                    40,119,910 [20.5 TB]
Data Units Written:                 82,438,264 [42.2 TB]

So my disk has a read count of 20T and write count of 42T. With these numbers, I can then cross check with the manufacturer specification. My disk is rated at 300 TBW (terrabytes written).

With that, my disk still got 87% of its life. However I notice it is not performing as good as when it was new.

Loading

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Full text search

Recent Posts

  • Generate secure password
  • AWS Compute Savings Plans
  • AWS Zonal Shift
  • Coffee break…
  • Prevent private key from being committed to git
  • aws (14)
  • coffee (2)
  • headfi (1)
  • linux (9)
  • others (61)
  • security (2)
  • tech (41)
  • terraform (3)
  • wordpress (2)

Loading

apache aws awscli azure backup boot cloud coffee docker ec2 EL8 ElasticBeanstalk espresso featured git kernel lelit linux lvm meltdown MFA nat gateway php power proliant python rdp Redhat RHEL rpm Ryzen scp security smartarray smart switch snapshot spectre tech terraform ubuntu ubuntu upgrade vpn windows wordpress workspace

©2026 blog.headdesk.me | Powered by SuperbThemes