Last active
August 30, 2025 14:30
-
-
Save porteusconf/6d31466688d508215dfcd8b1d2590709 to your computer and use it in GitHub Desktop.
Use crosh in chromeos to do short SMART test of ssd/hdd and extensive bad-blocks surface scan of entire drive (for flex or non-flex chromeos)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ### chromeos has storage_test_1 and storage_test_2 to test drive (sdd or hdd) | |
| ### Hit ctrl-alt-T then at crosh prompt type: | |
| crosh> storage_test_1 --help | |
| storage_test_1 | |
| Performs a short offline SMART test.(Always takes just 1 minute.) | |
| crosh> | |
| Welcome to crosh, the ChromeOS developer shell. | |
| If you got here by mistake, don't panic! Just close this tab and carry on. | |
| Type 'help' for a list of commands. | |
| If you want to customize the look/behavior, you can use the options page. | |
| Load it by using the Ctrl-Shift-P keyboard shortcut. | |
| crosh> storage_test_1 | |
| smartctl 7.3 2022-02-28 r5338 [x86_64-linux-6.6.56-05946-gde9195f5f448] (local build) | |
| Copyright (C) 2002-22, Bruce Allen, Christian Franke, www.smartmontools.org | |
| Please wait 1 minutes for test to complete. | |
| crosh> storage_test_2 --help | |
| storage_test_2 | |
| Performs an extensive readability test. | |
| crosh> storage_test_2 (This can tke long time, hours for a big hdd.) | |
| Checking blocks 0 to 312571223 | |
| Checking for bad blocks (read-only test): 0.24% done, 0:08 elapsed. (0/0/0 errors) | |
| ... (the % done will update as test continues until done...) | |
| done | |
| Pass completed, 0 bad blocks found. (0/0/0 errors) | |
| crosh> | |
| === System === | |
| --- System Info --- | |
| Snapshot Time: 8/30/25, 12:00:01 AM EDT | |
| Board Name: reven | |
| Marketing Name: | |
| CpuModel Name: AMD E1-1200 APU with Radeon(tm) HD Graphics | |
| Total Memory (kib): 4194304 | |
| Thread Count: 2 | |
| Cpu Max Clock Speed (kHz): 1400000 | |
| Version: 132.16093.0 | |
| Has Battery: true | |
| --- Battery Charge Status --- | |
| Battery State: kDischarging | |
| Power Source: kAc | |
| Power Time: 0 seconds | |
| Current Now (mA): 6027 | |
| Chage Now (mAh): 216 | |
| --- Battery Health --- | |
| Charge Full Now (mAh): 373 | |
| Charge Full Design (mAh): 374 | |
| Cycle Count: 0 | |
| Wear Percentage: 99 | |
| --- Memory Usage --- | |
| Total Memory (kib): 4194304 | |
| Available Memory (kib): 2698380 | |
| Free Memory (kib): 2343632 | |
| --- Cpu Usage --- | |
| Usage User (%): 31 | |
| Usage System (%): 19 | |
| Usage Free (%): 49 | |
| Avg Temp (C): 0 | |
| Current scaled frequency (kHz): 1399476 | |
| --- Test Routines --- | |
| 8/29/25, 10:46:55 PM - Memory - Started | |
| 8/29/25, 11:46:11 PM - Memory - Passed | |
| === Networking === | |
| --- Network Info --- | |
| --- Test Routines --- | |
| No routines of this type were run in the session. | |
| --- Network Events --- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment