[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: raidctl partition size
On Thu, Nov 16, 2000 at 07:09:32PM +0200, Arturs Korneevs wrote:
> What max size of raid partition can I create ?
Theoretically about 2^63 or 2^64 bytes - i.e. lots.
> I created this partition 4000 MB (dev/wd0d /dev/wd1d) but it seems that something
> is wrong in my disk geometry. Is raidctl support large disk partitions ?
I run a 75GB partition and I know people using it in the 250GB range.
> raidctl -s raid0
> Nov 16 17:02:01 aurum /bsd: WARNING: raid0: total sector size in disklabel (3686176) != the size of raid (8191936)
> Components:
> /dev/wd0d: optimal
> /dev/wd1d: optimal
> No spares.
> Parity status: clean
> Reconstruction is 100% complete.
> Parity Re-write is 100% complete.
> Copyback is 100% complete.
>
> disklabel /dev/raid0c
> Nov 16 17:01:13 aurum /bsd: WARNING: raid0: total sector size in disklabel (3686176) != the size of raid (8191936)
I assume from the labels below that you are using the 4GB partition,
but for some reason the raid0 disklabel thinks the 'c' partition to be
only about 1.9GB.
You may need to start again and possibly clean the first few block of
the raid components to ensure that the raud labels are OK. Do
something like (after the raid is unconfig'ed):
dd if=/dev/null of=/dev/rwd0d count=10
dd if=/dev/null of=/dev/rwd1d count=10
raidctl -C /etc/raid0.conf
raidctl -I 12345 raid0
raidctl -u raid0
raidctl -c /etc/raid0.conf raid0
and I would hope it would all work. If it doesn't please send me your
raidX.conf file.
rgds,
--
Peter Galbavy
Knowledge Matters Ltd
http://www.knowledge.com/