Stuart Mackintosh
2006-Jan-12 17:10 UTC
[Xen-users] Restarting domU: Device <device> is mounted in a guest domain
Using Debian stable as dom0 and domU. Disks are LVM. When restarting the domU, it is reported that the device is in use. The log shows as follows: File "/local/scratch/xenod/cron-build/xen-unstable-x86_32p.oe3371.dir/xen-unstable.hg/dist/install/usr/lib/python/xen/xend/server/DevController.py", line 175, in waitForDevice VmError: Device 769 (vbd) could not be connected. Device /dev/<LVM VG>/<disk name> is mounted in a guest domain, and so cannot be mounted now. I have removed the entry in xenstore using "xenstore-rm backend/vbd/<VM_ID>" and it starts without error. It looks that the vbd does not get released (or at least removed from xenstore) when the domU is restarted. "xenstore-list backend/vbd" lists the active VM_IDs in xenstore. I note that others have reported this, does anyone know of a fix or where xenstore-rm is (should be) called? xen/scripts/block does not do any handling of physical devices on remove, is this correct? remove) case $t in phy) exit 0 ;; TIA Stuart. -- | OpusVL: IT solutions for business | http://www.opusvl.com | T: 08717 50 40 02 | F: 08717 50 40 03 | E: sm@opusvl.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users