Command to find RAID status of NAS device

I would like to know whether there is any command that could be run from cli, to find the RAID status of a WD NAS device. I used to login to the device to find the status of the drives. This is actually for scripting, such that I could run a scheduled task to get the status of drives. Any help would be appreciable. Thanks in advance.

Try posting in the network section.


The command you’re looking for is:

cat /proc/mdstat

I use windows servers. Thanks.

Sorry, are you asking if there’s a WINDOWS CLI command you can issue to determine the RAID status of the MBL?

That’d be tricky, but I imagine cURL for Windows could do it, if you can find the specific PHP call / URL that represents the status in the Web UI… (Plus login / authentication and all that jazz…)