Mailing List Archive

vbd segment not found
hello list

i got the following pb:
# xm create -f mac1/mac1.xen
Using config file "mac1/mac1.xen".
Error: Error creating domain: vbd: Segment not found:
uname=file:/xen/mac1/swapfs

but:
# dmesg | grep loop
loop: loaded (max 32 devices)

# ls -l /xen/mac1/swapfs
-rw-r--r-- 1 root root 268435457 2005-04-12 11:25 /xen/mac1/swapfs

# xm list
Name Id Mem(MB) CPU State Time(s) Console
Domain-0 0 57 0 r---- 26.9
mac2 1 127 0 -b--- 1.5 9601
mac3 2 127 0 -b--- 1.4 9602

meaning i should be able to use 32 loop devices, swap file actually
exists, and i've got only 2 xen machines running with 3 vbd each ( so 6
loop devices used ).

# lsof | grep loop also shows a total of 6 loop dev being used.

seems that loop device limit is still set to 8.

any idea ?

plateform is debian sarge, clean xen-2.0.5 home-compiled

thanks




_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
vbd segment not found [ In reply to ]
hello list

i got the following pb:
# xm create -f mac1/mac1.xen
Using config file "mac1/mac1.xen".
Error: Error creating domain: vbd: Segment not found:
uname=file:/xen/mac1/swapfs

but:
# dmesg | grep loop
loop: loaded (max 32 devices)

# ls -l /xen/mac1/swapfs
-rw-r--r-- 1 root root 268435457 2005-04-12 11:25 /xen/mac1/swapfs

# xm list
Name Id Mem(MB) CPU State Time(s) Console
Domain-0 0 57 0 r---- 26.9
mac2 1 127 0 -b--- 1.5 9601
mac3 2 127 0 -b--- 1.4 9602

meaning i should be able to use 32 loop devices, swap file actually
exists, and i've got only 2 xen machines running with 3 vbd each ( so 6
loop devices used ).

# lsof | grep loop also shows a total of 6 loop dev being used.

seems that loop device limit is still set to 8.

any idea ?

plateform is debian sarge, clean xen-2.0.5 home-compiled

thanks




_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
Re: vbd segment not found [ In reply to ]
Am Dienstag, den 12.04.2005, 12:10 +0200 schrieb mlist:
> i got the following pb:
> # xm create -f mac1/mac1.xen
> Using config file "mac1/mac1.xen".
> Error: Error creating domain: vbd: Segment not found:
> uname=file:/xen/mac1/swapfs
>
> but:
> # dmesg | grep loop
> loop: loaded (max 32 devices)
>
> # ls -l /xen/mac1/swapfs
> -rw-r--r-- 1 root root 268435457 2005-04-12 11:25 /xen/mac1/swapfs
>
> # xm list
> Name Id Mem(MB) CPU State Time(s) Console
> Domain-0 0 57 0 r---- 26.9
> mac2 1 127 0 -b--- 1.5 9601
> mac3 2 127 0 -b--- 1.4 9602
>
> meaning i should be able to use 32 loop devices, swap file actually
> exists, and i've got only 2 xen machines running with 3 vbd each ( so 6
> loop devices used ).
>
> # lsof | grep loop also shows a total of 6 loop dev being used.
>
> seems that loop device limit is still set to 8.
>
> any idea ?
>
> plateform is debian sarge, clean xen-2.0.5 home-compiled

I do not know debian, but while the kernel is able to handle 32 loop
devs, the according _devices_ (/dev/loop*) may be missing? Then do
something like

for minor in `seq 8 1 31` ; do mknod /dev/loop$minor b 7 $minor ; done

/nils.


_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
Re: vbd segment not found [ In reply to ]
Le mardi 12 avril 2005 à 12:19 +0200, Nils Toedtmann a écrit :
> for minor in `seq 8 1 31` ; do mknod /dev/loop$minor b 7 $minor ; done

thanks, that was it


_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users