Friday, January 11, 2008

"No space left on device" error from Xen

xenstored database may get corrupted sometimes and upon vm startup it would give a very misleading message like.

# xm create /etc/xen/win2k3
Using config file “/etc/xen/win2k3”.
Error: (28, ‘No space left on device, while writing /local/domain/0/backend/vbd/
18/768/online : 1′)

The workaround is documented here. In short, you have to do the following:
  1. Stop xend "/etc/init.d/xend stop"
  2. Kill xenstored as the above script does not shut it down (I also killed xenconsoled, just in case)
  3. Delete all tdb file from /var/lib/xenstored/tdb*
  4. Start xend
  5. Attempt to start your vm.
  6. If you see the following error just reboot the machine.

    # xm create /etc/xen/win2k3
    Error: Device 0 (vif) could not be connected. Hotplug scripts not working.
  7. After reboot everything should be fine.

1 comment:

Anonymous said...

Fund bonuses might include wagering requirements, which set 카지노사이트 the number of occasions players should wager the bonus amount before making withdrawals. Some on-line casinos have high wagering requirements, whereas others don’t have any at all. Some on-line casinos in the UK offer on-line bingo games, providing players with a fun way to earn cash that doesn’t require as much strategy as games like poker.