![]() | Oracle System Handbook - ISO 7.0 May 2018 Internal/Partner Edition | ||
|
|
![]() |
||||||||||||||||||||
Solution Type Problem Resolution Sure Solution 2374670.1 : VM Takes Long Time to Boot And Grub Menu Delayed
This document provides the solution to abnormal boot time required by VMs running on ODA and OVS 3.4.x In this Document
Created from <SR 3-16826533061> Applies to:Oracle VM - Version 3.4.1 to 3.4.4 [Release OVM34]Oracle Database Appliance - Version All Versions to All Versions [Release All Releases] Linux x86-64 SymptomsVM takes long time to boot. The qemu-dm log is started once the VM is started and logs several lines in the beginning, and then stops logging for around 30 mins, and then resumes logging.
Also, only one VCPU is used by the VM for about 30 min after the VM is started, while four VCPU's are assigned to VM. After 30 mins the VM gets 4 VCPU's. During this time the VM console is not accessible either via "oakcli console" or "xm console" or "xm create -c" ChangesNo changes CauseThe problem was that grub2 was not caching the contents of the extent block: In a typical initramfs that amounts to about 30,000 reads of the same block. BUG 18812855 - Slow grub read of initramfs image; bare-metal and pvhvm boot time much slower SolutionUpgrade the grub package to version grub-0.97-94.0.5.el6_7.1.x86_64 or higher, preferably latest and then reinstall grub on the /dev/xxxx (the boot disk) 1.Upgrade existing package using below command
# rpm -Uvh grub-xxxxxxxxx.x86_64.rpm
2.And then reinstall grub on boot disk
# grub-install /dev/xxxx
3.Now reboot the VM.
References<BUG:18812855> - SLOW GRUB READ OF INITRAMFS IMAGE; BARE-METAL AND PVHVM BOOT TIME MUCH SLOWER<NOTE:1639348.1> - ODAVP: How to boot Guest DomU's into the Rescue System for disaster recovery <NOTE:1581363.1> - "grub-install" Command Fails with Error "/deb/xvda does not have any corresponding BIOS driver." Attachments This solution has no attachment |
||||||||||||||||||||
|