NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
KillerBob
Jun 13, 2012Aspirant
Volume Maintenance timing
Hi,
I am setting up Volume Maintenance, and set both Disk Scrubbing and Online Filesystem Consistency Check for "Every 4 Weeks", on Tuesdays. However, it didn't trigger yesterday, and I wonder how I reset it, and it then triggers???
/Bo
I am setting up Volume Maintenance, and set both Disk Scrubbing and Online Filesystem Consistency Check for "Every 4 Weeks", on Tuesdays. However, it didn't trigger yesterday, and I wonder how I reset it, and it then triggers???
/Bo
12 Replies
Replies have been turned off for this discussion
- mdgm-ntgrNETGEAR Employee RetiredWhat version of RAIDiator?
What time did you set on Tuesday for the Disk Scrubbing and what time for the Online Filesystem Consistency Check? - KillerBobAspirantHi,
I am using 4.2.21 T7, and the times were set for 02:00 every 4 weeks (Tuesdays) for the Disk Scrubbing, and for 02:00 every 4 weeks (Fridays) for the Online Filesystem Consistency Check.
/Bo - mdgm-ntgrNETGEAR Employee RetiredUpdate to the production release (Edit: oops, I was thinking of 4.2.20 which was released a month and a half ago).
Also try setting Online Filesystem Consistency Check to run 1hr before disk scrubbing. Also could try scheduling to start not right on the hour. - KillerBobAspirantI had the same issue/question on 4.2.20!
I don't think the issue is that the maintenance doesn't trigger, just that it is right now running in a schedule, which is every 4 weeks, and this week was not one of them. The question I have then is; how do I reset the "every 4 weeks" to start tonight for example? I thought it would be enough to save without anything in the schedule, and then create the schedule from scratch?
/Bo - mdgm-ntgrNETGEAR Employee RetiredThe information is in here:
MDGM-NAS:~# cat /etc/frontview/vol_maint.conf
scrub:/dev/c/c:4:1338656402
consistency:/dev/c/c:1:1339254002
If you don't have SSH access, go to System > Config Backup in Frontview, download the config, extract the zip contents and look at the file. You'll see a timestamp. You can use an epoch time converter on the web (e.g. http://www.epochconverter.com/) to work out when the job was last run.
As you can see I have disk scrubbing scheduled every four weeks and a consistency check scheduled every week. I run the consistency check two hours before the disk scrubbing. Running on the hour works fine for me, but I don't think you can do both checks at the same time. - KillerBobAspirantHi,
Doing that I get:
BMK-rnp:~# cat /etc/frontview/vol_maint.conf
scrub:/dev/c/c:4:
consistency:/dev/c/c:4:
BMK-rnp:~#
As the scrub runs on Tuesdays, and the consistency on Fridays, the timing shouldn't be a problem.
/Bo - mdgm-ntgrNETGEAR Employee RetiredThat does seem to suggest it hasn't run yet.
Check the cron log
tail /var/log/cron.log
looking for entries indicating that /etc/cron.d/frontview-vol_maint was run - KillerBobAspirantYou are right, there is nothing in the cron.log. However, it has run a number of times, but not since I tried cancelling it, and recreating the jobs from scratch.
How do I select when it is run the first time?
/Bo - mdgm-ntgrNETGEAR Employee RetiredThere should be an entry in the cron log for when it is run. The cronjob should be run each week regardless. The script will check /etc/frontview/vol_maint.conf and use the information there to decide whether to do the maintenance.
What does your /etc/cron.d/frontview-vol_maint look like? - KillerBobAspirantHi,
It looks like:
0 2 * * tue root /frontview/bin/vol_maint scrub /dev/c/c
0 2 * * fri root /frontview/bin/vol_maint consistency /dev/c/c
/Bo
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!