2

I have a Xen virtual machine that has been running for over a year under a decent load. I restarted it this morning, and it's been several hours booting. I think it's FSCKing itself. xm list shows that's it's using a lot of cpu. I can't xm console into it. xenconsole: Could not open tty '/dev/pts/0': No such file or directory. The filesystem is EXT3.

Is there any way for me to:

  • See a boot log / console for the VM, so I can verify what it is doing?
  • Find out how much longer the FSCKing is going to take?

1 Answer 1

5

The console error you are getting is very likely due to xenconsoled not running for some reason. You stated some super uptime, which leads me to believe you are still using Xen 3.1.x, which I believe had a few bugs in that area.

Try re-starting xenconsoled (literally, just type xenconsoled if its not already running i.e. you don't see it in 'ps'), it will correct the PTY references in xenstore and xm console should work again.

Really, that's the only way you're going to see progress of the FSCK, barring actual introspection, if indeed that is the hangup.

1
  • Thank you! Thank you! It almost seemed like it was waiting for xenconsoled to finish booting. Life is good again. Oct 5, 2009 at 16:52

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .