r/TronScript • u/akaslolita • Feb 07 '23
answered Force defrag
Hello guys... I'm a tron script enjoyer since I discovered the tool!
And Yes, I read the instructions, I mean, a big part of it atleast...
Is there a way to force defrag? Because happened more than once: Tron skips defrag because "yes_ssd" (fucking 10 years old HDD beggin for defrag). Thanks in advance
12
Upvotes
8
u/bubonis Feb 07 '23
There is no "force defrag" function because defrag is the default action.
What I suspect is happening is this. From the documentation:
What I think is happening is that smartctl.exe is throwing up one of those unspecified errors, and because of that error defrag is being skipped. Given that your drive is a "fucking 10 years old HDD" I wouldn't be surprised if it the drive is failing its SMART test. That being the case you most assuredly do not want to try to defrag a failing drive, lest all of your data go poof when the drive completely fails during that defrag.
I would suggest cloning your HD to a new drive (preferably SSD) before you do anything else.
Also, paging u/vocatus for verification.
3
u/bartbartholomew Feb 08 '23
I'd point out that modern versions of Windows do not need to be de-fragmented. The only exception is if your drive goes over 85% full, and is later cleared out. Windows intentionally spreads files over the disk to improve read time for commonly loaded files. While not as detrimental as on an SSD, it is still detrimental on an old HDD.
0
u/[deleted] Feb 07 '23
[deleted] — view deleted comment