× NETGEAR will be terminating ReadyCLOUD service by July 1st, 2023. For more details click here.
Orbi WiFi 7 RBE973
Reply

Re: Shutdown process can't finish : what to do ?

icy
Aspirant
Aspirant

Shutdown process can't finish : what to do ?

Hi all,
Ready Nas Ultra 4 using os 6.1.9

2 days ago; i've initiate a shutdown on the nas, using the front panel button. But the nas want not to shutdown...

- The nas is perfectly available(read/write) with samba.

- Accessing the web interface, i receive a "Device is offline" ... indeed, the nas is not present in the Device section.

- The nas osd blink with a "shutdown ..." message. If I press the button again, nothing changes...

- I can ssh as root! But with a "ps -ef|grep shutdown", no process appear... My linux knowledge are limited...
- a shutdown -c , give nothing.

I guess I can't simply (and safely) unplug the ac adapter... so what to do?

Thx for the help....
Message 1 of 8
spiderman1
Guide

Re: Shutdown process can't finish : what to do ?

Try this command:

rn_shutdown now
Message 2 of 8
vandermerwe
Master

Re: Shutdown process can't finish : what to do ?

You can force a shutdown by pushing the power button for 5 seconds.
Message 3 of 8
mdgm-ntgr
NETGEAR Employee Retired

Re: Shutdown process can't finish : what to do ?

Sounds like a service or app must be preventing it from shutting down somehow.

What services are you running and what apps,do you have installed?
Message 4 of 8
icy
Aspirant
Aspirant

Re: Shutdown process can't finish : what to do ?

Thanks for all your answers 🙂

spiderman wrote:
Try this command:

rn_shutdown now

mmmh ...
root@ReadyNas:~# rn_shutdown now
!!!!!! Use 'reboot' command to reboot. !!!!!!

And a reboot -p give :
root@ReadyNas:~# reboot -p
Broadcast message from root@ReadyNas on pts/0 (Fri, 05 Dec 2014 01:04:46 +0100):
The system is going down for reboot NOW!

I'm still waiting 😐

vandermerwe wrote:
You can force a shutdown by pushing the power button for 5 seconds.

Ok, same than unplug the ac adapter 😉 I just would like to avoid to brick my Nas 😛

mdgm wrote:
Sounds like a service or app must be preventing it from shutting down somehow.
What services are you running and what apps,do you have installed?


root@ReadyNas:~# service --status-all
[ - ] acpid

The acpid show up after 15 mins... I'm still waiting the command to complete...
Apps are : plex, some monitoring apps (htop, phpsys info), readynas photo2.
...
A top give me this...
top - 06:15:14 up 14 days, 13:06,  2 users,  load average: 9.46, 9.21, 9.14
Tasks: 220 total, 1 running, 172 sleeping, 0 stopped, 47 zombie
%Cpu(s): 0.3 us, 0.3 sy, 0.0 ni, 99.3 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
KiB Mem: 1008616 total, 979224 used, 29392 free, 20 buffers
KiB Swap: 523708 total, 294168 used, 229540 free, 283784 cached

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
10111 root 20 0 28484 1680 1172 R 1.0 0.2 0:00.27 top
574 root 20 0 0 0 0 S 0.3 0.0 29:51.73 fsnotify_mark
1 root 20 0 45548 1556 376 D 0.0 0.2 0:41.02 systemd
2 root 20 0 0 0 0 S 0.0 0.0 0:01.35 kthreadd
3 root 20 0 0 0 0 S 0.0 0.0 0:52.05 ksoftirqd/0
6 root rt 0 0 0 0 S 0.0 0.0 0:01.41 migration/0
7 root rt 0 0 0 0 S 0.0 0.0 0:02.86 watchdog/0
8 root rt 0 0 0 0 S 0.0 0.0 0:01.34 migration/1
10 root 20 0 0 0 0 S 0.0 0.0 0:46.22 ksoftirqd/1
12 root rt 0 0 0 0 S 0.0 0.0 0:02.41 watchdog/1
13 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 khelper
261 root 20 0 0 0 0 S 0.0 0.0 0:02.54 sync_supers
263 root 20 0 0 0 0 S 0.0 0.0 0:00.05 bdi-default
265 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kblockd
371 root 20 0 0 0 0 S 0.0 0.0 0:00.00 khubd
378 root 20 0 0 0 0 S 0.0 0.0 0:01.65 kworker/0:0
380 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 md

2 user (2 ssh), no load at all...

Neverless, i've followed vandermerwe proposition...
Thanks again for all your replies..
Message 5 of 8
vandermerwe
Master

Re: Shutdown process can't finish : what to do ?

icy wrote:


vandermerwe wrote:
You can force a shutdown by pushing the power button for 5 seconds.

Ok, same than unplug the ac adapter 😉 I just would like to avoid to brick my Nas 😛



I am not sure that the 2 methods are the same in terms of the risk of "bricking". I always thought the long press was reasonably safe, but unexpected power loss is more problematic?
Message 6 of 8
mdgm-ntgr
NETGEAR Employee Retired

Re: Shutdown process can't finish : what to do ?

What about

# systemctl
Message 7 of 8
icy
Aspirant
Aspirant

Re: Shutdown process can't finish : what to do ?

Today, again I can't reboot...
All previous command won't work.

But today, the samba process (smbd) take 100% of 1 core since a while :
Broadcast message from root@ReadyNas (Sun, 14 Dec 2014 15:22:49 +0100):
3984 root 20 0 246m 2380 976 R 100.1 0.2 10314:22 smbd
13287 root 20 0 28484 1704 1176 R 1.0 0.2 0:00.48 top


I tried to stop it, kill it nicely and hardly ... it won't be killed...

I've tried :
mdgm wrote:
What about

# systemctl


but

root@ReadyNas:/data/Videos# systemctl
Failed to get D-Bus connection: Failed to authenticate in time.


So once again, i did a hard reset 😐
Message 8 of 8
Top Contributors
Discussion stats
  • 7 replies
  • 2450 views
  • 0 kudos
  • 4 in conversation
Announcements