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

[Xen-users] Removing a cd from a domu

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Removing a cd from a domu
From: Tony Hoyle <tmh@xxxxxxxxxxxx>
Date: Sat, 02 Jun 2007 08:49:36 +0100
Delivery-date: Sat, 02 Jun 2007 00:48:03 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.10 (Windows/20070221)
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@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>