Hi, I''ve been looking for a way to remove a cd from a domu without shutting it down, editing the cfg file then bringing it back up again. googling mentions a mysterious ctrl-alt-2 option that doesn''t work on my system at all (either via vnc or terminal services - I even for a laugh tried it on the main console..) and xm has some commands that look like they can do the job but don''t. eg: # xm block-list kira --long (768 ((backend-id 0) (virtual-device 768) (device-type disk) (state 1) (backend /local/domain/0/backend/vbd/3/768) ) ) (5632 ((backend-id 0) (virtual-device 5632) (device-type cdrom) (state 1) (backend /local/domain/0/backend/vbd/3/5632) ) ) OK. I need to remove device 5632: # xm block-detach kira 5632 # xm block-list kira --long (768 ((backend-id 0) (virtual-device 768) (device-type disk) (state 1) (backend /local/domain/0/backend/vbd/3/768) ) ) (5632 ((backend-id 0) (virtual-device 5632) (device-type cdrom) (state 1) (backend /local/domain/0/backend/vbd/3/5632) ) ) .. that didn''t work - it''s still there! So I''m back to the old way of rebooting everyting. I''d love to find a solution to this - at present it''s impossible to install anything that is larger than one CD. Tony _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> Hi, > > I''ve been looking for a way to remove a cd from a domu withoutshutting it> down, editing the cfg file then bringing it back up again. googling > mentions a mysterious ctrl-alt-2 option that doesn''t work on my systemat> all (either via vnc or terminal services - I even for a laugh tried iton> the main console..) and xm has some commands that look like they cando> the job but don''t. >The alt-f2 thing works for me using ''xvncviewer'' via X-Ming on a windows machine, but not under the java version of tightvnc running as an applet under firefox... ymmv. I have also done it by using ''xm block-detach'' and ''xm block-attach'' for a windows 2003 hvm, but found that I had to eject the CD from windows first (right click on the cd icon then select eject) otherwise it wouldn''t recognise it. I installed all 5 cd''s of SBS 2K3 R2 this way. Sorry I can''t remember the syntax but it was pretty nasty - the vnc alt-f2 way is much neater. Is there any other way to get to the vnc console, eg via an xm command or something? It would be nice to have an xm command that says ''signal an eject to the hvm and replace the image with this one'', in one step. James _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
James Harper wrote:> The alt-f2 thing works for me using ''xvncviewer'' via X-Ming on a windows > machine, but not under the java version of tightvnc running as an applet > under firefox... ymmv.Just tried it.. alt-f2, no go on the standard vncviewer.exe on Windows. Is your xvncviewer a special build? I''d rather not have to go the whole install X on Windows route :( I agree there really needs to be an xm eject command. Tony _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> James Harper wrote: > > The alt-f2 thing works for me using ''xvncviewer'' via X-Ming on awindows> > machine, but not under the java version of tightvnc running as anapplet> > under firefox... ymmv. > > Just tried it.. alt-f2, no go on the standard vncviewer.exe onWindows. Are there any options that might be blocking those keypresses or something?> Is your xvncviewer a special build?Nope. Just the default Debian install.> I''d rather not have to go the whole install X on Windows route :(X-Ming is pretty painless... http://www.straightrunning.com/XmingNotes/ It also allows xenman to run on my windows desktop (or it would, if I hadn''t upgraded xen to 3.1.0) James _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
James Harper wrote:> Are there any options that might be blocking those keypresses or > something? >Can''t see anything.. there aren''t a lot of options on a vnc client. Tony _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
James Harper wrote:> Nope. Just the default Debian install. > >> I''d rather not have to go the whole install X on Windows route :( > > X-Ming is pretty painless... http://www.straightrunning.com/XmingNotes/ > > It also allows xenman to run on my windows desktop (or it would, if I > hadn''t upgraded xen to 3.1.0)Is you''re dom0 debian too? I''m starting to think some of the issues I''m having are due to the packaging of xen 3.1 in the build I''m using and it might be better to install a redhat build (centos? fedora?) use the same system the xen developers are using. Tony _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users