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

Forum Discussion

John245's avatar
John245
Tutor
May 06, 2021
Solved

Shares Gone 2120v2

Marc_V 

In the 4th comment of this post it was mentioned that a script is available to solve the issues of shares that are gone.

 

https://community.netgear.com/t5/New-ReadyNAS-Users-General/Shares-gone/m-p/1825296#M38777

 

If I SSH into the system I see this and my shares/folders are in TEAPHOMENAS01_DATA. Will this script help. How can I get my shares vissible?

 

---

John


  • John245 wrote:


    root@TEAPHOMENAS01:~# root@readynasos:#/ curl -s https://gitlab.codycook.us/readynas-scripts/share_lun_ui_fix.sh/raw/master/share_lun_ui_fix.sh | bash
    -bash: root@readynasos:#/: No such file or directory

     


    You're supposed to just enter this bit:

    curl -s https://gitlab.codycook.us/readynas-scripts/share_lun_ui_fix.sh/raw/master/share_lun_ui_fix.sh | bash

    The root@readynasos:#/ preamble was just representative of the normal Linux CLI prompt.

     

    Did you use df to check the fullness of the root partition?  You really should do that before running the script.

     

    Also, as the web page notes, you need to be running 6.10.0 or later firmware.

9 Replies

  • What firmware are you running?

     


    John245 wrote:

    . How can I get my shares visible?

     


    One option is to used paid technical support via my.netgear.com.  The mods ( JohnCM_S and Marc_V ) can facilitate that.  Ask if you can get per-incident support.

     

    If you want to pursue this yourself:

    1. It'd be good to first check if the root partition is full with df, as that can damage configuration files.  The root partition is only 4 GB. Normally it's about 25% full. 
    2. If you can download the full log zip file from the web ui Logs tab, then you could also look in there to get more information on what went wrong.
    3. There is a script you could try here: https://gitlab.codycook.us/readynas-scripts/share_lun_ui_fix.sh
    • John245's avatar
      John245
      Tutor

      Thanks for the suggestions. But acces to root is denied. And running the script will tell that the filename directory is missing.

       

      ---

      John

       

       

       

      • StephenB's avatar
        StephenB
        Guru

        John245 wrote:

        Thanks for the suggestions. But acces to root is denied.

         


        is SSH enabled?  If so, connect with ssh using root as the username and the NAS admin password.  The script also needs to be run as root.

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