|
|
|
|
|
|
|
|
|
|
xen-users
Re: [Xen-users] Adding Devices to a running DomU
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
|
|
|
|
|