Linux RAID subsystem development
 help / color / mirror / Atom feed
From: "Nathanial A. Byrnes" <nate@qabal.org>
To: Gordon Henderson <gordon@drogon.net>
Cc: linux-raid@vger.kernel.org
Subject: Re: RAID 5 on four IDE channels doesn't work
Date: Mon, 11 Oct 2004 00:02:23 -0400	[thread overview]
Message-ID: <1097467343.8389.10.camel@vilya> (raw)
In-Reply-To: <Pine.LNX.4.56.0410101951040.9395@lion.drogon.net>

Hi Gordon, 
	Thanks for your reply. Actually, I used mknod directly, I got the major
and minor numbers from /sys/block/hd?/dev, and just made the block file
entries, then I was able to use fdisk to see the drives. So the entries
in /sys tell me the kernel saw the devices, and fdisk would lead me to
believe that the entries in /dev were OK. 

root@qabal:~# ls -Fal /dev/hd[ik]
brw-r--r--    1 root     root      56,   0 Oct 10 02:19 /dev/hdi
brw-r--r--    1 root     root      57,   0 Oct 10 02:20 /dev/hdk

For some reason, when I run autostart (sorry no output, I have to
reconfigure and reboot to be able to e-mail) it doesn't even mention the
higher drives, it just tells me that there is something wrong with the
super-blocks on the devices with the major and minor numbers of
/dev/hd[eg] and then tries to start the array with just those two
devices. Any ideas?

	Thanks Again,
	Nate

On Sun, 2004-10-10 at 14:56, Gordon Henderson wrote:
> On Sun, 10 Oct 2004, Nathanial A. Byrnes wrote:
> 
> > 	Where hde-hdh are on my PCI promise controller, and hdi-hdl are on my
> > onboard HighPoint 366 controller. (The same array worked on just the
> > Highpoint 366 controller as well)
> 
> Assuming you have the right driver compiled into the kernel, /dev doesn't
> list hdi-l by default (at least not on my Debian systems) Check the dmesg
> output to make sure the driver is compiled in and it's recognising the
> drives.
> 
> You might need to run MAKEDEV with the right runes - but worse, I've had
> to hand-edit this file to insert the right major/minor device numbers for
> some really high alphabetical letters.
> 
> I have this:
> 
> brw-rw----    1 root     disk       3,   0 Mar 14  2002 hda
> brw-rw----    1 root     disk       3,  64 Mar 14  2002 hdb
> brw-rw----    1 root     disk      22,   0 Mar 14  2002 hdc
> brw-rw----    1 root     disk      22,  64 Mar 14  2002 hdd
> brw-rw----    1 root     disk      33,   0 Mar 14  2002 hde
> brw-rw----    1 root     disk      33,  64 Mar 14  2002 hdf
> brw-rw----    1 root     disk      34,   0 Mar 14  2002 hdg
> brw-rw----    1 root     disk      34,  64 Mar 14  2002 hdh
> brw-rw----    1 root     disk      56,   0 May 24 15:31 hdi
> brw-rw----    1 root     disk      56,  64 May 24 15:31 hdj
> brw-rw----    1 root     disk      57,   0 May 24 15:31 hdk
> brw-rw----    1 root     disk      57,  64 May 24 15:31 hdl
> brw-rw----    1 root     disk      88,   0 May 24 16:00 hdm
> brw-rw----    1 root     disk      88,  64 May 24 16:00 hdn
> brw-rw----    1 root     disk      89,   0 May 24 16:00 hdo
> brw-rw----    1 root     disk      89,  64 May 24 16:00 hdp
> brw-rw----    1 root     disk      90,   0 May 24 16:00 hdq
> brw-rw----    1 root     disk      90,  64 May 24 16:00 hdr
> 
> I think I had to dig in the kernel originally to get the major/minor
> devices. Hope this is of use.
> 
> You can get the MAKEDEV I used to create these from
>   http://www.drogon.net/MAKEDEV
> 
> Gordon
> 
> !DSPAM:4169860d14355587716053!


      reply	other threads:[~2004-10-11  4:02 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-10 18:14 RAID 5 on four IDE channels doesn't work Nathanial A. Byrnes
2004-10-10 18:56 ` Gordon Henderson
2004-10-11  4:02   ` Nathanial A. Byrnes [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1097467343.8389.10.camel@vilya \
    --to=nate@qabal.org \
    --cc=gordon@drogon.net \
    --cc=linux-raid@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox