Data Scrubbing
Perform Data Scrubbing
Data Scrubbing is a data maintenance feature that inspects storage pools. The following two types of Data Scrubbing will be performed sequentially:
- File system scrubbing: This function will check the volumes in Btrfs file system. If any data inconsistent with the checksum is detected, the system will try to use a backup to repair the data and the file path will be recorded in Log Center.
- RAID scrubbing: This function can be used with storage pools that implement SHR (comprised of three or more drives), RAID 5, or RAID 6. It can repair any detected data inconsistencies.
We recommend regularly performing Data Scrubbing to ensure data consistency and avoid data loss in the event of drive failure.
Note:
- Data Scrubbing and the related functions described in this article are available on specific models only.
- Data Scrubbing cannot be performed when the status of the storage pools is Crashed or Degraded.
- If data checksum for advanced data integrity is not enabled for a shared folder, file system scrubbing will not be able to check and repair the data in the folder for lack of checksums.
Set Data Scrubbing Schedule
You can set a Data Scrubbing schedule. The system will run Data Scrubbing according to your settings.
To set a Data Scrubbing schedule:
- Launch Storage Manager.
- Go to Storage Pool > Data Scrubbing.
- Click Set schedule.
- Tick Enable Data Scrubbing schedule.
- Specify the Frequency, Start date, and Time Session.
- Go to Select Target tab.
- Select the storage pool on which you want to perform Data Scrubbing.
- Click OK.
Note:
- To be added to a schedule, storage pool has to be in Normal status and supports Data Scrubbing.
- If your system is upgraded from version 6.1, storage pools with the capability of running Data Scrubbing will by default be added to the schedule.
- If you have set your schedule in version 6.1, we will automatically enable your schedule according to your previous settings.
To add a storage pool to a schedule or remove a storage pool from a schedule:
- Click Set Schedule
- Go to Select Target tab.
- Tick or untick the checkbox of a storage pool to decide whether you want to add or remove it from a schedule.
- Click OK.
Note:
- A storage pool cannot be added to or removed from a schedule when Data Scrubbing is being manually run on this storage pool.
- To remove a storage pool that is undergoing a scheduled Data Scrubbing, the progress of this storage pool will be canceled.
To modify schedule settings:
- Click Set Schedule.
- Modify the frequency, start date, and time session according to your needs.
- Click OK.
Note:
- Modifying the Start date will reset the progress of the schedule and Data Scrubbing will be restarted according to the new start date.
To pause a schedule:
- Select a storage pool that is undergoing Data Scrubbing schedule.
- Click Pause Schedule from the Action drop-down list.
Note:
- You need to click Resume Schedule from the Action drop-down menu to resume a Data Scrubbing schedule. Otherwise, the schedule will remain paused.
Run Data Scrubbing manually:
When an abnormality in storage space is detected by the system, you can try to repair your data by running Data Scrubbing manually.
To run Data Scrubbing manually:
- Open Storage Manager.
- Go to Storage Pool > Data Scrubbing.
- Select the storage pool on which to perform Data Scrubbing.
- Click Manual Run from the Action drop-down menu.
Note:
- If the system is shut down before Data Scrubbing completes, some progress may be lost and you will need to manually restart Data Scrubbing.
- If the time of manually-run Data Scrubbing overlaps with the scheduled Data Scrubbing, this round of schedule will not be completed until manually-run Data Scrubbing is finished.
- Running Data Scrubbing may influence your system performance, we suggest you not to run Data Scrubbing on multiple storage pools unless it is necessary.
To pause a schedule on a storage pool that is undergoing manual-run Data Scrubbing:
- Select a storage pool that you want to pause.
- Click Pause from the Action drop-down menu.