NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

itsonlycomputer's avatar
Apr 17, 2017
Solved

ReadyNAS Ultra4 - Possible Corrupted Firmware - No Access to Shares

Workstation OS:    MACOS Sierra

Model:        RNDU4000

Firmware:   4.2.30

OS:             x86

Drives:        RAID Level X-RAID2, 4 disks

Network:     Connected via LAN Interface 1

 

I have lost access to all of my shares on my NAS,  I do have access to the Admin interface,  however any changes made are not saved.    From what I can tell, my drives are intact and healthy, but believe my firmware must somehow be corrupted.

 

I attempted to upload the 4.2.30 firmware again and I'm getting a message that the firmware version for x86 is invalid.

 

Any help would be greatly appreciated as I do not have a full backup of the device,  was in the process of uploading data to a cloud backup when all of this happened.  Ugggggghhhhhh

 

Thank You

David

 

  • jak0lantash's avatar
    jak0lantash
    Apr 17, 2017

    itsonlycomputer wrote:

    Any way to install it in this condition?


    No, that's the problem. On OS4, you need to install an add-on, and if the root is full, you can't. So if the NAS doesn't allow to connect via SSH, Tech Support Mode is the next step.

    If you want to contact NETGEAR for Support, they have option for paid Support.

     

    Otherwise, you can try to fix it yourself. But please careful, these instructions are only meant to be taken as is. I'm not responsible for anything bad that can happen, perform the actions only if you understand them and feel safe doing it.

    These are only valid for RAIDiator4.2 and are meant to cover this specific situation only!

    Most of the commands I gave are nonintrusive (or close to nonintrusive).

     

     

    Spoiler
    1. Boot into Tech Support Mode via Boot Menu:
    https://kb.netgear.com/20898/ReadyNAS-ReadyDATA-Boot-Menu
    2. Use RAIDar to identify the IP address.
    3. Telnet the IP shown by RAIDar.
    4. You can find the credentials here: http://netgear.nas-central.org/wiki/TechSupportMode
    5. Start the RAID arrays: start_raid.sh
    6. Mount the OS volume: mount /dev/md0 /sysroot
    7. Check space usage: df -h
    8. If md0 is indeed 100% full, continue, if not paste the output here and stop.
    9. Move into the OS volume: cd /sysroot
    10. Calculate the space usage for each subfolder: du -h -d1 .
    11. In the output, there should be a big folder, with multiple GB of data (typical OS space usage is <1GB out of the 4GB capacity).
    If you know what is wrong, continue, if not paste the output here and stop. 12. Move to the big folder: cd <folder> 13. Repeat (calculate the space, move to the big folder, etc.), until you clearly identify either which log file is big and shouldn't be or which folder is big and shouldn't be. This type of condition is often due to a log file that wasn't truncated/rotated and that's filling up the OS volume or some data that was written to the OS instead of the data volume. If the space used is mainly in the current folder, check the size of the files in the current folder: ls -alh 14. Take necessary actions to free up the space if you know what to do, otherwise paste the output here and stop. 15. Move back to the root: cd / 16. Sync: sync 17. Unmount the OS volume: umount /sysroot 18. Stop the RAID arrays: mdadm -S /dev/md* 19. Reboot the machine: reboot -f

     

    If at any point, you're not sure, paste here the ouput and stop.

    (I'm going to bed for now, but I'll review tomorrow.)

38 Replies

Replies have been turned off for this discussion
  • Can you try to download the logs from the GUI?

    If they download OK, check at the end of volume.log that md0 is not 100% full.

    • itsonlycomputer's avatar
      itsonlycomputer
      Aspirant

      Without doing a thing,  I no longer have access to the Front panel, so I am unable to download any logs.  Also, the IP address changed to a 192.168.168.168 address,  going to try resetting my ip address on my mac to see if I can access it.

       

       

       

  • If it's indeed a full root, it's very easy to fix via Tech Support mode. But I can't really help you to do that since I'm no longer working for NETGEAR Support...
    Is SSH enabled on the NAS?
    • itsonlycomputer's avatar
      itsonlycomputer
      Aspirant

      Note taken,  what ever instructions you provide, I'll do at my own risk. I'm not sure if ever installed that add-on or not.   Any way to install it in this condition?   Either way, if you could provide complete instructions, I'll do at my own risk.  This device is long past its warranty.

       

      Thanks

      David

       

      • StephenB's avatar
        StephenB
        Guru - Experienced User

        You should be able to get paid support for this (which I believe costs about $75).

         

        Do you need to get data off of the NAS?  If not, you can simply do a factory reset, reconfigure it, and then restore the data from backup.

  • A full root often leads to corrupted config files as mdgm-ntgr said. An OS Reinstall rarely fixes that but is worth a try.
  • I should have mentioned that mdadm -S /dev/md* is expected to show some errors. Checking that all the arrays are stopped with cat /proc/mdstat is a good step that could be added (though I was trying to use only steps that require little to no explanation).

    1. Not too sure. Did you do anything via SSH prior to the issue?
    2. The log files are OK. Those sort files aren't.
    3. Within RAIDiator 4.2 generation, yes. To ReadyNAS OS6, no.

    Glad your data is accessible again.

NETGEAR Academy

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

Join Us!

ProSupport for Business

Comprehensive support plans for maximum network uptime and business peace of mind.

 

Learn More