NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
pdaly12
Feb 09, 2022Aspirant
Zero Bytes after a few seconds
We've been receiving a strange zero bytes issue when saving files. We are running a few iMacs on the network, it's a mix machines running MacOS Monterey down to High Sierra.
We can save a variety of files such as PNG, JPEG and adobe AI files. Yet after saving the files, they change the file size to zero bytes. This is regardless of file types and is only happening on new files saves to the NAS. Old untouched files are not affected.
Likewise, we're experiencing a few filename issues where files are being saved as test1.jpg and a few days later we noticed they had been renamed to something like test1.j or test1.j_
This seems to be irrelevant of any disk defrag or scrub as these are completed overnight on a monthly basis. We do not save files to the NAS regularly, maybe a few read/wries per hour.
IPv6 is off
Antivirus is disabled
File Search is disabled.
EXT4 with 1.3TB USED of 2.7TB
87.5GB used for snapshots
4 x 1TB drives
Disk1 Health:
All ok
Disk2 Health:
Current Pending Sector Count: 25
Uncorrectable Sector count: 24
Disk3 Health:
Reallocated sectors: 60
Reallocation events: 55
Disk4 Health:
ATA Error Count: 56
Reallocated sectors: 11Reallocation events: 12
Can I safely assume the issue is caused by hard drive 2 and 4 and they need replacing? (but not at the same time as we are using RAID5)
I also noted that when I check the file info on a zero bytes file, there is an issue with one of the users (this spinning circle appears on teh file info on all files)
I have given my colleague a separate user account with full privelidges as he uses it the most and was concerned it was a corrupt account. But this did not change anything.
Any advice would be appreciated.
Thanks in advance
14 Replies
Replies have been turned off for this discussion
- StephenBGuru - Experienced User
pdaly12 wrote:
Can I safely assume the issue is caused by hard drive 2 and 4 and they need replacing? (but not at the same time as we are using RAID5)
Well, disk 3 also has issues worth looking into. Personally I'd take a disk with 60 reallocated sectors out of service (though there likely are folks here who'd disagree with that).
Have you downloaded the full log zip file, and looked for BTRFS and disk errors?
- pdaly12Aspirant
Is there any particular log that I should concentrate on. i.e. system.log (system log only has todays events).
Smart Log suggests a load of sector re-writes back in December, but nothing for yesterday (when we last experienced zero bytes)
Does your hunch suggest that it is a disk I/O issue that would cause this? it was a mild issue a year ago after an upgrade to the latest firmware, so we rolled back it was still happening. We then thought that Samba was causing it due to one mac being upgraded to the latest MacOS a few weeks prior, so we switched to AFP and it was rarely happening. However its become rife at the moment. I'll order 2 HD's for now. maybe order another if we still have the issue as disk 3 is reallocating successfully and theoretically that shouldnt be causing so many issues. Disk 2 is my primary concern as the errors suggest failure soon.
- StephenBGuru - Experienced User
pdaly12 wrote:
Is there any particular log that I should concentrate on. i.e. system.log (system log only has todays events).
system.log, kernel.log, systemd-journal.log
If you have ssh enabled, you can log into the NAS and run smartctl -x /dev/sdxx
That will show the disk's error log (including UNCs that don't seem to show up other places). https://community.netgear.com/t5/Using-your-ReadyNAS-in-Business/Disk-test-running-10-days-already/td-p/1786277
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!