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.
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
StephenB
May 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!