Subject: Re: Problem using more than 8 partitions on RAID device
To: None <rmk@rmkhome.com>
From: Rob Ginn <rob@sun701.nawcad.navy.mil>
List: netbsd-users
Date: 06/03/2002 15:09:31
--=====================_18495309==_.ALT
Content-Type: text/plain; charset="us-ascii"; format=flowed

Thanks Rick,
As soon as I saw your "ls -l" it was clear that the device
nodes were not made correctly.  Essentially the "highpartoffset"
variable in MAKEDEV must have been 0 when the initial
install ran.  I re-created the node entries and all is well.

- Rob Ginn

At 06:05 PM 5/30/02 -0600, Rick Kelly wrote:
>Rob Ginn said:
>
> >Hi,
> >I'm having trouble using more that 8 partitions on
> >my RAID device.  I'm running NetBSD 1.5.2 on an i386
> >platform.
>
> >I noticed the problem when I tried to do a newfs
> >on rraid0i and was told it was in use.  When I
> >looked in /dev I found out that the minor numbers
> >for rraid0 repeat at 8 devices.  I checked the
> >MAKEDEV code and that's how its configured to
> >generate them.
>
>I don't know about 1.5.2.
>
>But:
>
>NetBSD walrus 1.5.3_RC2 NetBSD 1.5.3_RC2 (WALRUS) #9: Tue May 14 22:37:57 
>MDT 2002     rmk@walrus:/usr/src/sys/arch/i386/compile/WALRUS i386
>
>
>crw-r-----  1 root  operator  62,      0 May 30 18:00 rraid0a
>crw-r-----  1 root  operator  62,      1 May 30 18:00 rraid0b
>crw-r-----  1 root  operator  62,      2 May 30 18:00 rraid0c
>crw-r-----  1 root  operator  62,      3 May 30 18:00 rraid0d
>crw-r-----  1 root  operator  62,      4 May 30 18:00 rraid0e
>crw-r-----  1 root  operator  62,      5 May 30 18:00 rraid0f
>crw-r-----  1 root  operator  62,      6 May 30 18:00 rraid0g
>crw-r-----  1 root  operator  62,      7 May 30 18:00 rraid0h
>crw-r-----  1 root  operator  62, 524288 May 30 18:00 rraid0i
>crw-r-----  1 root  operator  62, 524289 May 30 18:00 rraid0j
>crw-r-----  1 root  operator  62, 524290 May 30 18:00 rraid0k
>crw-r-----  1 root  operator  62, 524291 May 30 18:00 rraid0l
>crw-r-----  1 root  operator  62, 524292 May 30 18:00 rraid0m
>crw-r-----  1 root  operator  62, 524293 May 30 18:00 rraid0n
>crw-r-----  1 root  operator  62, 524294 May 30 18:00 rraid0o
>crw-r-----  1 root  operator  62, 524295 May 30 18:00 rraid0p
>
>
>--
>Rick Kelly  rmk@rmkhome.com  www.rmkhome.com

--=====================_18495309==_.ALT
Content-Type: text/html; charset="us-ascii"

<html>
<font size=3>Thanks Rick,<br>
As soon as I saw your &quot;ls -l&quot; it was clear that the 
device<br>
nodes were not made correctly.&nbsp; Essentially the
&quot;highpartoffset&quot;<br>
variable in MAKEDEV must have been 0 when the initial<br>
install ran.&nbsp; I re-created the node entries and all is well.<br>
<br>
- Rob Ginn<br>
<br>
At 06:05 PM 5/30/02 -0600, Rick Kelly wrote:<br>
<blockquote type=cite cite>Rob Ginn said:<br>
<br>
&gt;Hi,<br>
&gt;I'm having trouble using more that 8 partitions on<br>
&gt;my RAID device.&nbsp; I'm running NetBSD 1.5.2 on an i386<br>
&gt;platform.<br>
<br>
&gt;I noticed the problem when I tried to do a newfs<br>
&gt;on rraid0i and was told it was in use.&nbsp; When I<br>
&gt;looked in /dev I found out that the minor numbers<br>
&gt;for rraid0 repeat at 8 devices.&nbsp; I checked the<br>
&gt;MAKEDEV code and that's how its configured to<br>
&gt;generate them.<br>
<br>
I don't know about 1.5.2.<br>
<br>
But:<br>
<br>
NetBSD walrus 1.5.3_RC2 NetBSD 1.5.3_RC2 (WALRUS) #9: Tue May 14 22:37:57
MDT 2002&nbsp;&nbsp;&nbsp;&nbsp;
rmk@walrus:/usr/src/sys/arch/i386/compile/WALRUS i386<br>
<br>
<br>
crw-r-----&nbsp; 1 root&nbsp; operator&nbsp;
62,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 May 30 18:00 rraid0a<br>
crw-r-----&nbsp; 1 root&nbsp; operator&nbsp;
62,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1 May 30 18:00 rraid0b<br>
crw-r-----&nbsp; 1 root&nbsp; operator&nbsp;
62,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2 May 30 18:00 rraid0c<br>
crw-r-----&nbsp; 1 root&nbsp; operator&nbsp;
62,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 3 May 30 18:00 rraid0d<br>
crw-r-----&nbsp; 1 root&nbsp; operator&nbsp;
62,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4 May 30 18:00 rraid0e<br>
crw-r-----&nbsp; 1 root&nbsp; operator&nbsp;
62,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 5 May 30 18:00 rraid0f<br>
crw-r-----&nbsp; 1 root&nbsp; operator&nbsp;
62,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 6 May 30 18:00 rraid0g<br>
crw-r-----&nbsp; 1 root&nbsp; operator&nbsp;
62,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 7 May 30 18:00 rraid0h<br>
crw-r-----&nbsp; 1 root&nbsp; operator&nbsp; 62, 524288 May 30 18:00
rraid0i<br>
crw-r-----&nbsp; 1 root&nbsp; operator&nbsp; 62, 524289 May 30 18:00
rraid0j<br>
crw-r-----&nbsp; 1 root&nbsp; operator&nbsp; 62, 524290 May 30 18:00
rraid0k<br>
crw-r-----&nbsp; 1 root&nbsp; operator&nbsp; 62, 524291 May 30 18:00
rraid0l<br>
crw-r-----&nbsp; 1 root&nbsp; operator&nbsp; 62, 524292 May 30 18:00
rraid0m<br>
crw-r-----&nbsp; 1 root&nbsp; operator&nbsp; 62, 524293 May 30 18:00
rraid0n<br>
crw-r-----&nbsp; 1 root&nbsp; operator&nbsp; 62, 524294 May 30 18:00
rraid0o<br>
crw-r-----&nbsp; 1 root&nbsp; operator&nbsp; 62, 524295 May 30 18:00
rraid0p<br>
<br>
<br>
-- <br>
Rick Kelly&nbsp; rmk@rmkhome.com&nbsp;
<a href="http://www.rmkhome.com/" eudora="autourl">www.rmkhome.com</a></font></blockquote></html>

--=====================_18495309==_.ALT--