[Users] Change bootdisk from IDE to virtio

------=_NextPartTM-000-e0e80aca-5ad6-4c75-8275-3036cde595fb Content-Type: multipart/alternative; boundary="_000_12EF8D94C6F8734FB2FF37B9FBEDD173585D887BEXCHANGEcollogi_" --_000_12EF8D94C6F8734FB2FF37B9FBEDD173585D887BEXCHANGEcollogi_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello, i have a SLES 11 VM that was migrated into ovirt. I successfully changed all except the boot/root disk to virtio. Nevertheless I'm unable to do the same for the boot disk itself What I've done so far: - replace all /dev/sdx entries in fstab to /disk/by-uuid - replace all /dev/sdx entries in grub/menu.list to /disk/by-uuid - reboot the VM with these settings and IDE boot still active After switching the disk over to virtio the boot process hangs at SeaBIOS... Machine UUID ... iPXE ... Booting from Hard Disk ... Any ideas? Markus --_000_12EF8D94C6F8734FB2FF37B9FBEDD173585D887BEXCHANGEcollogi_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <html dir=3D"ltr"> <head> <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Diso-8859-= 1"> <style id=3D"owaParaStyle" type=3D"text/css">P {margin-top:0;margin-bottom:= 0;}</style> </head> <body ocsi=3D"0" fpstyle=3D"1"> <div style=3D"direction: ltr;font-family: Tahoma;color: #000000;font-size: = 10pt;">Hello,<br> <br> i have a SLES 11 VM that was migrated into ovirt. I successfully<br> changed all except the boot/root disk to virtio. Nevertheless I'm <br> unable to do the same for the boot disk itself<br> <br> What I've done so far:<br> <br> - replace all /dev/sdx entries in fstab to /disk/by-uuid<br> - replace all /dev/sdx entries in grub/menu.list to /disk/by-uuid<br> - reboot the VM with these settings and IDE boot still active<br> <br> After switching the disk over to virtio the boot process hangs at<br> <br> SeaBIOS...<br> Machine UUID ...<br> iPXE ...<br> Booting from Hard Disk ...<br> <br> Any ideas?<br> <br> Markus<br> </div> </body> </html> --_000_12EF8D94C6F8734FB2FF37B9FBEDD173585D887BEXCHANGEcollogi_-- ------=_NextPartTM-000-e0e80aca-5ad6-4c75-8275-3036cde595fb Content-Type: text/plain; name="InterScan_Disclaimer.txt" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="InterScan_Disclaimer.txt" **************************************************************************** Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet. Über das Internet versandte E-Mails können unter fremden Namen erstellt oder manipuliert werden. Deshalb ist diese als E-Mail verschickte Nachricht keine rechtsverbindliche Willenserklärung. Collogia Unternehmensberatung AG Ubierring 11 D-50678 Köln Vorstand: Kadir Akin Dr. Michael Höhnerbach Vorsitzender des Aufsichtsrates: Hans Kristian Langva Registergericht: Amtsgericht Köln Registernummer: HRB 52 497 This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. e-mails sent over the internet may have been written under a wrong name or been manipulated. That is why this message sent as an e-mail is not a legally binding declaration of intention. Collogia Unternehmensberatung AG Ubierring 11 D-50678 Köln executive board: Kadir Akin Dr. Michael Höhnerbach President of the supervisory board: Hans Kristian Langva Registry office: district court Cologne Register number: HRB 52 497 **************************************************************************** ------=_NextPartTM-000-e0e80aca-5ad6-4c75-8275-3036cde595fb--

This is a multi-part message in MIME format. --------------090508090309000201040501 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 21-1-2014 13:16, Markus Stockhausen wrote:
Hello,
i have a SLES 11 VM that was migrated into ovirt. I successfully changed all except the boot/root disk to virtio. Nevertheless I'm unable to do the same for the boot disk itself
What I've done so far:
- replace all /dev/sdx entries in fstab to /disk/by-uuid - replace all /dev/sdx entries in grub/menu.list to /disk/by-uuid - reboot the VM with these settings and IDE boot still active
After switching the disk over to virtio the boot process hangs at
SeaBIOS... Machine UUID ... iPXE ... Booting from Hard Disk ...
initramfs doesn't contain virtio drivers? Joop --------------090508090309000201040501 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit <html> <head> <meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body bgcolor="#FFFFFF" text="#000000"> <div class="moz-cite-prefix">On 21-1-2014 13:16, Markus Stockhausen wrote:<br> </div> <blockquote cite="mid:12EF8D94C6F8734FB2FF37B9FBEDD173585D887B@EXCHANGE.collogia.de" type="cite"> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style> <div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Hello,<br> <br> i have a SLES 11 VM that was migrated into ovirt. I successfully<br> changed all except the boot/root disk to virtio. Nevertheless I'm <br> unable to do the same for the boot disk itself<br> <br> What I've done so far:<br> <br> - replace all /dev/sdx entries in fstab to /disk/by-uuid<br> - replace all /dev/sdx entries in grub/menu.list to /disk/by-uuid<br> - reboot the VM with these settings and IDE boot still active<br> <br> After switching the disk over to virtio the boot process hangs at<br> <br> SeaBIOS...<br> Machine UUID ...<br> iPXE ...<br> Booting from Hard Disk ...<br> <br> </div> </blockquote> initramfs doesn't contain virtio drivers?<br> <br> Joop<br> <br> </body> </html> --------------090508090309000201040501--

After switching the disk over to virtio the boot process hangs at=0A= =0A= SeaBIOS...=0A= =0A= Machine UUID ...=0A= =0A= iPXE ...=0A= =0A= Booting from Hard Disk ...=0A= =0A= initramfs doesn't contain virtio drivers?=0A= =0A= Tried it without luck:=0A= =0A=
Network: auto=0A= Calling mkinitrd -k /boot/vmlinuz-3.0.76-0.11-default -i /tmp/mkdumprd.= 7kqe8kilVL -f 'kdump network' -B -s ''=0A= Regenerating kdump initrd ...=0A= =0A= Kernel image: /boot/vmlinuz-3.0.76-0.11-default=0A= Initrd image: /tmp/mkdumprd.7kqe8kilVL=0A= KMS drivers: intel-agp cirrus=0A= Root device: /dev/disk/by-uuid/31681173-fe97-446b-ba6b-7b459c66b52a (/de= v/sda2) (mounted on / as ext3)=0A= Resume device: /dev/disk/by-uuid/92f14b02-77b4-4efa-bd7b-a9136453ae6d (/de= v/sda1)=0A= Kernel Modules: hwmon thermal_sys thermal processor fan scsi_mod scsi_trans=
This is a multi-part message in MIME format. ------=_NextPartTM-000-b29b19a0-55fd-4801-96ff-e8e5310294c4 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable linux-xj78:~ # blkid=0A= /dev/vda1: UUID=3D"d03b0079-c2e1-4ca2-8ac2-53e46fac55d3" TYPE=3D"ext3"=0A= /dev/vdb1: UUID=3D"31ecf1f8-6d46-4ee1-bd73-c2dca46478b2" TYPE=3D"ext3"=0A= /dev/sda1: UUID=3D"92f14b02-77b4-4efa-bd7b-a9136453ae6d" TYPE=3D"swap"=0A= /dev/sda2: UUID=3D"31681173-fe97-446b-ba6b-7b459c66b52a" TYPE=3D"ext3"=0A= /dev/vdc1: UUID=3D"413fbea0-343a-4eb7-9901-f92f16c60c48" TYPE=3D"ext3"=0A= /dev/vdd1: UUID=3D"87b31934-029c-49df-b667-37b239792f52" TYPE=3D"ext3"=0A= /dev/vde1: UUID=3D"6457aeb7-84ee-495a-8649-6ade44f62ff0" TYPE=3D"ext3"=0A= /dev/vdf1: UUID=3D"04a15523-1ec5-4108-9574-3e1c32194fee" TYPE=3D"ext3"=0A= /dev/vdg1: UUID=3D"5f01c32b-5939-4772-b879-d75003107b6c" TYPE=3D"ext3"=0A= /dev/vdh1: UUID=3D"304850e0-00ac-4a7c-b71e-4413ce4a5e30" TYPE=3D"ext3"=0A= /dev/vdi1: UUID=3D"dea7d034-6189-42c7-9127-ab2d1bda5696" TYPE=3D"ext3"=0A= linux-xj78:~ # export rootdev=3D/dev/disk/by-uuid/31681173-fe97-446b-ba6b-7= b459c66b52a=0A= linux-xj78:~ # mkinitrd=0A= =0A= Kernel image: /boot/vmlinuz-3.0.76-0.11-default=0A= Initrd image: /boot/initrd-3.0.76-0.11-default=0A= KMS drivers: intel-agp cirrus=0A= Root device: /dev/disk/by-uuid/31681173-fe97-446b-ba6b-7b459c66b52a (/de= v/sda2) (mounted on / as ext3)=0A= Resume device: /dev/disk/by-uuid/92f14b02-77b4-4efa-bd7b-a9136453ae6d (/de= v/sda1)=0A= Kernel Modules: hwmon thermal_sys thermal processor fan scsi_mod scsi_trans= port_spi mptbase mptscsih mptspi libata ata_piix ata_generic virtio_ring vi= rtio virtio_blk scsi_dh scsi_dh_emc scsi_dh_hp_sw scsi_dh_alua scsi_dh_rdac= mbcache jbd ext3 intel-gtt intel-agp syscopyarea sysfillrect sysimgblt i2c= -core drm drm_kms_helper ttm cirrus usb-common usbcore ohci-hcd uhci-hcd eh= ci-hcd xhci-hcd hid usbhid crc-t10dif sd_mod virtio_pci=0A= Features: acpi kms block usb resume.userspace resume.kernel=0A= Bootsplash: SLES (800x600)=0A= 37356 blocks=0A= port_spi mptbase mptscsih mptspi libata ata_piix ata_generic virtio_ring vi= rtio virtio_blk scsi_dh scsi_dh_emc scsi_dh_hp_sw scsi_dh_alua scsi_dh_rdac= mbcache jbd ext3 intel-gtt intel-agp syscopyarea sysfillrect sysimgblt i2c= -core drm drm_kms_helper ttm cirrus usb-common usbcore ohci-hcd uhci-hcd eh= ci-hcd xhci-hcd hid usbhid af_packet e1000 nls_utf8 crc-t10dif sd_mod virti= o_pci=0A= Features: acpi kms block usb network resume.userspace resume.kernel k= dump=0A= 50842 blocks=0A= =0A= Markus=0A= =0A= =0A= ------=_NextPartTM-000-b29b19a0-55fd-4801-96ff-e8e5310294c4 Content-Type: text/plain; name="InterScan_Disclaimer.txt" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="InterScan_Disclaimer.txt" **************************************************************************** Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet. Über das Internet versandte E-Mails können unter fremden Namen erstellt oder manipuliert werden. Deshalb ist diese als E-Mail verschickte Nachricht keine rechtsverbindliche Willenserklärung. Collogia Unternehmensberatung AG Ubierring 11 D-50678 Köln Vorstand: Kadir Akin Dr. Michael Höhnerbach Vorsitzender des Aufsichtsrates: Hans Kristian Langva Registergericht: Amtsgericht Köln Registernummer: HRB 52 497 This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. e-mails sent over the internet may have been written under a wrong name or been manipulated. That is why this message sent as an e-mail is not a legally binding declaration of intention. Collogia Unternehmensberatung AG Ubierring 11 D-50678 Köln executive board: Kadir Akin Dr. Michael Höhnerbach President of the supervisory board: Hans Kristian Langva Registry office: district court Cologne Register number: HRB 52 497 **************************************************************************** ------=_NextPartTM-000-b29b19a0-55fd-4801-96ff-e8e5310294c4--

(Below is based on rhel6 experience, please translate to Suse) May be a grub issue, look at /boot/grub/device.map and /boot/grub/grub.conf On Tue, Jan 21, 2014 at 2:06 PM, Markus Stockhausen <stockhausen@collogia.de> wrote:
After switching the disk over to virtio the boot process hangs at
SeaBIOS...
Machine UUID ...
iPXE ...
Booting from Hard Disk ...
initramfs doesn't contain virtio drivers?
Tried it without luck:
linux-xj78:~ # blkid /dev/vda1: UUID="d03b0079-c2e1-4ca2-8ac2-53e46fac55d3" TYPE="ext3" /dev/vdb1: UUID="31ecf1f8-6d46-4ee1-bd73-c2dca46478b2" TYPE="ext3" /dev/sda1: UUID="92f14b02-77b4-4efa-bd7b-a9136453ae6d" TYPE="swap" /dev/sda2: UUID="31681173-fe97-446b-ba6b-7b459c66b52a" TYPE="ext3" /dev/vdc1: UUID="413fbea0-343a-4eb7-9901-f92f16c60c48" TYPE="ext3" /dev/vdd1: UUID="87b31934-029c-49df-b667-37b239792f52" TYPE="ext3" /dev/vde1: UUID="6457aeb7-84ee-495a-8649-6ade44f62ff0" TYPE="ext3" /dev/vdf1: UUID="04a15523-1ec5-4108-9574-3e1c32194fee" TYPE="ext3" /dev/vdg1: UUID="5f01c32b-5939-4772-b879-d75003107b6c" TYPE="ext3" /dev/vdh1: UUID="304850e0-00ac-4a7c-b71e-4413ce4a5e30" TYPE="ext3" /dev/vdi1: UUID="dea7d034-6189-42c7-9127-ab2d1bda5696" TYPE="ext3" linux-xj78:~ # export rootdev=/dev/disk/by-uuid/31681173-fe97-446b-ba6b-7b459c66b52a linux-xj78:~ # mkinitrd
Kernel image: /boot/vmlinuz-3.0.76-0.11-default Initrd image: /boot/initrd-3.0.76-0.11-default KMS drivers: intel-agp cirrus Root device: /dev/disk/by-uuid/31681173-fe97-446b-ba6b-7b459c66b52a (/dev/sda2) (mounted on / as ext3) Resume device: /dev/disk/by-uuid/92f14b02-77b4-4efa-bd7b-a9136453ae6d (/dev/sda1) Kernel Modules: hwmon thermal_sys thermal processor fan scsi_mod scsi_transport_spi mptbase mptscsih mptspi libata ata_piix ata_generic virtio_ring virtio virtio_blk scsi_dh scsi_dh_emc scsi_dh_hp_sw scsi_dh_alua scsi_dh_rdac mbcache jbd ext3 intel-gtt intel-agp syscopyarea sysfillrect sysimgblt i2c-core drm drm_kms_helper ttm cirrus usb-common usbcore ohci-hcd uhci-hcd ehci-hcd xhci-hcd hid usbhid crc-t10dif sd_mod virtio_pci Features: acpi kms block usb resume.userspace resume.kernel Bootsplash: SLES (800x600) 37356 blocks
Network: auto Calling mkinitrd -k /boot/vmlinuz-3.0.76-0.11-default -i /tmp/mkdumprd.7kqe8kilVL -f 'kdump network' -B -s '' Regenerating kdump initrd ...
Kernel image: /boot/vmlinuz-3.0.76-0.11-default Initrd image: /tmp/mkdumprd.7kqe8kilVL KMS drivers: intel-agp cirrus Root device: /dev/disk/by-uuid/31681173-fe97-446b-ba6b-7b459c66b52a (/dev/sda2) (mounted on / as ext3) Resume device: /dev/disk/by-uuid/92f14b02-77b4-4efa-bd7b-a9136453ae6d (/dev/sda1) Kernel Modules: hwmon thermal_sys thermal processor fan scsi_mod scsi_transport_spi mptbase mptscsih mptspi libata ata_piix ata_generic virtio_ring virtio virtio_blk scsi_dh scsi_dh_emc scsi_dh_hp_sw scsi_dh_alua scsi_dh_rdac mbcache jbd ext3 intel-gtt intel-agp syscopyarea sysfillrect sysimgblt i2c-core drm drm_kms_helper ttm cirrus usb-common usbcore ohci-hcd uhci-hcd ehci-hcd xhci-hcd hid usbhid af_packet e1000 nls_utf8 crc-t10dif sd_mod virtio_pci Features: acpi kms block usb network resume.userspace resume.kernel kdump 50842 blocks
Markus
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

This is a multi-part message in MIME format. ------=_NextPartTM-000-b46b84b3-0bb6-4c65-8c68-393f572041ba Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable
Von: sander.grendelman@gmail.com [sander.grendelman@gmail.com]" im A= uftrag von "Sander Grendelman [sander@grendelman.com]=0A= Gesendet: Dienstag, 21. Januar 2014 16:25=0A= An: Markus Stockhausen=0A= Cc: noc; users@ovirt.org=0A= Betreff: Re: [Users] Change bootdisk from IDE to virtio=0A= =0A= (Below is based on rhel6 experience, please translate to Suse)=0A= =0A= May be a grub issue, look at /boot/grub/device.map and /boot/grub/grub.co= nf=0A= =0A= =0A= Maybe I should explain the idea behind it in more detail. I want to=0A= configure a VM in a way that I can boot it from a disk that may be=0A= a Virtio or an IDE device. =0A= =0A= So: make everything ready in the IDE world, and restart the machine=0A= in the Virtio world. No CD, no interest in further configuration. The =0A= only place wihtout an UUID is the file /boot/grub/device.map that reads =0A= =0A= (hd0) /dev/sda=0A= =0A= But I cannot change it as only partitions have an UUID and grub does =0A= not see a /dev/vda yet. Am I going totally wrong with my idea?=0A= =0A= Markus=0A= =0A= ------=_NextPartTM-000-b46b84b3-0bb6-4c65-8c68-393f572041ba Content-Type: text/plain; name="InterScan_Disclaimer.txt" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="InterScan_Disclaimer.txt"
**************************************************************************** Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet. Über das Internet versandte E-Mails können unter fremden Namen erstellt oder manipuliert werden. Deshalb ist diese als E-Mail verschickte Nachricht keine rechtsverbindliche Willenserklärung. Collogia Unternehmensberatung AG Ubierring 11 D-50678 Köln Vorstand: Kadir Akin Dr. Michael Höhnerbach Vorsitzender des Aufsichtsrates: Hans Kristian Langva Registergericht: Amtsgericht Köln Registernummer: HRB 52 497 This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. e-mails sent over the internet may have been written under a wrong name or been manipulated. That is why this message sent as an e-mail is not a legally binding declaration of intention. Collogia Unternehmensberatung AG Ubierring 11 D-50678 Köln executive board: Kadir Akin Dr. Michael Höhnerbach President of the supervisory board: Hans Kristian Langva Registry office: district court Cologne Register number: HRB 52 497 **************************************************************************** ------=_NextPartTM-000-b46b84b3-0bb6-4c65-8c68-393f572041ba--
participants (3)
-
Markus Stockhausen
-
noc
-
Sander Grendelman