1.Power off the NAS. Then power it back on.
2. Run a ping, as soon as you can SSH back into the NAS, run the command:
#/etc/init.d/services.sh stop
3. Once service is stopped, you can run: *** or you can delete files in SSH ***
#/etc/init.d/smb.sh start
Once that service starts, you should be able access the shared folders again:
4.Then once you remove what you need, run:
#/etc/init.d/services.sh start