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 "ls -l" it was clear that the
device<br>
nodes were not made correctly. Essentially the
"highpartoffset"<br>
variable in MAKEDEV must have been 0 when the initial<br>
install ran. 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>
>Hi,<br>
>I'm having trouble using more that 8 partitions on<br>
>my RAID device. I'm running NetBSD 1.5.2 on an i386<br>
>platform.<br>
<br>
>I noticed the problem when I tried to do a newfs<br>
>on rraid0i and was told it was in use. When I<br>
>looked in /dev I found out that the minor numbers<br>
>for rraid0 repeat at 8 devices. I checked the<br>
>MAKEDEV code and that's how its configured to<br>
>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
rmk@walrus:/usr/src/sys/arch/i386/compile/WALRUS i386<br>
<br>
<br>
crw-r----- 1 root operator
62, 0 May 30 18:00 rraid0a<br>
crw-r----- 1 root operator
62, 1 May 30 18:00 rraid0b<br>
crw-r----- 1 root operator
62, 2 May 30 18:00 rraid0c<br>
crw-r----- 1 root operator
62, 3 May 30 18:00 rraid0d<br>
crw-r----- 1 root operator
62, 4 May 30 18:00 rraid0e<br>
crw-r----- 1 root operator
62, 5 May 30 18:00 rraid0f<br>
crw-r----- 1 root operator
62, 6 May 30 18:00 rraid0g<br>
crw-r----- 1 root operator
62, 7 May 30 18:00 rraid0h<br>
crw-r----- 1 root operator 62, 524288 May 30 18:00
rraid0i<br>
crw-r----- 1 root operator 62, 524289 May 30 18:00
rraid0j<br>
crw-r----- 1 root operator 62, 524290 May 30 18:00
rraid0k<br>
crw-r----- 1 root operator 62, 524291 May 30 18:00
rraid0l<br>
crw-r----- 1 root operator 62, 524292 May 30 18:00
rraid0m<br>
crw-r----- 1 root operator 62, 524293 May 30 18:00
rraid0n<br>
crw-r----- 1 root operator 62, 524294 May 30 18:00
rraid0o<br>
crw-r----- 1 root operator 62, 524295 May 30 18:00
rraid0p<br>
<br>
<br>
-- <br>
Rick Kelly rmk@rmkhome.com
<a href="http://www.rmkhome.com/" eudora="autourl">www.rmkhome.com</a></font></blockquote></html>
--=====================_18495309==_.ALT--