how to shutdown my ubuntu-server 16.04.2 [duplicate]

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

[ok] Stopped LVM2 metadata daemon

img

What can I do?

0

1 Answer

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.

1

You Might Also Like