Gisbert Amm
2005-Apr-07 14:17 UTC
[Xen-users] Error creating domain: vbd: Segment not found
Hi list, I''ve googled and searched the archives but have not found any hint. After rebooting the host machine I''m getting "Error creating domain: vbd: Segment not found" on a formerly working domain: #> xm create configfile -c Using config file "configfile". Error: Error creating domain: vbd: Segment not found: uname=file:/root/xeninstanzen/lxgia/lxgia.img My configfile looks like this: #> cat configfile kernel = "/boot/vmlinuz-2.6.10-xenU" memory = 64 name = "lxgia" #nics = 1 #ip = "1.2.3.4" disk = [''file:/root/xeninstanzen/lxgia/lxgia.img,hda6,w''] root = "/dev/hda6 rw" dhcp="dhcp" And the image is still at the right place and could be booted: #> file /root/xeninstanzen/lxgia/lxgia.img /root/xeninstanzen/lxgia/lxgia.img: Linux rev 1.0 ext2 filesystem data As I said, I was able to create this domain before. Since I''m fairly new to XEN I don''t really know what to do now. Am I doing something wrong? How can I get some more helpful information? How to debug such problems? Any pointer or hint would be highly appreciated. Regards, Gisbert Amm _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Christian Kelinski
2005-Apr-07 14:46 UTC
Re: [Xen-users] Error creating domain: vbd: Segment not found
Hi, How many domains do you use? How many are running while trying to create "lxgia"?> After rebooting the host machine I''m getting "Error creating domain: > vbd: Segment not found" on a formerly working domain:According to the FAQ, you get this error if your dom0 runs out of loop-back devices: "By default, Linux only allows up to 8 loop-back devices to be active. You can increase this number by setting max_loop=32 (etc) on the domain 0 kernel command line in Grub." Greetings, Christian _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Gisbert Amm
2005-Apr-07 15:23 UTC
Re: [Xen-users] Error creating domain: vbd: Segment not found
There was no other domain running at all. After rebooting the host system another time, the domain comes up again as before. Strange. However, thank you very much. Gisbert Christian Kelinski wrote:> Hi, > > How many domains do you use? How many are running while trying > to create "lxgia"? > > >>After rebooting the host machine I''m getting "Error creating domain: >>vbd: Segment not found" on a formerly working domain: > > According to the FAQ, you get this error if your dom0 runs out of > loop-back devices: > > "By default, Linux only allows up to 8 loop-back devices to be active. > You can increase this number by setting max_loop=32 (etc) on the > domain 0 kernel command line in Grub." > > Greetings, > Christian >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Ian Pratt
2005-Apr-07 16:33 UTC
RE: [Xen-users] Error creating domain: vbd: Segment not found
> After rebooting the host machine I''m getting "Error creating domain: > vbd: Segment not found" on a formerly working domain: > > #> xm create configfile -c > Using config file "configfile". > Error: Error creating domain: vbd: Segment not found: > uname=file:/root/xeninstanzen/lxgia/lxgia.img > > My configfile looks like this: > > #> cat configfile > kernel = "/boot/vmlinuz-2.6.10-xenU" > memory = 64 > name = "lxgia" > #nics = 1 > #ip = "1.2.3.4" > disk = [''file:/root/xeninstanzen/lxgia/lxgia.img,hda6,w''] > root = "/dev/hda6 rw" > dhcp="dhcp" > > And the image is still at the right place and could be booted: > > #> file /root/xeninstanzen/lxgia/lxgia.img > /root/xeninstanzen/lxgia/lxgia.img: Linux rev 1.0 ext2 filesystem data > > As I said, I was able to create this domain before. Since I''m > fairly new to XEN I don''t really know what to do now. Am I > doing something wrong? > How can I get some more helpful information? How to debug > such problems?As an experiment, please try to use losetup to setup the loop device manually then use a vbd of ''phy:loopX,hda6,w''. Adding some debugging to the vbd-file script would be useful too. I suspect there''s a problem allocating a loop device. Thanks, Ian _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users