I'm trying to setup some Xen stuff, and made 4 images, exactly the same, based on the Ubuntu hardy 64 bit system I'm running everything on.

I literally made the images with a bash loop, and they are all exactly the same, named xen{1,2,3,4}.

1, 2, and 3 start just fine, but 4 hangs on waiting for root file system.

link|improve this question

1  
What does /var/log/xen/xend.log give you for that domain? – Kamil Kisiel Jun 19 '09 at 5:04
feedback

2 Answers

Just a stab in the dark, but have you ran out of loop devices? run "cat /proc/diskstats" to see how many loop devices your kernel can use.

link|improve this answer
i see loop0 through loop7, but the problem happens when i run just xen4 on its own – Daniel Huckstep Jun 19 '09 at 5:33
feedback
up vote 1 down vote accepted

It was actually in the logs for the xen-create-image command. The disk image didn't get created properly since it was already mounted. I must have CTRL+C'd something and not umount'd the disk. umounting and remaking the domain fixed the problem.

link|improve this answer
Sounds reasonable. You should accept your own answer to mark the question as answered. – Kamil Kisiel Jun 19 '09 at 5:54
Yeah I will...you have to wait a little while to be able to accept your own answer. – Daniel Huckstep Jun 19 '09 at 15:33
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.