[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: patch for probing raid

From: Andreas Dilger
Subject: Re: patch for probing raid
Date: Tue, 5 Feb 2002 10:18:42 -0700
User-agent: Mutt/

On Feb 05, 2002  06:16 -0800, Mridul Jain wrote:
> Hi I am sending the level zero -p0 patch for the
> probing of the raid devices.I faced the problem and
> fixed it in libparted.

I'm interested in this, since I was going to make a much more generic
method for probing RAID devices for parted 1.6.  The one thing I'm
wondering about is whether or not the RAID devices showed up in the
/proc/partitions output, and what it looks like?

Also, do you know whether RAID disks are automatically numbered from 0?
So, do you always have rd/c0d0 before you have rd/c0d1, or is it possible
to have rd/c0d1 and no rd/c0d0?  Similarly, are the controllers always
started with c0, or can you have rd/c1d* without having rd/c0d*?

The reason I'm asking this is that there are potentially a _lot_ of
RAID devices with rd/*, ida/*, cciss/*, ideraid/* and I don't want
to probe all of them if we can bail out early (e.g. don't probe any
controllers c1-c7 if c0 doesn't exist, and possibly don't probe any
disks d1-d31 if d0 doesn't exist).

Cheers, Andreas
Andreas Dilger

reply via email to

[Prev in Thread] Current Thread [Next in Thread]