NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
RaymondBailey
Jul 27, 2018Aspirant
Missing /bin folder (ReadyNAS 600 Pro+ RNDP600U)
While connected via ssh and performing an rsync backup I managed to delete the /bin folder on from the device rather than from the external HDD, however the copy on the external HDD is available.
How can I copy get a copy of the /bin folder back onto the device.
Notes:
- The external HDD is connected to one of the USB ports on the rear of the device
- I have ssh sessions open on as root, 2 from a Windows 10 station, and one from a linux box running linuxlite 3.8
Performing the OS reinstall from the boot menu worked, now the admin menu is reporting a drive in predictive failure (it wasn't before and I only knew via email alert). My understanding it that the drive is hot swappable, please correct me if I am wrong as I do have a replacement on hand.
14 Replies
Replies have been turned off for this discussion
- StephenBGuru - Experienced User
You could of course copy the files with the cp command (or use rsync in the reverse direction).
- RaymondBaileyAspirant
Currently the ssh prompt is at the external HDD, so the correct command to execute is?
"cp -a ./bin/. /"
- RaymondBaileyAspirant
Apparently the not all the contents of the /bin/ were copied over to the external hdd as originally thought, there were only links:
lrwxrwxrwx ed
lrwxrwxrwx ip
lrwxrwxrwx ipaddr
lrwxrwxrwx iplink
lrwxrwxrwx iproute
lrwxrwxrwx iprule
lrwxrwxrwx iptunnel
lrwxrwxrwx lsmod.modutils
lrwxrwxrwx lspci
lrwxrwxrwx mt
lrwxrwxrwx pidof
lrwxrwxrwx rbash
lrwxrwxrwx setpci
lrwxrwxrwx sh
lrwxrwxrwx usleep
lrwxrwxrwx vi
Suppose the only thing to do now is:
- factory reset the unit
- reconfigure it
- restore all the data
Mistakes were made, lesson learned...
- mdgm-ntgrNETGEAR Employee Retired
You could try
# touch /.os_update
or
# echo > /.os_update
Then reboot the NAS
Or do an OS Re-install using the boot menu. This should recreate the /bin folder.
- RaymondBaileyAspirant
Doesn't touch reside within the /bin/ folder or am I mistaken?
- mdgm-ntgrNETGEAR Employee Retired
Hmmm. Good point.
In that case you may need to use the boot menu to do an OS Re-install. Though depending how much the system is messed up doing a factory reset and restoring from backup may still be the best way forward.
Though you just need to do anything that creates the /.os_update file (it can be empty)
Even something like
1 > /.os_update
might work. It'd give an error but it'd probably still create the file.
Related Content
NETGEAR Academy

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