Trying to see how much life is left in my SSD, under ESXi.
Am I right to use 'blocks written' x 'logical block size' to get bytes written?
Code:
[root@vmware-esxi:~] esxcli storage core device capacity list
Device Physical Blocksize Logical Blocksize Logical Block Count Size Format Type
------------------------------------------------------------------------ ------------------ ----------------- ------------------- ----------- -----------
t10.NVMe____Samsung_SSD_970_PRO_1TB_________________XXXXXXXXXXXXXXXX 4096 512 2000409264 976762 MiB 512e
[root@vmware-esxi:~] esxcli storage core device stats get
t10.NVMe____Samsung_SSD_970_PRO_1TB_________________XXXXXXXXXXXXXXXX
Device: t10.NVMe____Samsung_SSD_970_PRO_1TB_________________XXXXXXXXXXXXXXXX
Successful Commands: 92984701
Blocks Read: 1682127948
Blocks Written: 2348390012
Read Operations: 27059624
Write Operations: 65067428
Reserve Operations: 5598
Reservation Conflicts: 0
Failed Commands: 7204
Failed Blocks Read: 0
Failed Blocks Written: 0
Failed Read Operations: 0
Failed Write Operations: 4
Failed Reserve Operations: 0
[root@vmware-esxi:~]
In other words:
2348390012 x 512 = 1202375686144 bytes written?
and then
(1202375686144 / (1024^4)) = 1.094 TBW?
This is after 3 years in a small business setting... I'm a bit confused.