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.

facebookShare on Facebook
TwitterTweet

Leave a Reply Cancel reply

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

Full text search

Recent Posts

  • Terraform and segregated permissions
  • LVM Compression and Deduplication
  • Edit gpg encrypted file with vim
  • Lelit Elizabeth PL92T Pressure Tuning
  • jq transformation
  • aws (8)
  • coffee (1)
  • headfi (1)
  • linux (6)
  • others (58)
  • security (2)
  • tech (36)
  • wordpress (2)

apache aws awscli azure backup clearlinux cloud coffee docker DOCP ec2 EL8 epyc espresso featured gpg jenkins kernel lelit linux lvm meltdown memory MFA mikrotik php python rdp Redhat RHEL roasting rpm Ryzen site-to-site snapshot spectre tech terraform tuning ubuntu ubuntu upgrade vim vpn wordpress xdotool

©2023 blog.headdesk.me | Powered by SuperbThemes & WordPress