Tuesday, September 20, 2011

Error: Device (vbd) could not be connected /etc/xen/scripts/block failed error detected

Advertisements

You may get this error while starting a xen vps


[root@test ~]# xm create /home/xen/vm854/vm854.cfg
Using config file "/home/xen/vm854/vm854.cfg".
Error: Device 5632 (vbd) could not be connected. /etc/xen/scripts/block failed; error detected.

Check the hotplug log

[root@test ~]# tail /var/log/xen/xen-hotplug.log
xenstore-read: couldn't read path backend/vbd/176/5632/node
Nothing to flush.
losetup: could not find any free loop device
xenstore-read: couldn't read path backend/vbd/177/5632/node
Nothing to flush.
losetup: could not find any free loop device
xenstore-read: couldn't read path backend/vbd/178/5632/node
losetup: could not find any free loop device
Nothing to flush.
xenstore-read: couldn't read path backend/vbd/179/5632/node

See the reason
losetup: could not find any free loop device


it says there is no free loop back devices. Your vps might be at present mounted with a cd-rom. but as there is no free loop device it cant mount it and start vps. Unmount the cdrom and start the vps again. It will work.

No comments:

Post a Comment

Be nice. That's all.