NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
anwsmh
Jun 11, 2021Aspirant
OS 6.10.5 CLI management commands (for managing RAID groups)
Are there any CLI commands for managing RAID groups in OS 6 ? I have just apparently serendipitously recovered from the Authentication Loop bug in the management interface (remove disks and boot w...
- Jun 16, 2021
Thank you for your helpful remarks StephenB.
I am giving some attention to replacing the discs with more suitable models.
In the meantime, since it's manifest that I don't know what I am doing, I have bought Netgear support who will certainly do a better job getting me out this mess than me.
Thank you.
StephenB
Jun 11, 2021Guru - Experienced User
Managing RAID groups can be done with normal mdadm and btrfs commands.
But that's just the tip of the iceberg. Backup jobs, share settings, maintenance tasks, power schedules, email alerts, ...
anwsmh
Jun 11, 2021Aspirant
Thank you StephenB.
I expect I am trouble with this (tick all the boxes: no web interface - sadly, it's back in the Authentication loop; and just about zero conceptual knowlege of the ReadyNAS RAID implementation) but since a data reshape is sitting on 2.75% (from front panel) and top shows load averages of 6.01, 6.08, 6.07 with the md127_raid5 process sitting on 100%, I was looking for alternative ways of knowing what's happening etc.
- SandsharkJun 11, 2021Sensei - Experienced User
Well, that's what you use the mdadm and btrfs commands for. To see the status of RAIDs, including sync status, use cat /proc/mdstat. Or if you want a continuous update, use watch cat /proc/mdstat. This is not unique to the ReadyNAS. MDADM is a standard part of Linux and BTRFS is a common addition. So just Googling for standard Linux commands will get you started.
- anwsmhJun 11, 2021Aspirant
Thank you Sandshark.
The cat /proc/mdstat shows that sync is happening but at a rate of 33kB/sec, so it looks like trying to do stuff (in this case, adding a disk) without adequate preparation will earn it's usual reward.- StephenBJun 11, 2021Guru - Experienced User
anwsmh wrote:
The cat /proc/mdstat shows that sync is happening but at a rate of 33kB/sec,You could query the smart stats for each disk using smartctl. Also, you can use journalctl to see if there are any errors going on that might be slowing the sync.
FWIW, I always test my new disks in a PC using vendor tools before adding them to the NAS. I run the full non-destructive test, and follow that up with the full erase/write zeros test.
I sometimes have had new drives pass the short smart tests, but fail one of those more extensive tests.
Related Content
NETGEAR Academy

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