This question already has an answer here:

When I use sudo init 0 to shutdown the system ,it always staying at

[ok] Stopped LVM2 metadata daemon

img

What can I do?

marked as duplicate by muru, Pilot6, Eric Carvalho, Charles Green, user364819 Jun 7 '17 at 19:53

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

The proper way to shutdown, is to use the shutdown command.

e.g.:

sudo shutdown -P now

info about shutdown

shutdown [OPTION]... TIME [MESSAGE]

-h Requests that the system be either halted or powered off after it has been brought down, with the choice as to which left up to the system.
-H Requests that the system be halted after it has been brought down.
-P Requests that the system be powered off after it has been brought down.

  • I tried these command but It's nothing to work – AhianZhang Jun 8 '17 at 4:33

Not the answer you're looking for? Browse other questions tagged or ask your own question.