Subject: Re: Cannot use multiple disks in domU! (missing /dev/xbd[1...9]*
To: Jason Thorpe <thorpej@shagadelic.org>
From: Juan RP <juan@xtraeme.nopcode.org>
List: port-xen
Date: 03/15/2005 21:22:26
On Tue, 15 Mar 2005 12:17:22 -0800
Jason Thorpe <thorpej@shagadelic.org> wrote:

> Uh, so tweak the parameters used by init(8)?

The limit is 896:

sbin/init/init.c:

#define NINODE 896
#define FSSIZE ((8192           /* boot area */                         \
        + 2 * 8192              /* two copies of superblock */          \
        + 4096                  /* cylinder group info */               \
        + NINODE * (128 + 18)   /* inode and directory entry */         \
        + mfile[0].len          /* size of MAKEDEV file */              \
        + 2 * 4096) / 512)      /* some slack */

Can we increase this number?