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

Re: [Xen-users] xen-4.9.0 and cdrom block-attach/-detach



On Fri, Oct 27, 2017 at 7:28 PM,  <squidmobile@xxxxxxxxxxxxxxx> wrote:
> 22 oct 2017
>
> greetings xen-users@xxxxxxxxxxxxx,
>
> i ran into a problem adding and removing cdrom images from a
> xen-4.9.0 vm.  i put a series of commands into a shell script, ran
> a script command, and captured the output from ksh -xv.
>
> i figure these errors propagate through to the vm so that it sees
> neither the disk removal nor the new disk attachment.
>
> i noticed the cdrom did NOT add a .../script = entry similar to the
> disk test, so i ran an experiment and manually added a similar
> xenstore entry.  however, the block-detach commmand failed as
> before.
>
> any comments or suggestions?

Why do you want to add hdd as a cdrom?

Could you add an empty cdrom to the domain config file, then use `xl
cd-insert` and `xl cd-eject` instead of block-attach and block-detach?

 -George

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
https://lists.xen.org/xen-users

 


Rackspace

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