NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
RealityDev
May 20, 2019Aspirant
RAID 1 resync incredibly slow
I would've replied to this thread but I don't see any options to reply.
https://community.netgear.com/t5/Using-your-ReadyNAS-in-Business/ReadyNAS-4312X-Initial-Sync-Incredibly-Slow/td-p/1312492
When I try to use blockdev I get an error that says:
-bash: blockdev: command not found
What am I missing here?
37 Replies
Replies have been turned off for this discussion
- StephenBGuru - Experienced User
RealityDev wrote:
When I try to use blockdev I get an error that says:
-bash: blockdev: command not found
It's on my RN202 (and my RN526)
root@RN202:~# which blockdev /sbin/blockdev
What firmware are you running? Are you logging in as root?
RealityDev wrote:
Of course using the tips there is at your own risk.
- I wouldn't disable NCQ myself. All the posts I'm seeing that suggest that are quite old, and seem to target hardware controllers (not software RAID).
- I don't have any experience in tuning read-ahead - so if I changed that during sync, I'd change it back to the original value when it is done. You can see that value with blockdev --getra /dev/md127
- RealityDevAspirant
The firmware version is 6.10.0 and logging in as root allowed me to change the settings. However it doesn't seem like the settings make any difference, it's still ultra slow at over 140 hours to sync a 4TB mirrored RAID. I can't believe Netgear does not optimize the device to sync faster than this, people are okay with taking a week or more to do something that should take less than a day?
- StephenBGuru - Experienced User
RealityDev wrote:
I can't believe Netgear does not optimize the device to sync faster than this, people are okay with taking a week or more to do something that should take less than a day?
It shouldn't take a week for 2x4TB so I think something is wrong.
What disks are you using (manufacturer and model)?
Have you looked at the smart stats for both disks?
# smartctl -x /dev/sda
# smartctl -x /dev/sdbThe -x will give you some data on recent failed commands, which I think is relevant here.
- yxueNETGEAR Expert
Can you use get_disk_info to see if there are errors on disks
- RealityDevAspirant
Why are my replies being removed?
- StephenBGuru - Experienced User
RealityDev wrote:
Why are my replies being removed?
There is an automated spam filter that might be kicking in. Mods should be looking in there periodically to release false positives - but if there is a flood of spam that isn't always practical. You can PM me if you have this problem, and I will release your post as soon as I can.
- RealityDevAspirant
Disk info:
root@nas1:~# get_disk_info
Device: sda
Controller: 0
Channel: 0
Model: WDC WD4000FYYZ-05UL1B0
Serial: WD-WMC130D3C11E
Firmware: 00.0NS05
Class: SATA
RPM: 7200
Sectors: 7814037168
Pool: data
PoolType: RAID 1
PoolState: 3
PoolHostId: 405641b2
Health data
ATA Error Count: 0
Reallocated Sectors: 0
Reallocation Events: 0
Spin Retry Count: 0
Current Pending Sector Count: 0
Uncorrectable Sector Count: 0
Temperature: 41
Start/Stop Count: 12
Power-On Hours: 256
Power Cycle Count: 12
Load Cycle Count: 0Device: sdb
Controller: 0
Channel: 1
Model: WDC WD4000FYYZ-05UL1B0
Serial: WD-WCC13JSVRE5D
Firmware: 00.0NS05
Class: SATA
RPM: 7200
Sectors: 7814037168
Pool: data
PoolType: RAID 1
PoolState: 3
PoolHostId: 405641b2
Health data
ATA Error Count: 0
Reallocated Sectors: 211
Reallocation Events: 1
Spin Retry Count: 0
Current Pending Sector Count: 0
Uncorrectable Sector Count: 0
Temperature: 41
Start/Stop Count: 36
Power-On Hours: 257
Power Cycle Count: 27
Load Cycle Count: 12
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!