NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
John245
May 06, 2021Tutor
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/Share...
- May 06, 2021
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 directoryYou'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.
StephenB
May 06, 2021Guru - Experienced User
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:
- 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.
- 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.
- There is a script you could try here: https://gitlab.codycook.us/readynas-scripts/share_lun_ui_fix.sh
John245
May 06, 2021Tutor
Thanks for the suggestions. But acces to root is denied. And running the script will tell that the filename directory is missing.
---
John
- StephenBMay 06, 2021Guru - Experienced User
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.
- John245May 06, 2021Tutor
Ok, So I logged in wit username root and the NAS admin password. I have access to the root folder, which is empty.
Script including result will look teh following:
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---
John
- StephenBMay 06, 2021Guru - Experienced User
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 directoryYou'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.
Related Content
NETGEAR Academy

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