WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Unable to hot-add disk to Win2K3 HVM withGPLPV drivers

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Unable to hot-add disk to Win2K3 HVM withGPLPV drivers
From: Andy Burns <lists.xensource.com@xxxxxxxxxxxxxx>
Date: Mon, 21 Jul 2008 01:47:06 +0100
Cc: James Harper <james.harper@xxxxxxxxxxxxxxxx>
Delivery-date: Sun, 20 Jul 2008 17:48:58 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AEC6C66638C05B468B556EA548C1A77D0148FCC3@trantor>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <486C8A51.1060407@xxxxxxxxxxxxxx> <486C9184.90906@xxxxxxxxxxxxxx> <486CDC5B.1080803@xxxxxxxxxxxxxx> <AEC6C66638C05B468B556EA548C1A77D0148FCC3@trantor>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.14) Gecko/20080421 Lightning/0.8 Thunderbird/2.0.0.14 Mnenhy/0.7.5.0
On 04/07/2008 02:18, James Harper wrote:

So all in all, pre-5 looks like a good candidate for 0.9.11 proper :-)


It would have been, except that save/restore doesn't work now.

Hmm, hot adding a disk worked when I upgraded to 0.9.11-pre5 but now seems to fail again with 0.9.11-pre9

Existing domU has LVM for hard disk as hda and iso for cdrom as hdc, I created a new LV

# lvcreate --name win2k3data --size 4G vgmirror

Tried adding with

# virsh attach-disk win2k3 /dev/vgmirror/win2k3data hdb --driver phy

or

# virsh attach-disk win2k3 /dev/vgmirror/win2k3data xvdb --driver phy

In each case the XenVbd driver gave an event log entry

"Driver detected an internal error in its data structures for \Device\Scsi\XenVbd3"

So I shutdown the domain, added the extra disk to the .xml config, undefined and re-defined the domU and restarted it.

    <disk type='block' device='disk'>
      <driver name='phy'/>
      <source dev='/dev/vgmirror/win2k3sys'/>
      <target dev='hda'/>
    </disk>
    <disk type='block' device='disk'>
      <driver name='phy'/>
      <source dev='/dev/vgmirror/win2k3data'/>
      <target dev='hdb'/>
    </disk>
    <disk type='file' device='cdrom'>
      <driver name='file'/>
      <source file='/root/w2k3r2_cd1.iso'/>
      <target dev='hdc'/>
      <readonly/>
    </disk>

The XenVbd driver still gives the same error for the hdb device, it shows up differently in device manager, similar to before

http://adslpipe.co.uk/pics/xendisks.png


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users