[Users] info on virtio-scsi

Hello, I had a CentOS 6.4 VM created in oVirt 3.3.0 Then I updated to 3.3.1 I created a CentOS 5.10 VM In CentOS 5.10 I built rhev-agent-2.3.16-3.el5.src.rpm In CentOS 6.4 I have ovirt-guest-agent-1.0.8-1.el6.noarch Both are configured with one virtio disk. In CentOS 5 I can add a disk and select virtio-scsi... but I can't use it because of no support in 5.x kernels. In CentOS 6.4 I'm not presented with the option virtio-scsi. What can I do to get it? Gianluca

On 11/22/2013 05:54 PM, Gianluca Cecchi wrote:
Hello, I had a CentOS 6.4 VM created in oVirt 3.3.0 Then I updated to 3.3.1 I created a CentOS 5.10 VM
In CentOS 5.10 I built rhev-agent-2.3.16-3.el5.src.rpm In CentOS 6.4 I have ovirt-guest-agent-1.0.8-1.el6.noarch
Both are configured with one virtio disk. In CentOS 5 I can add a disk and select virtio-scsi... but I can't use it because of no support in 5.x kernels. In CentOS 6.4 I'm not presented with the option virtio-scsi. What can I do to get it?
did you do a clean install of the guest OS to a virtio-scsi disk?

Il 22/nov/2013 21:00 "Itamar ha scritto
Both are configured with one virtio disk. In CentOS 5 I can add a disk and select virtio-scsi... but I can't use it because of no support in 5.x kernels. In CentOS 6.4 I'm not presented with the option virtio-scsi. What can I do to get it?
did you do a clean install of the guest OS to a virtio-scsi disk?
As I wrote above, both installed with only one disk as virtio. C5 right after update to 3.3.1 C6 before. Both powered on. In c5 I have chance to add virtio-scsi in drop down menu (even if then I cannot use it due to missing driver it seems); in c6 I only have ide and virtio...

On 11/22/2013 10:14 PM, Gianluca Cecchi wrote:
Il 22/nov/2013 21:00 "Itamar ha scritto
Both are configured with one virtio disk. In CentOS 5 I can add a disk and select virtio-scsi... but I can't use it because of no support in 5.x kernels. In CentOS 6.4 I'm not presented with the option virtio-scsi. What can I do to get it?
did you do a clean install of the guest OS to a virtio-scsi disk?
As I wrote above, both installed with only one disk as virtio. C5 right after update to 3.3.1 C6 before. Both powered on. In c5 I have chance to add virtio-scsi in drop down menu (even if then I cannot use it due to missing driver it seems); in c6 I only have ide and virtio...
oh, that's strange. derez/roy - no virtio-iscsi definition for .el6 VM?

On Fri, Nov 22, 2013 at 10:49 PM, Itamar Heim wrote:
oh, that's strange. derez/roy - no virtio-iscsi definition for .el6 VM?
Actually I don't think so. I have tried creating a new rh el 6.x x86_64 vm and at disk creation I do see virtio-scsi as an option. But for this preexisting VM I don't see it when I try to add. Tried both in powered on state and in powered off. See here difference between c6 and c5 dynamic xml in /var/run/libvirt/qemu https://drive.google.com/file/d/0BwoPbcrMv8mvemtSalRkTTZlV1k/edit?usp=sharin... And here for qemu command line generated: https://drive.google.com/file/d/0BwoPbcrMv8mvOHZrTHduN1ZCUFU/edit?usp=sharin... Gianluca

On Fri, Nov 22, 2013 at 11:51 PM, Gianluca Cecchi wrote:
On Fri, Nov 22, 2013 at 10:49 PM, Itamar Heim wrote:
oh, that's strange. derez/roy - no virtio-iscsi definition for .el6 VM?
Actually I don't think so. I have tried creating a new rh el 6.x x86_64 vm and at disk creation I do see virtio-scsi as an option. But for this preexisting VM I don't see it when I try to add. Tried both in powered on state and in powered off. See here difference between c6 and c5 dynamic xml in /var/run/libvirt/qemu https://drive.google.com/file/d/0BwoPbcrMv8mvemtSalRkTTZlV1k/edit?usp=sharin...
And here for qemu command line generated: https://drive.google.com/file/d/0BwoPbcrMv8mvOHZrTHduN1ZCUFU/edit?usp=sharin...
Gianluca
I found it! By default now when I create a VM, I can see that in advanced parameters --> Resource Allocation I have virtio-scsi enabled. Instead for pre-existing VM it wasn't. I tested editing the VM while powered on and then I was able to add and activate a virtio-scsi disk. In guests's messages: Nov 22 22:15:51 c6s kernel: pci 0000:00:07.0: BAR 2: assigned [mem 0x80000000-0x80001fff] Nov 22 22:15:51 c6s kernel: pci 0000:00:07.0: BAR 2: set to [mem 0x80000000-0x80001fff] (PCI address [0x80000000-0x80001fff] Nov 22 22:15:51 c6s kernel: pci 0000:00:07.0: BAR 1: assigned [mem 0x80002000-0x800023ff] Nov 22 22:15:51 c6s kernel: pci 0000:00:07.0: BAR 1: set to [mem 0x80002000-0x800023ff] (PCI address [0x80002000-0x800023ff] Nov 22 22:15:51 c6s kernel: pci 0000:00:07.0: BAR 0: assigned [io 0x1000-0x10ff] Nov 22 22:15:51 c6s kernel: pci 0000:00:07.0: BAR 0: set to [io 0x1000-0x10ff] (PCI address [0x1000-0x10ff] Nov 22 22:15:51 c6s kernel: pci 0000:00:00.0: no hotplug settings from platform Nov 22 22:15:51 c6s kernel: pci 0000:00:00.0: using default PCI settings Nov 22 22:15:51 c6s kernel: pci 0000:00:01.0: no hotplug settings from platform Nov 22 22:15:51 c6s kernel: pci 0000:00:01.0: using default PCI settings Nov 22 22:15:51 c6s kernel: ata_piix 0000:00:01.1: no hotplug settings from platform Nov 22 22:15:51 c6s kernel: ata_piix 0000:00:01.1: using default PCI settings Nov 22 22:15:51 c6s kernel: uhci_hcd 0000:00:01.2: no hotplug settings from platform Nov 22 22:15:51 c6s kernel: uhci_hcd 0000:00:01.2: using default PCI settings Nov 22 22:15:51 c6s kernel: piix4_smbus 0000:00:01.3: no hotplug settings from platform Nov 22 22:15:51 c6s kernel: piix4_smbus 0000:00:01.3: using default PCI settings Nov 22 22:15:51 c6s kernel: pci 0000:00:02.0: no hotplug settings from platform Nov 22 22:15:51 c6s kernel: pci 0000:00:02.0: using default PCI settings Nov 22 22:15:51 c6s kernel: virtio-pci 0000:00:03.0: no hotplug settings from platform Nov 22 22:15:51 c6s kernel: virtio-pci 0000:00:03.0: using default PCI settings Nov 22 22:15:51 c6s kernel: virtio-pci 0000:00:04.0: no hotplug settings from platform Nov 22 22:15:51 c6s kernel: virtio-pci 0000:00:04.0: using default PCI settings Nov 22 22:15:51 c6s kernel: virtio-pci 0000:00:05.0: no hotplug settings from platform Nov 22 22:15:51 c6s kernel: virtio-pci 0000:00:05.0: using default PCI settings Nov 22 22:15:51 c6s kernel: virtio-pci 0000:00:06.0: no hotplug settings from platform Nov 22 22:15:51 c6s kernel: virtio-pci 0000:00:06.0: using default PCI settings Nov 22 22:15:51 c6s kernel: pci 0000:00:07.0: no hotplug settings from platform Nov 22 22:15:51 c6s kernel: pci 0000:00:07.0: using default PCI settings Nov 22 22:15:51 c6s kernel: sym53c8xx 0000:00:07.0: enabling device (0000 -> 0003) Nov 22 22:15:51 c6s kernel: sym53c8xx 0000:00:07.0: PCI INT A -> Link[LNKC] -> GSI 10 (level, high) -> IRQ 10 Nov 22 22:15:51 c6s kernel: sym0: <895a> rev 0x0 at pci 0000:00:07.0 irq 10 Nov 22 22:15:51 c6s kernel: sym0: No NVRAM, ID 7, Fast-40, LVD, parity checking Nov 22 22:15:51 c6s kernel: sym0: SCSI BUS has been reset. Nov 22 22:15:51 c6s kernel: scsi2 : sym-2.2.3 Nov 22 22:15:54 c6s kernel: sym0: unknown interrupt(s) ignored, ISTAT=0x5 DSTAT=0x80 SIST=0x0 Nov 22 22:15:54 c6s kernel: scsi 2:0:0:0: Direct-Access QEMU QEMU HARDDISK 1.0 PQ: 0 ANSI: 5 Nov 22 22:15:54 c6s kernel: scsi target2:0:0: tagged command queuing enabled, command queue depth 16. Nov 22 22:15:54 c6s kernel: scsi target2:0:0: Beginning Domain Validation Nov 22 22:15:54 c6s kernel: scsi target2:0:0: Domain Validation skipping write tests Nov 22 22:15:54 c6s kernel: scsi target2:0:0: Ending Domain Validation Nov 22 22:15:54 c6s kernel: scsi 2:0:0:0: Attached scsi generic sg1 type 0 Nov 22 22:15:54 c6s kernel: sd 2:0:0:0: [sda] 2097152 512-byte logical blocks: (1.07 GB/1.00 GiB) Nov 22 22:15:54 c6s kernel: sd 2:0:0:0: [sda] Write Protect is off Nov 22 22:15:54 c6s kernel: sd 2:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA Nov 22 22:15:54 c6s kernel: sda: unknown partition table Nov 22 22:15:54 c6s kernel: sd 2:0:0:0: [sda] Attached SCSI disk I was also able to extend online the disk, and if I create a PV on the whole disk I'm also able to online resize PV, LV and filesystem Very good! Gianluca
participants (2)
-
Gianluca Cecchi
-
Itamar Heim