baruch / diskscan

Scan disk for bad or near failure sectors, performs disk diagnostics
GNU General Public License v3.0
108 stars 29 forks source link

"do not attempt tp write if mounted" #57

Closed Stoatwblr closed 7 years ago

Stoatwblr commented 7 years ago

This is relatively safe if the disk is part of a redundant set. Scrubbing will find/fix the bad data spot later.

Adding a --yes-I-know-what-I-am-doing override would be useful.

baruch commented 7 years ago

Not sure what you are saying here

If you want to test a disk in a raid set, remove it from the raid and then test it and reinsert into raid if you deem it ok.

baruch commented 7 years ago

It is only safe if you then go on to validate your raid and even then the raid may not be smart enough to be able to recover, it is far safer to remove the drive from the raid and then check it.