Subject: Re: NetBSD fdisk/fstab help
To: je <cavebeck@yahoo.com>
From: Alan Horn <ahorn@deorth.org>
List: netbsd-help
Date: 03/04/2004 15:29:40
I think typically a NetBSD install only create devices for disks 0 through
to 3.
Looking at /dev/MAKEDEV I think you'll have to make the devices by hand.
Something like :
cd /dev
mknod wd4a b 0 32
mknod wd4b b 0 33
mknod wd4c b 0 34
mknod wd4d b 0 35
mknod wd4e b 0 36
mknod wd4f b 0 37
mknod wd4g b 0 38
mknod wd4h b 0 39
mknod rwd4a c 3 32
mknod rwd4b c 3 33
mknod rwd4c c 3 34
mknod rwd4d c 3 35
mknod rwd4e c 3 36
mknod rwd4f c 3 37
mknod rwd4g c 3 38
mknod rwd4h c 3 39
I'm not sure if these numbers are correct, or if NetBSD has a different
way of handling it, thats just the path I would follow.. it will create
a bunch of file in /dev, called wd4a -> wd4h and rwd4a -> rwd4h
If it doesn't work, you can back it out by removing those files.
Ne careful in dev, you can leave your system in a very unhappy state if you
mess with any device files other than the ones I've just mentioned.
Cheers,
Al
On Thu, 4 Mar 2004, je wrote:
>Date: Thu, 4 Mar 2004 15:08:24 -0800 (PST)
>From: je <cavebeck@yahoo.com>
>To: netbsd-help@netbsd.org
>Subject: NetBSD fdisk/fstab help
>
>I'm setting up a Via mini-itx server running NetBSD
>1.6.2. It has 4 200GB disks (2 on onboard ide, 2 on a
>Promise ATA133 card) and a 20 GB system disk (slave on
>onboard channel 1). All drives show up in dmesg, but
>one of them isn't recognized by fdisk.
>
>wd0 200GB
>wd1 20GB (boot disk)
>wd2 200GB
>wd3 200GB
>wd4 200GB <- this one
>
>When I fdisk wd4 I get an error like "rwd4a not
>found". I had to remove this disk to install the OS
>from CD, so I think maybe something isn't right in the
>fstab?
>
>Any help appreciated. These drives are going to be a
>raidframe raid5 array. Someday. Hopefully.
>
>__________________________________
>Do you Yahoo!?
>Yahoo! Search - Find what you=92re looking for faster
>http://search.yahoo.com
>