Port-xen archive

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

Re: Cannot use multiple disks in domU! (missing /dev/xbd[1...9]* devs)



On Tue, 15 Mar 2005 13:59:13 -0800
Jason Thorpe <thorpej%shagadelic.org@localhost> wrote:

> Can you please post a patch?  I think it's probably reasonable to make 
> this change.

Sure.

Index: sbin/init/init.c
===================================================================
RCS file: /cvsroot/src/sbin/init/init.c,v
retrieving revision 1.68
diff -b -u -u -r1.68 init.c
--- sbin/init/init.c    12 Oct 2004 10:08:09 -0000      1.68
+++ sbin/init/init.c    15 Mar 2005 22:03:29 -0000
@@ -186,7 +186,7 @@
 
 #ifdef MFS_DEV_IF_NO_CONSOLE
 
-#define NINODE 896
+#define NINODE 1024
 #define FSSIZE ((8192          /* boot area */                         \
        + 2 * 8192              /* two copies of superblock */          \
        + 4096                  /* cylinder group info */               \
Index: etc/etc.i386/MAKEDEV.conf
===================================================================
RCS file: /cvsroot/src/etc/etc.i386/MAKEDEV.conf,v
retrieving revision 1.4
diff -b -u -u -r1.4 MAKEDEV.conf
--- etc/etc.i386/MAKEDEV.conf   11 Mar 2005 20:55:10 -0000      1.4
+++ etc/etc.i386/MAKEDEV.conf   15 Mar 2005 22:03:29 -0000
@@ -12,7 +12,7 @@
        makedev ed0 ed1
        makedev raid0
        makedev ld0 ld1 ld2 ld3
-       makedev xbd0
+       makedev xbd0 xbd1
        makedev usbs
        makedev ipty
        makedev local

And the line used in the nbsd file when creating the domU:

disk = [ 'phy:/dev/cd0a,cd0a,r', 'phy:/dev/wd0i,wd0d,w' ]




Home | Main Index | Thread Index | Old Index