Nach Reboot (host) => can not read boot disk

Alex Fuchs

New Member
Sep 27, 2016
6
0
1
26
Germany
www.thomas-krenn.com
Hallo zusammen,

Konfiguration:
Software RAID5 für Images (gemountet unter /media/mount/RAID5)
Image werden als QEMU-Image über SATA eingebunden (HardDisk (sata0) RAID5:104/vm-104-disk-1.qcow2)
Es läuft ein Debian 8 als Nextcloud-Server.

Ich habe den Host kurzfristig herunterfahren müssen und daher den Host direkt heruntergefahren, ohne die einzelnen VMs im Voraus herunterzufahren.
Nun habe ich das Problem, dass keine "bootable disk" gefunden werden kann.

Wie kann das Problem gelöst werden? Bzw. wurde das Problem durch den unerwarteten Shutdown verursacht?


Grüße aus Freyung
Alexander Fuchs
 

Attachments

  • not a bootable disk_0.png
    not a bootable disk_0.png
    61 KB · Views: 5
  • not a bootable disk_1.png
    not a bootable disk_1.png
    77.2 KB · Views: 5
Es scheint dass der brutal shutdown hat das Master Boot Record von VM beschädigt.
Am besten booten die VM mit einer live CD, und schauen ob man die partitionen mounten kann von der Live CD.
 
Hab auf einer zweiten VD nun Ubuntu installiert, dort wird mir bei der ursprünglichen VD nicht mal eine Partitionierung angezeigt, sondern schlichtweg nur /dev/sda .

Ein Auszug des Tools "boot-repair" gibt Folgendes aus:
  1. Drive: sda
  2. Disk /dev/sda: 40 GiB, 42949672960 bytes, 83886080 sectors
  3. Units: sectors of 1 * 512 = 512 bytes
  4. Sector size (logical/physical): 512 bytes / 512 bytes
  5. I/O size (minimum/optimal): 512 bytes / 512 bytes

  6. Partition Boot Start Sector End Sector # of Sectors Id System

  7. Invalid MBR Signature found.
Des Weiteren habe ich nachgesehen, wie Proxmox mit einem plötzlichen Shutdown des Hosts agiert. Es scheint, als würden alle VM´s "sauber" heruntergefahren werden, bevor der Host selbst rebootet/herunterfährt, da in der Task-Log für jede VM ein "shutdown" angeordnet wird.

Hätte auch noch versucht, Snapshots zu laden, leider ohne Erfolg:

Error: command /usr/bin/qemu-img snapshot -a Snap1 /media/mount/RAID5/images/104/vm-104-disk-1.qcow2 failed: exit code 1
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!