IT/Hardware/Hard Drives: Difference between revisions

From msgwiki
< IT‎ | Hardware
Jump to navigation Jump to search
Access restrictions were established for this page. If you see this message, you have no access to this page.
No edit summary
No edit summary
Line 7: Line 7:


You will need to install smartctl which comes in the gsmartcontrol package.  It is no longer standalone.  
You will need to install smartctl which comes in the gsmartcontrol package.  It is no longer standalone.  
The most important piece of information is the Total Terabytes Written. Find with the command below.


<code>sudo /usr/sbin/smartctl -A /dev/sda | awk '$0~/LBAs/{ printf "TBW %.1f\n", $10 * 512 / 1024^4 }'</code>
<code>sudo /usr/sbin/smartctl -A /dev/sda | awk '$0~/LBAs/{ printf "TBW %.1f\n", $10 * 512 / 1024^4 }'</code>
The graphical tool gives you Total LBAs written.  Take that number and divide by 2,000,000,000 to roughly get TBW.
You can expect 75 to 300 TBW on a 1/2 TB (512 GB) drive.

Revision as of 05:31, 11 June 2020

I like Samsung SSDs. Thats a full stop at the end of the previous sentence!

General

Smart Control

This is software for managing hard drives. It works well for Samsung SSDS

You will need to install smartctl which comes in the gsmartcontrol package. It is no longer standalone.

The most important piece of information is the Total Terabytes Written. Find with the command below.

sudo /usr/sbin/smartctl -A /dev/sda | awk '$0~/LBAs/{ printf "TBW %.1f\n", $10 * 512 / 1024^4 }'

The graphical tool gives you Total LBAs written. Take that number and divide by 2,000,000,000 to roughly get TBW.

You can expect 75 to 300 TBW on a 1/2 TB (512 GB) drive.