Subject: Re: Cannot use multiple disks in domU! (missing /dev/xbd[1...9]*
To: None <port-xen@netbsd.org>
From: Juan RP <juan@xtraeme.nopcode.org>
List: port-xen
Date: 03/15/2005 03:54:19
On Tue, 15 Mar 2005 03:07:21 +0100
Juan RP <juan@xtraeme.nopcode.org> wrote:
> On Tue, 15 Mar 2005 02:46:31 +0100
> Juan RP <juan@xtraeme.nopcode.org> wrote:
>
> >
> > Hi, I wanted to install NetBSD in a domU via sysinst, and using the cdrom image
> > I created a few hours ago, this task cannot be acomplished... because the install
> > kernels cannot access to /dev/xbd[1...9]*, there's only xbd0*.
> >
> > Can we change that? I want to add more xbd devices into the MAKEDEV template.
>
> This time with patch, I think that 8 xbd devices will be enough, comments?
>
> Index: MAKEDEV.conf
> ===================================================================
> RCS file: /cvsroot/src/etc/etc.i386/MAKEDEV.conf,v
> retrieving revision 1.4
> diff -b -u -u -r1.4 MAKEDEV.conf
> --- MAKEDEV.conf 11 Mar 2005 20:55:10 -0000 1.4
> +++ MAKEDEV.conf 15 Mar 2005 02:06:13 -0000
> @@ -12,7 +12,7 @@
> makedev ed0 ed1
> makedev raid0
> makedev ld0 ld1 ld2 ld3
> - makedev xbd0
> + makedev xbd0 xbd1 xbd2 xbd3 xbd4 xbd5 xbd6 xbd7
> makedev usbs
> makedev ipty
> makedev local
Hmm, the max number are 3 xbd devices (because we could run out of inodes)...
at least xbd{0...2} will be enough and better than before.