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

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

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

Loading

apache apigateway aws awscli azure backup cloud coffee docker ec2 EL8 ElasticBeanstalk enpass espresso featured kernel lelit linux lvm meltdown MFA nat gateway nginx php proliant python rdp Redhat RHEL rpm Ryzen s2s scp serverless site-to-site smartarray snapshot spectre tech terraform transit gateway ubuntu ubuntu upgrade vpn wordpress

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