[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] blktap limited to 100 devices?


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: "Carl Jones" <carl.jones@xxxxxxxxx>
  • Date: Fri, 13 Jun 2008 13:03:03 +1200
  • Delivery-date: Thu, 12 Jun 2008 18:03:35 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=Q7LQx/uQ9yzZQfT8s/8Igbblobv1dwvJmqdnUHuKZiCbueM2C5lyeOlFTtGKprbuID diqQKpkUb3fK956AgmFYDgCtrbEiBRDiJhvxtnAklbfK4Lji7wJrDce20fMSI5y2nqf3 vmtBP4M+24nBBayx7ma2oiOVl/8b/mW3igPr8=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Hi,

Is blktap is limited to 100 devices? My simple test is to have 51 domUs, each with 2 disks attached using tap:aio.

All start up fine except #51:

XENBUS: Timeout connecting to device: device/vbd/51713 (state 3)
XENBUS: Timeout connecting to device: device/vbd/51721 (state 3)
XENBUS: Device with no driver: device/console/0
Root-NFS: No NFS server available, giving up.
VFS: Unable to mount root fs via NFS, trying floppy.
VFS: Cannot open root device "xvda1" or unknown-block(2,0)
Please append a correct "root=" boot option; here are the available partitions:
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)

On the host I see: tapdisk /var/run/tap/tapctrlwrite1 /var/run/tap/tapctrlread1 to 100, but nothing further.

With 3.1.4 I see these set, but changing them and rebuilding does not help:
./linux-2.6.18.8-xen/drivers/xen/blktap/blktap.c:#define MAX_TAP_DEV 256     /*the maximum number of tapdisk ring devices    */
./linux-2.6.18.8-xen/drivers/xen/blktap/blktap.c:#define MAX_DEV_NAME 100    /*the max tapdisk ring device name e.g. blktap0 */

Is there an easy way around this limit?

Using Xen 3.0.4, 3.1.4 and 3.2.1 (from source) with the same results. Host OS is CentOS 5 64bit.

Regards,
Carl
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.