Alba
2009-May-18 20:47 UTC
[Xen-users] Simple question about Para-virtualized drivers in Windows
Hello, After installing para-virtualized drivers for Windows, and added a disk, I can see two disk instead of one in my Windows guest virtual machine. In disks'' properties says "QEMU HARDDISK" one disk and in the other one "RHEL DISK SCSI Disk Device". Which one should I use? Thanks in advance. Regards. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Fajar A. Nugraha
2009-May-19 02:43 UTC
Re: [Xen-users] Simple question about Para-virtualized drivers in Windows
On Tue, May 19, 2009 at 3:47 AM, Alba <florfoto@gmail.com> wrote:> Hello, > > After installing para-virtualized drivers for Windows, and added a disk, I > can see two disk instead of one in my Windows guest virtual machine. > In disks'' properties says "QEMU HARDDISK" one disk and in the other one > "RHEL DISK SCSI Disk Device". > > Which one should I use?What is your domU config like? Redhat''s PV driver should NOT be used for boot disk. http://www.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5.2/html/Para-Virtualized_Windows_Drivers/chap-Para-Virtualized_Windows_Drivers-Requirements_and_restrictions.html So your disk like should look something like this (old-style config) disk = [ ''phy:/dev/VolGroup/disk1lv,hda,w'', ''phy:/dev/VolGroup/disk2lv,xvdb,w'', ] Note hda and xvdb, and NOT xvda and xvdb. Personally I''d recommend you use James Harper''s GPLPV (at least for now), as it''s more widely used, and it can be used on boot disk (C:). You don''t need to change any domU disk config with GPLPV. -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Alba
2009-May-19 21:16 UTC
Re: [Xen-users] Simple question about Para-virtualized drivers in Windows
Thanks Fajar for your reply. I''m not using Redhat PV drivers on boot disk. My DomU config file is: disk = [ "file:PathToMyImage.img,hda,w", "tap:aio:/dev/sda1,xvdb,w" ] I''m not sure which disk should I use in the Win DomU: if the one that says "QEMU HARDDISK" or the one that says "RHEL DISK SCSI Disk Device". Thanks in advance for your help. Regards, Alba On Mon, May 18, 2009 at 11:43 PM, Fajar A. Nugraha <fajar@fajar.net> wrote:> On Tue, May 19, 2009 at 3:47 AM, Alba <florfoto@gmail.com> wrote: > > Hello, > > > > After installing para-virtualized drivers for Windows, and added a disk, > I > > can see two disk instead of one in my Windows guest virtual machine. > > In disks'' properties says "QEMU HARDDISK" one disk and in the other one > > "RHEL DISK SCSI Disk Device". > > > > Which one should I use? > > What is your domU config like? > Redhat''s PV driver should NOT be used for boot disk. > > http://www.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5.2/html/Para-Virtualized_Windows_Drivers/chap-Para-Virtualized_Windows_Drivers-Requirements_and_restrictions.html > > So your disk like should look something like this (old-style config) > > disk = [ > ''phy:/dev/VolGroup/disk1lv,hda,w'', > ''phy:/dev/VolGroup/disk2lv,xvdb,w'', > ] > > Note hda and xvdb, and NOT xvda and xvdb. > > Personally I''d recommend you use James Harper''s GPLPV (at least for > now), as it''s more widely used, and it can be used on boot disk (C:). > You don''t need to change any domU disk config with GPLPV. > > -- > Fajar >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Fajar A. Nugraha
2009-May-20 01:36 UTC
Re: [Xen-users] Simple question about Para-virtualized drivers in Windows
On Wed, May 20, 2009 at 4:16 AM, Alba <florfoto@gmail.com> wrote:> Thanks Fajar for your reply. > I''m not using Redhat PV drivers on boot disk.but you ARE using Redhat''s PV driver?> > My DomU config file is: > > disk = [ "file:PathToMyImage.img,hda,w", "tap:aio:/dev/sda1,xvdb,w" ] >tap:aio should be for file-backed images, not devices. You should have disk = [ "tap:aio:/PathToMyImage.img,hda,w", "phy:/dev/sda1,xvdb,w" ]> I''m not sure which disk should I use in the Win DomU: if the one that says > "QEMU HARDDISK" or the one that says "RHEL DISK SCSI Disk Device".How many disks you have each? Do you have one or two QEMU disks? QEMU harddisk should be hda, while RHEL disk should be xvdb. -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Alba
2009-May-20 21:05 UTC
Re: [Xen-users] Simple question about Para-virtualized drivers in Windows
Thanks a lot again for your reply.> tap:aio should be for file-backed images, not devices. You should have > disk = [ "tap:aio:/PathToMyImage.img,hda,w", "phy:/dev/sda1,xvdb,w" ]I followed this procedure, where says that tap:aio should be used (isn''t it rigth?): http://www.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5.2/html/Para-Virtualized_Windows_Drivers/sect-Para-Virtualized_Windows_Drivers-Installing_and_configuring_the_para_virtualized_drivers-Post_installation_host_configuration.html>How many disks you have each? Do you have one or two QEMU disks? >QEMU harddisk should be hda, while RHEL disk should be xvdb.With this configuration I saw three devices: disk = [ "file:PathToMyImage.img,hda,w", "tap:aio:/dev/sda1,xvdb,w" ] The devices are: 1) "c:" (10GB) 2) "QEMU HARDDISK" (50GB) 3) "RHEL DISK SCSI Disk Device" (50GB) The only difference between 2) and 3) are in their Properties: 2) says "Location: Location 1 (1)" 3) says "Location: Bus Number 0, Target Id 0, LUN 1" So I''m not sure if I should put my data in 2) or 3). Thanks for your time. Regards. On Tue, May 19, 2009 at 10:36 PM, Fajar A. Nugraha <fajar@fajar.net> wrote:> On Wed, May 20, 2009 at 4:16 AM, Alba <florfoto@gmail.com> wrote: > > Thanks Fajar for your reply. > > I''m not using Redhat PV drivers on boot disk. > > but you ARE using Redhat''s PV driver? > > > > > My DomU config file is: > > > > disk = [ "file:PathToMyImage.img,hda,w", "tap:aio:/dev/sda1,xvdb,w" ] > > > > tap:aio should be for file-backed images, not devices. You should have > > disk = [ "tap:aio:/PathToMyImage.img,hda,w", "phy:/dev/sda1,xvdb,w" ] > > > > I''m not sure which disk should I use in the Win DomU: if the one that > says > > "QEMU HARDDISK" or the one that says "RHEL DISK SCSI Disk Device". > > How many disks you have each? Do you have one or two QEMU disks? > QEMU harddisk should be hda, while RHEL disk should be xvdb. > > -- > Fajar >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Fajar A. Nugraha
2009-May-20 22:13 UTC
Re: [Xen-users] Simple question about Para-virtualized drivers in Windows
On Thu, May 21, 2009 at 4:05 AM, Alba <florfoto@gmail.com> wrote:> Thanks a lot again for your reply. > >> tap:aio should be for file-backed images, not devices. You should have >> disk = [ "tap:aio:/PathToMyImage.img,hda,w", "phy:/dev/sda1,xvdb,w" ] > > I followed this procedure, where says that tap:aio should be used (isn''t it > rigth?): > http://www.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5.2/html/Para-Virtualized_Windows_Drivers/sect-Para-Virtualized_Windows_Drivers-Installing_and_configuring_the_para_virtualized_drivers-Post_installation_host_configuration.htmlWeird :P While it works, that''s not how it was meant to be used, and could possibly lead to lower performance.> >>How many disks you have each? Do you have one or two QEMU disks? >>QEMU harddisk should be hda, while RHEL disk should be xvdb. > > With this configuration I saw three devices: > disk = [ "file:PathToMyImage.img,hda,w", "tap:aio:/dev/sda1,xvdb,w" ] > > The devices are: > > 1) "c:" (10GB) > 2) "QEMU HARDDISK" (50GB) > 3) "RHEL DISK SCSI Disk Device" (50GB) > > The only difference between 2) and 3) are in their Properties: > 2) says "Location: Location 1 (1)" > 3) says "Location: Bus Number 0, Target Id 0, LUN 1" > > So I''m not sure if I should put my data in 2) or 3).You should contact Redhat support about this. It should be (3), but (2) and (3) are the same disk, and having both visible means trouble. If you''re stil having problems, I suggest you use GPLPV: - http://wiki.xensource.com/xenwiki/XenWindowsGplPv/Installing (slightly outdated) - http://lists.xensource.com/archives/html/xen-users/2009-04/msg00062.html - http://meadowcourt.org/downloads/ It works for boot disk, and should work for file:, tap:aio:, or phy:. It does NOT work for tap:qcow though (due to Xen bug). -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Alba
2009-May-20 22:17 UTC
Re: [Xen-users] Simple question about Para-virtualized drivers in Windows
Thanks a lot for your help and time! Regards, Alba On Wed, May 20, 2009 at 7:13 PM, Fajar A. Nugraha <fajar@fajar.net> wrote:> On Thu, May 21, 2009 at 4:05 AM, Alba <florfoto@gmail.com> wrote: > > Thanks a lot again for your reply. > > > >> tap:aio should be for file-backed images, not devices. You should have > >> disk = [ "tap:aio:/PathToMyImage.img,hda,w", "phy:/dev/sda1,xvdb,w" ] > > > > I followed this procedure, where says that tap:aio should be used (isn''t > it > > rigth?): > > > http://www.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5.2/html/Para-Virtualized_Windows_Drivers/sect-Para-Virtualized_Windows_Drivers-Installing_and_configuring_the_para_virtualized_drivers-Post_installation_host_configuration.html > > Weird :P > While it works, that''s not how it was meant to be used, and could > possibly lead to lower performance. > > > > >>How many disks you have each? Do you have one or two QEMU disks? > >>QEMU harddisk should be hda, while RHEL disk should be xvdb. > > > > With this configuration I saw three devices: > > disk = [ "file:PathToMyImage.img,hda,w", "tap:aio:/dev/sda1,xvdb,w" ] > > > > The devices are: > > > > 1) "c:" (10GB) > > 2) "QEMU HARDDISK" (50GB) > > 3) "RHEL DISK SCSI Disk Device" (50GB) > > > > The only difference between 2) and 3) are in their Properties: > > 2) says "Location: Location 1 (1)" > > 3) says "Location: Bus Number 0, Target Id 0, LUN 1" > > > > So I''m not sure if I should put my data in 2) or 3). > > You should contact Redhat support about this. It should be (3), but > (2) and (3) are the same disk, and having both visible means trouble. > > If you''re stil having problems, I suggest you use GPLPV: > - http://wiki.xensource.com/xenwiki/XenWindowsGplPv/Installing > (slightly outdated) > - http://lists.xensource.com/archives/html/xen-users/2009-04/msg00062.html > - http://meadowcourt.org/downloads/ > It works for boot disk, and should work for file:, tap:aio:, or phy:. > It does NOT work for tap:qcow though (due to Xen bug). > > -- > Fajar >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users