NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
ThiloS
Nov 19, 2019Aspirant
RN314 - Every morning: volume error read only.
Hi there, every morning while my backups are running the system says: on volume data an error appears - and puts it into read-only mode. I checked all HDDs and they show no ATA error. I did...
StephenB
Nov 19, 2019Guru - Experienced User
Ok. Can you figure out if one backup job is triggering this problem? If the damage is limited to one share, then you could potentially re-create that share.
ThiloS
Nov 19, 2019Aspirant
If i reboot the nas i can easily finish every backup-job without a problem... : - (
So i can't see a problem with a specific backup-job
- StephenBNov 19, 2019Guru - Experienced User
ThiloS wrote:
If i reboot the nas i can easily finish every backup-job without a problem... : - (
So i can't see a problem with a specific backup-job
If you can't figure out which subvolume is damaged, then you likely will need to do a full reset and restore everything from backup.
If you have ssh enabled, you could try doing a btrfs send for every subvolume to /dev/null, and look for errors after each send.
Are these backups writing to the NAS, or are they reading from the NAS?
- ThiloSNov 20, 2019Aspirant
Another thought:
My NAS starts at 7:00 in the morning.
The first Backup-Jobs are set between 7:00 and 8:00.
The second "wave" from 8:00 til 9:00.
[All backup-jobs are Rsync via SSH from my webservers to the NAS]
Since all backup jobs running well in the middle of the day if i start them manually - i tried now to set them from 8:00 to 9:00
and from 9:00 til 10:00.
(The idea is - that the anti-virus is scanning on the system start-up and at the same time the first backup-jobs are running. Maybe those two services don't like each other ?)
At least the result is for today: No errors. Backup-jobs are running well. The volume is in normal state.What do you think? Is it possible that this is the error?
Should i deactivate AntiVirus at all ?
- StephenBNov 20, 2019Guru - Experienced User
ThiloS wrote:
Another thought:
My NAS starts at 7:00 in the morning.
The first Backup-Jobs are set between 7:00 and 8:00. ...
Since all backup jobs running well in the middle of the day if i start them manually - i tried now to set them from 8:00 to 9:00
and from 9:00 til 10:00.
At least the result is for today: No errors. Backup-jobs are running well. The volume is in normal state.That is a bit odd. I'd leave it set up this way for now, and see if the problem comes back. FWIW, the problem could have been initiated by an error when the NAS started up, and not necessarily the backup jobs.
If the problem doesn't recur over the next couple of days, then I'd suggest doing a scrub from the volume settings wheel - followed by a balance. You'd need to leave the NAS on 24x7 until those complete.
ThiloS wrote:
(The idea is - that the anti-virus is scanning on the system start-up and at the same time the first backup-jobs are running. Maybe those two services don't like each other ?)
...Should i deactivate AntiVirus at all ?
I don't think you have enough information to isolate this to AntiVirus, and there are other things that might be happening at startup (snapshot pruning for example). Plus AntiVirus should also be scanning the files that are being updated by the backup jobs - no matter when they run.
Normally the NAS will go into read-only mode when it detects a problem with the file system itself - and you are seeing those errors in your log zip file. No matter what the cause, it's important to sort out if there is corruption somewhere in the file system on-disk structures, and also to check disk health. The scrub and the balance I suggested above will help with that (and if you've never run them, it would be good to run them anyway). If the volume is healthy, then we can take a closer look at the cause.
BTW, if the backups are initiated by the web server, then you might want to create snapshots when the NAS powers up - that would ensure that your snapshots are coherent. Since the snapshots can only be created on hourly boundaries, that would require you to start up the NAS an hour before the first backup (and also schedule the the first backup wave a bit after the hour). I wouldn't rely on the NAS making a 7 am snapshot if it is booting up at 7 am. FWIW, The NAS backup jobs start at 5 minutes past the hour.
As an aside, I suggest custom snapshots, and not smart ones. Custom snapshots allow you to set retention, which makes the snapshot space easier to manage.
Related Content
NETGEAR Academy

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