NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
BJB
Apr 19, 2019Aspirant
Second NAS RN104 backup Maintenance Schedule
After putting my RN424 in live service as my live current backup NAS, my old RN104 is not on most of the time and is really just a backup to THAT NAS for certain shares as a failsafe.
I had the...
Sandshark
Jan 08, 2021Sensei
I took a look at the original script because I know my backup NAS already holds the power-off for a scrub. It does so because it initiates an MDADM re-sync concurrently with the scrub and a re-sync is already checked for. I've not noticed if there is any significant time from when the re-sync normally ends to the end of the scrub, so it still might interrupt the very end of the scrub.
But I am a bit surprised that Netgear didn't take into consideration those other tasks to delay a shut-down and that there isn't a system flag already present to say one is in progress that would eliminate the problem with multiple parallel tasks. For me, the scrub is taken care of as I described, the balance is short enough to complete in the allocated on time, and I don't do the others. But not everyone takes those into account when scheduling a power-down.
StephenB
Jan 09, 2021Guru
Sandshark wrote:
I took a look at the original script because I know my backup NAS already holds the power-off for a scrub. It does so because it initiates an MDADM re-sync concurrently with the scrub and a re-sync is already checked for.
There is another scenario - and that is if you do a scrub on a volume that doesn't have RAID redundancy. For instance, if you do a scrub on a JBOD volume, the NAS will only do the btrfs scrub.
My motivation was to defer shutdown when the disk test was running. But the approach I used is easily adapted for each maintenance test (since I am just looking in the status log, and not attempting to figure out what is going on by looking at smartctl, mdadm, and btrfs directly). So I just did them all.
Sandshark wrote:
But I am a bit surprised that Netgear didn't take into consideration those other tasks to delay a shut-down and that there isn't a system flag already present to say one is in progress that would eliminate the problem with multiple parallel tasks.
Agreed. kohdee did engage in a related thread in the idea exchange - for some reason he seemed to think that most users would prefer to abort the maintenance in order to maintain the schedule. That made no sense to me.
BTW, when testing this script I discovered a problem with a jbod volume on my RN202. The disk test failed (though the smart stats and hdsentinel both say it is "perfect"). So I am glad I spent the time to do the mod.
Related Content
NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!