How to Fix: smartd scheduled short test overloads system & crashes it
📋 Table of Contents
The issue you're experiencing is caused by the smartd service running a scheduled short test that overloads the system and causes it to crash. This can happen when the test collides with other services or when there are issues with file indexing, such as bugged plocate/mlocate/updatedb processes.
⚠️ Common Causes
- The smartd service is configured to run a short test that exceeds the system's power limits, causing it to crash.
- The SAS HBAs + expanders are overloaded, leading to excessive power consumption and heat generation.
- File indexing issues, such as bugged
plocate/mlocate/updatedbprocesses, can cause the system to become unstable and crash during the short test.
🛠️ Step-by-Step Verified Fixes
Method 1: Disable Smartd Short Test
- Step 1: Edit the smartd configuration file to disable the short test.
- Step 2: Run the command
smartctl -d scsi -q runto stop the smartd service. - Step 3: Verify that the short test is no longer scheduled by running the command
smartctl -d scsi -q status.
Method 2: Monitor and Manage Power Consumption
- Step 1: Install monitoring software, such as
smartdmon, to track power consumption and identify potential issues. - Step 2: Adjust the system's power settings to ensure that the SAS HBAs + expanders are not overloaded.
Method 3: Resolve File Indexing Issues
- Step 1: Update the
plocate/mlocate/updatedbpackages to the latest version. - Step 2: Run the command
find / -type f -print > /dev/nullto identify and clean up any unnecessary files.
💡 Conclusion
By following these steps, you should be able to resolve the issue causing your system to crash during the smartd short test. Remember to monitor your system's power consumption and file indexing to prevent similar issues in the future.
❓ Frequently Asked Questions
🛠️ Related Fixes
How to Remove Virtual Network Adapter causing Hidden Network
Resolve hidden network issues by identifying and removing a problemati
SSD Not Showing Full Volume Space in Disk Management
Discover why your SSD's full volume space isn't showing up in Disk Man
How to Fix Lenovo LOQ Performance Issues
Resolve Lenovo LOQ performance issues by updating drivers, running a d