LoginSignup
7
7

More than 5 years have passed since last update.

Hyper-V上のUbuntu仮想マシンがシャットダウンできない

Last updated at Posted at 2015-11-17

環境

  • Windows Server 2012 R2
  • Hyper-V上の仮想マシン -- Ubuntu 14.04 LTS

トラブル

仮想マシン上のUbuntuにSSHで入ってゴニョゴニョしてるんですが、
再起動が必要になった時、

#shutdown -r now

をしても全然応答が無い。
うぬぬぬ…。
実機のWindows Serverは遠いところにあるので、
更にRemote Desktopで入って、
Hyper-Vマネージャを立ち上げて、
仮想マシン見るとシャットダウン途中で止まっておる。

Hyper-Vからシャットダウンして再起動。
…めんどくさいんじゃ!

ググる

Ubuntu Forum より
Ubuntu 14.04 Desktop will not shutdown in Hyper-V 2012 R2 VM
↑ほうほう…。
ここにあるapparmorの再インストールはダメらしい。
下の方を見ていくと…

I was having the same issue. What solved this was turning off dynamic memory for the VM.

よくわからんが、仮想メモリのことかしら。
どれどれ。

Hyper-Vマネージャから仮想マシンの「Hyper-Vの設定」
「NUMAモードにまたがるメモリ割り当て」にある
「仮想マシンに物理 NUMA ノードをまたがるメモリを割り当てる」
のチェックを外す。

その後仮想マシンの再起動をリモートからやってみると直った!
なんだよNUMAノードって。またがってんじゃねーよ。

7
7
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
7
7