NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
Luterin
Jan 25, 2016Aspirant
Forcing a resync? How to, and is it needed?
I am starting to wonder if my ReadyNAS 104 (v6.4.1) is doing its monthly resyncing, as most mdadm bases NASes do, since I am encountering a bit of read errors in dmesg, but they can ofcourse be related to a drive going bad.
This got me curious, so I first just checked the normal things, "mdadm --detail /dev/md127" and "cat /proc/mdstat", but they are fine, so only thing that is an indicator is a bunch of likes in dmesg like "md/raid:md127: read error corrected (8 sectors at 4966230320 on sdd3)"
I then went to check the logs, and when I select Volume Log, it's pretty empty, except for some "Volume data usage exceeds 80%" and the original resync that was done at installation back in 2013, but no other trace in the logs about resyncs. Selecting "all categories" still does not give me any trace of any resync, but perhaps this is not logged on the ReadyNAS?
So, I now wonder if there is no monthly resync being done, or if it's just not logged. Not sure where to look for it's automation, but couldn't find it in crontab anyway.
If it's not done monthly, I would like to preform resyncs manually someway, and perhaps it could be nice to know this even if its done automatically aswell. I have good general linux server knowledge, just never worked much software raids, and ofcourse do not want to mess things up by telling mdadm a bunch of bad things.
Would be happy for any information or help in this issue.
Thanks in advance!
We disabled the default automatic monthly mdadm resync, but instead have added the ability for you to schedule scrubbing on the schedule you prefer.
Go to System > Volumes, click the Settings Wheel for your volume and you should see a Volume Schedule option.
Best to schedule volume maintenance to run when the NAS will be used lightly. Weekly defrag and balance would be recommended. Scrubbing should not be done too regularly. Certainly not any more often than monthly. Personally I'd do it about every 3 months or so.No amount of volume maintenance is a replacement for backing up your data. If the NAS holds the primary copy of important data then you should backup that data.
Volume maintenance can be used to keep your NAS perfoming optimally and help reduce the likelihood of needing to do a full restore from backup, but it does not replace the need to backup.Welcome to the Community!
3 Replies
Replies have been turned off for this discussion
- mdgm-ntgrNETGEAR Employee Retired
We disabled the default automatic monthly mdadm resync, but instead have added the ability for you to schedule scrubbing on the schedule you prefer.
Go to System > Volumes, click the Settings Wheel for your volume and you should see a Volume Schedule option.
Best to schedule volume maintenance to run when the NAS will be used lightly. Weekly defrag and balance would be recommended. Scrubbing should not be done too regularly. Certainly not any more often than monthly. Personally I'd do it about every 3 months or so.No amount of volume maintenance is a replacement for backing up your data. If the NAS holds the primary copy of important data then you should backup that data.
Volume maintenance can be used to keep your NAS perfoming optimally and help reduce the likelihood of needing to do a full restore from backup, but it does not replace the need to backup.Welcome to the Community!
- LuterinAspirant
Thanks for the information! I started a scrub manually via the GUI, and it looked as I expected via mdadm aswell. And I also set the schedule for it every 3rd month, it should be enough.
As for the backup part, this NAS is actually partially a backup to a real raid 6 server, but also holds files that are not very important. I also have offsite backup on the most relevant data from the main server, and even just a plain 3 TB USB that gets most relevant things backed up monthly, so yeah, I'm ahead of you when it comes to backing up important stuff, but thanks for the reminder. Way too few realise the importance of backups until they have lost everything atleast once.
Thanks for the information and the fast reply!
- mdgm-ntgrNETGEAR Employee Retired
Great! Glad I answered your question. The explanation of backups was as much for someone else that comes across the thread as for you.
Scrubs are good preventative maintenance.
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!