disk-burnin-and-testing
smartmontools
Our great sponsors
disk-burnin-and-testing | smartmontools | |
---|---|---|
18 | 43 | |
787 | 92 | |
- | - | |
0.0 | 3.2 | |
9 months ago | 10 months ago | |
Shell | C++ | |
GNU General Public License v3.0 or later | GNU General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
disk-burnin-and-testing
-
[HDD] Seagate EXOs 12TB SATA Hard Drive - $99.99 ($8.33/TB) (Refurbished)
Verify authenticity or integrity? I run this on all of the drives I get in: https://github.com/Spearfoot/disk-burnin-and-testing
-
Should I return my drives?
You could check them using badblocks or the script available at this github repo https://github.com/Spearfoot/disk-burnin-and-testing. If they fail, send the seller the log file as evidence and getting a refund/replace should be pretty straightforward
- Just got some new drives. What do you think? Is this good enough packing?
-
Family member wants to stress test 4x20TB drives before using them. Need help....
I used this script fine on 18TB drives. I don't know why it wouldn't work on 20TB https://github.com/Spearfoot/disk-burnin-and-testing . It uses badblocks, but honestly I don't know much about this stuff. If it passes I consider it good to deploy. It does look like it uses a 8192 block size.
-
About to finish testing my 12x mechanical drives and not sure how to test my SSDs now
Hello, I'm using Spearfoot's disk-burnin script for smart short, smart long and bad blocks tests. I read here and there that we shouldn't test bad blocks on SSDs and I'm curious why. I'd also like to know how to test SSDs with the Spearfoot script since I already know how to test multiple disks at the same time with screens in Putty. I've read the documentation and scrolled through the script and I can't find a way to deactivate the bad blocks test and only do smart short and smart long.
-
Used SAS drive checklist?
I'm starting this process tonight and this is the best ressource I've found so far to do disk burnin and testing.
-
Harddrive beaten in shipping, how can I confirm if it's reliable?
You can do a 'burn-in' test for 48 hours in an attempt to give yourself some confidence that they are okay. In my experience unless they were going into a high-redundancy array the risk associated with keeping them is much higher than the downside of replacing them right away, if you can. Shouldnt be any guilt with returning them, the shop that sold them should be able to make a claim against the shipping company and should sell them as used/returned drives and the person who does buy them understands and accepts that risk.
- It ain’t much but it’s my first big boy storage drive. Question: I always run a full error scan on new HDD’s with HD Tune, is this necessary to ensure a full working drive or is it overkill? Should I just check SMART attributes?
-
Software to test harddrives?
I use this for new drives https://github.com/Spearfoot/disk-burnin-and-testing
-
Create vdev while completing burnin
So I'm currently testing a new pair of drives in my TrueNAS Server. I'm running Spearfoot's burnin script and it has finished running badblocks and has launched the final smartctl long-test.
smartmontools
-
Are HDDs REALLY better than SSDs for long term bulk storage?
Most advanced SMARTmonTools or if you on windows and prefer GUI, then there is wrapper GSmartControl
-
New Proxmox install, new SSD's, ZFS pool degraded
smartctl -a /dev/sda smartctl 7.3 2022-02-28 r5338 [x86_64-linux-6.2.16-19-pve] (local build) Copyright (C) 2002-22, Bruce Allen, Christian Franke, www.smartmontools.org === START OF INFORMATION SECTION === Model Family: Samsung based SSDs Device Model: Samsung SSD 870 EVO 250GB Serial Number: S6PDNL0W801463R LU WWN Device Id: 5 002538 f538005bf Firmware Version: SVT02B6Q User Capacity: 250,059,350,016 bytes [250 GB] Sector Size: 512 bytes logical/physical Rotation Rate: Solid State Device Form Factor: 2.5 inches TRIM Command: Available, deterministic, zeroed Device is: In smartctl database 7.3/5319 ATA Version is: ACS-4 T13/BSR INCITS 529 revision 5 SATA Version is: SATA 3.3, 6.0 Gb/s (current: 6.0 Gb/s) Local Time is: Sun Dec 10 16:50:10 2023 AST SMART support is: Available - device has SMART capability. SMART support is: Enabled === START OF READ SMART DATA SECTION === SMART overall-health self-assessment test result: PASSED General SMART Values: Offline data collection status: (0x00) Offline data collection activity was never started. Auto Offline Data Collection: Disabled. Self-test execution status: ( 0) The previous self-test routine completed without error or no self-test has ever been run. Total time to complete Offline data collection: ( 0) seconds. Offline data collection capabilities: (0x53) SMART execute Offline immediate. Auto Offline data collection on/off support. Suspend Offline collection upon new command. No Offline surface scan supported. Self-test supported. No Conveyance Self-test supported. Selective Self-test supported. SMART capabilities: (0x0003) Saves SMART data before entering power-saving mode. Supports SMART auto save timer. Error logging capability: (0x01) Error logging supported. General Purpose Logging supported. Short self-test routine recommended polling time: ( 2) minutes. Extended self-test routine recommended polling time: ( 85) minutes. SCT capabilities: (0x003d) SCT Status supported. SCT Error Recovery Control supported. SCT Feature Control supported. SCT Data Table supported. SMART Attributes Data Structure revision number: 1 Vendor Specific SMART Attributes with Thresholds: ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE 5 Reallocated_Sector_Ct 0x0033 100 100 010 Pre-fail Always - 0 9 Power_On_Hours 0x0032 099 099 000 Old_age Always - 915 12 Power_Cycle_Count 0x0032 099 099 000 Old_age Always - 22 177 Wear_Leveling_Count 0x0013 099 099 000 Pre-fail Always - 2 179 Used_Rsvd_Blk_Cnt_Tot 0x0013 100 100 010 Pre-fail Always - 0 181 Program_Fail_Cnt_Total 0x0032 100 100 010 Old_age Always - 0 182 Erase_Fail_Count_Total 0x0032 100 100 010 Old_age Always - 0 183 Runtime_Bad_Block 0x0013 100 100 010 Pre-fail Always - 0 187 Uncorrectable_Error_Cnt 0x0032 100 100 000 Old_age Always - 0 190 Airflow_Temperature_Cel 0x0032 070 066 000 Old_age Always - 30 195 ECC_Error_Rate 0x001a 200 200 000 Old_age Always - 0 199 CRC_Error_Count 0x003e 098 098 000 Old_age Always - 1798 235 POR_Recovery_Count 0x0012 099 099 000 Old_age Always - 18 241 Total_LBAs_Written 0x0032 099 099 000 Old_age Always - 782989633 252 Unknown_Attribute 0x0032 100 100 000 Old_age Always - 2 SMART Error Log Version: 1 No Errors Logged SMART Self-test log structure revision number 1 No self-tests have been logged. [To run self-tests, use: smartctl -t] SMART Selective self-test log data structure revision number 1 SPAN MIN_LBA MAX_LBA CURRENT_TEST_STATUS 1 0 0 Not_testing 2 0 0 Not_testing 3 0 0 Not_testing 4 0 0 Not_testing 5 0 0 Not_testing 256 0 65535 Read_scanning was never started Selective self-test flags (0x0): After scanning selected spans, do NOT read-scan remainder of disk. If Selective self-test is pending on power-up, resume after 0 minute delay.
- Smartmontools 7.4 released – tool to check disk (NVMe, SATA, SCSI) health
-
Win10 Partiton Disk Read Error
smartctl 7.2 2020-12-30 r5155 [x86_64-linux-5.15.0-76-generic] (local build) Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org === START OF INFORMATION SECTION === Model Family: Seagate Barracuda 2.5 5400 Device Model: ST2000LM015-2E8174 Serial Number: WDZQRCCB LU WWN Device Id: 5 000c50 0cffc8e36 Firmware Version: 0001 User Capacity: 2.000.398.934.016 bytes [2,00 TB] Sector Sizes: 512 bytes logical, 4096 bytes physical Rotation Rate: 5400 rpm Form Factor: 2.5 inches TRIM Command: Available Device is: In smartctl database [for details use: -P show] ATA Version is: ACS-3 T13/2161-D revision 3b SATA Version is: SATA 3.1, 6.0 Gb/s (current: 6.0 Gb/s) Local Time is: Sun Jul 9 20:07:42 2023 CEST SMART support is: Available - device has SMART capability. SMART support is: Enabled
-
Issue with disks
Copyright (C) 2002-19, Bruce Allen, Christian Franke, www.smartmontools.org
-
Degraded Pool Questions
``` root@truenas[~]# smartctl -a /dev/sdc smartctl 7.2 2020-12-30 r5155 [x86_64-linux-5.10.142+truenas] (local build) Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org
- Need help calculating DWPD
-
How do you get the SSD manufacturer name and total written data in mac mini m2 pro?
Install smartmontools or DriveDx.
-
Drive mounts on Arch PC but not on Debian Server
Here is smartctl output however it is not very helpful: ``` denast@denastServer ~ [32]> sudo smartctl -a /dev/sdc1 smartctl 7.3 2022-02-28 r5338 [x86_64-linux-5.10.0-20-amd64] (local build) Copyright (C) 2002-22, Bruce Allen, Christian Franke, www.smartmontools.org
-
[USA-PA] [H] NUC7i5 w/ 256GB SSD, (the following all not part of the NUC) 2TB SandDisk, 4 TB Western Digital Red HD, DDR3 SO-DIMM RAM US-E [W] PayPal
smartctl 7.2 2020-12-30 r5155 [x86_64-linux-5.19.0-32-generic] (local build) Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org === START OF INFORMATION SECTION === Device Model: SanDisk SSD PLUS 2000GB Serial Number: 204415800414 LU WWN Device Id: 5 001b44 8bb25d19b Firmware Version: UP4504RL User Capacity: 2,000,398,934,016 bytes [2.00 TB] Sector Size: 512 bytes logical/physical Rotation Rate: Solid State Device Form Factor: 2.5 inches TRIM Command: Available, deterministic Device is: Not in smartctl database [for details use: -P showall] ATA Version is: ACS-3, ACS-2 T13/2015-D revision 3 SATA Version is: SATA 3.2, 6.0 Gb/s (current: 6.0 Gb/s) Local Time is: Sat Apr 29 21:28:28 2023 EDT SMART support is: Available - device has SMART capability. SMART support is: Enabled === START OF READ SMART DATA SECTION === SMART overall-health self-assessment test result: PASSED General SMART Values: Offline data collection status: (0x00) Offline data collection activity was never started. Auto Offline Data Collection: Disabled. Self-test execution status: ( 0) The previous self-test routine completed without error or no self-test has ever been run. Total time to complete Offline data collection: ( 120) seconds. Offline data collection capabilities: (0x11) SMART execute Offline immediate. No Auto Offline data collection support. Suspend Offline collection upon new command. No Offline surface scan supported. Self-test supported. No Conveyance Self-test supported. No Selective Self-test supported. SMART capabilities: (0x0003) Saves SMART data before entering power-saving mode. Supports SMART auto save timer. Error logging capability: (0x01) Error logging supported. General Purpose Logging supported. Short self-test routine recommended polling time: ( 2) minutes. Extended self-test routine recommended polling time: ( 255) minutes. SMART Attributes Data Structure revision number: 1 Vendor Specific SMART Attributes with Thresholds: ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE 5 Reallocated_Sector_Ct 0x0032 100 100 000 Old_age Always - 0 9 Power_On_Hours 0x0032 100 100 000 Old_age Always - 18894 12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 49 165 Unknown_Attribute 0x0032 100 100 000 Old_age Always - 918 166 Unknown_Attribute 0x0032 100 100 --- Old_age Always - 5 167 Unknown_Attribute 0x0032 100 100 --- Old_age Always - 42 168 Unknown_Attribute 0x0032 100 100 --- Old_age Always - 11 169 Unknown_Attribute 0x0032 100 100 --- Old_age Always - 731 170 Unknown_Attribute 0x0032 100 100 --- Old_age Always - 0 171 Unknown_Attribute 0x0032 100 100 000 Old_age Always - 0 172 Unknown_Attribute 0x0032 100 100 000 Old_age Always - 0 173 Unknown_Attribute 0x0032 100 100 000 Old_age Always - 5 174 Unknown_Attribute 0x0032 100 100 000 Old_age Always - 23 184 End-to-End_Error 0x0032 100 100 --- Old_age Always - 0 187 Reported_Uncorrect 0x0032 100 100 000 Old_age Always - 0 188 Command_Timeout 0x0032 100 100 --- Old_age Always - 0 194 Temperature_Celsius 0x0022 079 063 000 Old_age Always - 21 (Min/Max 13/63) 199 UDMA_CRC_Error_Count 0x0032 100 100 --- Old_age Always - 0 230 Unknown_SSD_Attribute 0x0032 100 100 000 Old_age Always - 2465328005694 232 Available_Reservd_Space 0x0033 100 100 005 Pre-fail Always - 100 233 Media_Wearout_Indicator 0x0032 100 100 --- Old_age Always - 10263 234 Unknown_Attribute 0x0032 100 100 000 Old_age Always - 24792 241 Total_LBAs_Written 0x0030 100 100 000 Old_age Offline - 9556 242 Total_LBAs_Read 0x0030 100 100 000 Old_age Offline - 117452 244 Unknown_Attribute 0x0032 000 100 --- Old_age Always - 0 SMART Error Log Version: 1 No Errors Logged SMART Self-test log structure revision number 1 No self-tests have been logged. [To run self-tests, use: smartctl -t] Selective Self-tests/Logging not supported
What are some alternatives?
stressdisk - Stress test your disks / memory cards / USB sticks before trusting your valuable data to them
CrystalDiskInfo - CrystalDiskInfo
FreeNAS-scripts - Handy shell scripts for use on FreeNAS servers
gsmartcontrol - GSmartControl - Hard disk drive and SSD health inspection tool
TrueNAS-Scripts
freenas-iocage-nextcloud - Script to create an iocage jail on FreeNAS for the latest Nextcloud 28 release, including Caddy, MariaDB or PostgreSQL, and Let's Encrypt
truenas-useful-scripts - A collection of scripts for TrueNAS to display useful information, do some reporting by email and backup the TrueNAS config.
grafana-unraid-stack - Meet Gus! He has everything you need to start monitoring Unraid (Grafana - Influxdb - Telegraf - Loki - Promtail).
utility-scripts-for-freenas-and-vmware-esxi - All-In-One utility scripts for FreeNAS and VMware ESXi
zbx-smartctl - Templates and scripts for monitoring disks health with Zabbix and smartmontools
nvm - Node Version Manager - POSIX-compliant bash script to manage multiple active node.js versions
minio-service - Collection of MinIO server scripts for upstart, systemd, sysvinit, launchd.