CentOS 5
Sponsored Link

Increase Loopback devices
  The number of DomainsU that can be started at the same time in CentOS 5 is 5 Domains. It is a cause that the number of loop back devices on Domain0 is insufficient. If you want to start more than 6 DomainUs, increase loop back devices on Domain0.
[root@ns ~]#
vi /etc/modprobe.conf


# add at the bottom

options loop max_loop=32


[root@ns ~]#
for i in `seq 8 31`; do mknod -m660 /dev/loop$i b 7 $i; done

[root@ns ~]#
chown root:disk /dev/loop*
  It's OK, many DomainUs can run like below.
[root@ns ~]#
xm list

Name
ID
Mem(MiB)
VCPUs
State
Time(s)

Host
0
512
2
r-----
25.7

mail
3
511
2
-b----
4.9

lan
4
511
2
-b----
10.0

www
2
511
2
-b----
14.8

dlp1
1
511
2
-b----
12.7

dlp2
5
511
2
-b----
12.0

dlp3
6
511
2
-b----
9.3

dlp4
7
511
2
-b----
5.9

dlp5
8
511
2
-b----
4.9

dlp6
9
511
2
-b----
3.6
Matched Content