On Fri, 19 Mar 2021 at 19:53, Alexander V. Makartsev <avbetev@gmail.com> wrote:
To perform surface scans you can use SMART short and long scans, and also a program called "badblocks" from the package "e2fsprogs".
Be sure to unmount "/dev/sda1" before performing the scans.
Hi, I wonder why you give this advice to unmount.
Are you aware of a smartmontools reference document
that gives this advice?
If not using captive mode --captive option then
I feel it is unnecessary.
If using captive mode then I would suggest to unmount
the entire drive, not just one partition.
This is my casual understanding, corrections with
authoritative sources are welcome.
Normally, a SMART scans are non-destructive and would finish with an
error as soon as first bad block is found.