I accidentally ran badblocks
on my entire 320 GB disk instead of a single partition:
sudo badblocks -s -v -n -f /dev/sda
It's been running for 42 hours now. How can I tell when it will be finished? Can I interrupt it safely with Ctrl+C?
I accidentally ran badblocks
on my entire 320 GB disk instead of a single partition:
sudo badblocks -s -v -n -f /dev/sda
It's been running for 42 hours now. How can I tell when it will be finished? Can I interrupt it safely with Ctrl+C?
How can I tell when it will be finished?
You are using the -v
(verbose) flag to badblocks
. It should be constantly showing you:
xx.xx% done, xx:xx elapsed.
, from which you can easily estimate when it will finish.
Can I interrupt it safely with Ctrl+C?
Yes.