Jump to content
XPEnology Community

How to schedule a data scrubbing ?


toshas

Recommended Posts

How to schedule a data scrubbing ?

 

Synology has software raid. There is one weak point of soft-raid - data will be checked only during read/write access to this data.

 

So on raid1,raid5 (and even on raid6 in worst case) is possible such situation:

 

1. one hdd fails

2. hdd replaced by new one

3. synology start data recovery

4. old data on another hdd has bad sector (which wasn't tested in near past)

5. synology marks volume as read-only

6. all data (several TB ?) should be moved to new place with partial data lost.

 

To prevent this situation periodical data scrubbing is strongly recommended.

Even in 5.0 beta there is no way to create schedule for this job.

 

http://forum.synology.com/enu/viewtopic.php?t=65340

http://forum.synology.com/enu/viewtopic.php?t=78392

http://forum.synology.com/enu/viewtopic.php?t=23454

http://forum.synology.com/enu/viewtopic.php?t=8926

 

So the question is: Could someone to share script for periodically checking and repairing raid volume (maybe even with email notifications) ?

 

thanks a lot!

Link to comment
Share on other sites

How to schedule a data scrubbing ?

 

Synology has software raid. There is one weak point of soft-raid - data will be checked only during read/write access to this data.

 

So on raid1,raid5 (and even on raid6 in worst case) is possible such situation:

 

1. one hdd fails

2. hdd replaced by new one

3. synology start data recovery

4. old data on another hdd has bad sector (which wasn't tested in near past)

5. synology marks volume as read-only

6. all data (several TB ?) should be moved to new place with partial data lost.

 

To prevent this situation periodical data scrubbing is strongly recommended.

Even in 5.0 beta there is no way to create schedule for this job.

 

http://forum.synology.com/enu/viewtopic.php?t=65340

http://forum.synology.com/enu/viewtopic.php?t=78392

http://forum.synology.com/enu/viewtopic.php?t=23454

http://forum.synology.com/enu/viewtopic.php?t=8926

 

So the question is: Could someone to share script for periodically checking and repairing raid volume (maybe even with email notifications) ?

 

thanks a lot!

Link to comment
Share on other sites

×
×
  • Create New...