[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Adding Devices to a running DomU


  • To: Xen-users@xxxxxxxxxxxxxxxxxxx
  • From: "Serge Dubrouski" <sergeyfd@xxxxxxxxx>
  • Date: Wed, 12 Jul 2006 09:26:09 -0600
  • Delivery-date: Wed, 12 Jul 2006 08:26:49 -0700
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=NjAMboW9mudHQHhiXrlW4/PfahVrKmOUT6iCXoq6Qq+BsYF4B28d7jk4aOLK+RWzAChnJl3M8Oc0udhWgE3P6dBUqOBr59w1r3k4xd3frzIuEYRXK9VR2QYhmen4gp6CQTrPrswT/SaRdtdy0GONnJfnb87Ao2tY6iM0fX/uy7w=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Looks like it doesn't work for HVM domains though. xm block-add runs
withouth error and xm block-list shows new device attache, but WinXP
DomU doesn't see it.

On 7/12/06, Jose Betancourt <jbetancourt@xxxxxxxxxx> wrote:
Thank you very, very much.  Exactly what I needed.

Thanks again.

Jose Betancourt

>>> On Wed, Jul 12, 2006 at 11:03 AM, in message
<44B50F5F.5000404@xxxxxxxx>,
Andrej Radonic <andrej.radonic@xxxxxxxx> wrote:
>>  What is the right sequence of steps to add new devices to a
running
>> DomU?
>>
>> For example: Make the CD/DVD unit on a physical machine
visible/usable
>> by a DomU or adding a new physical device (hdX/sdX) for future use
as a
>> file system?
>>
>> I would like to be able to do it without shutting down the DomU, if
>> possible.
>
> Jose,
>
> yes, this is possible without interrupting domU.
>
> Do it like this:
>
> xm block- attach <DomId> <BackDev> <FrontDev> <Mode>
>
> Example:
>
> xm block- attach 7 file:/home/xen/knoppix.iso hdc rw
>
> Export /home/xen/knoppix.iso as hdc and read- write into domain 7.
>
> Check with xm block- list 7
>
> Detach with
>
> xm block- detach 7 <BlockDeviceID>
>
> You get BlockDeviceID with xm block- list <domid>
>
> BTW: you can do this also with network- interfaces
> => network- attach
> => network- list
> => network- detach
>
> Good luck,
> Andrej


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


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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.