If a disk is unhealthy, we need to remove it automatically, otherwise, the job can fail repeatedly and never succeed.
Changes
Implement a simple disk health checker which simply checks whether new file can be created and is readable and writable. If not, remove the unhealthy disk automatically.
Motivation
If a disk is unhealthy, we need to remove it automatically, otherwise, the job can fail repeatedly and never succeed.
Changes
Implement a simple disk health checker which simply checks whether new file can be created and is readable and writable. If not, remove the unhealthy disk automatically.
Test