Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 89775 - failed to detect my software raid array with 2005.0
Summary: failed to detect my software raid array with 2005.0
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Release Media
Classification: Unclassified
Component: Everything (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Release Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-20 02:07 UTC by Michael Postmann
Modified: 2005-05-24 06:12 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Postmann 2005-04-20 02:07:00 UTC
I have a raid-1 array on sda6 and sdb6

The drives are connected to a Via82xxx sata raid controller (it calles itself raid controller but it doesn't seem to support raid so I'm doing software raid here.

The controller with it's the disks gets detected on startup but when It came to raid it said that it could not find any raid arrays.

Maybe I'm doing something wrong, but this doesn't seem ok to me.

Reproducible: Always
Steps to Reproduce:
Boot from the 2005.0 livecd,
create devicenodes md0-md?
partition /dev/sda (1 (linux), 2(extended), 5(swap), 6(linux))
partition /dev/sdb (1 (linux), 2(extended), 5(swap), 6(autoraid))
do: mdadm --create -l 1 --raid-devices=2 /dev/md0 missing /dev/sdb6

reboot the machine
Actual Results:  
does not detect the raid array

Expected Results:  
should detect the raid arrays and provide me a device node for md0
Comment 1 Chris Gianelloni (RETIRED) gentoo-dev 2005-04-20 04:38:46 UTC
Shouldn't both of your partition 6 be type: fd?
Comment 2 Benjamin Smee (strerror) (RETIRED) gentoo-dev 2005-05-24 02:24:05 UTC
I am not sure what you are trying to do here. Either you get the raid controller
to do raid (almost every controller will do at least Raid 0 and 1) by going into
its bios and creating the array, or you do it in software under linux. If you
chose the first option then the chipset will present a single block device to
linux and it will appear correctly. If that is not working then you will have to
set up software raid, but as Chris points out then you will need to make sure
that your partitions are equal and that they have the appropriate fs type flags.
You current snippet shows that is not the case. Please see
http://www.tldp.org/HOWTO/Software-RAID-HOWTO.html for more information on how
to do this and concepts involved.
I can use and create software raid with livecd so I think this should be marked
as resolved works for me.
Comment 3 Chris Gianelloni (RETIRED) gentoo-dev 2005-05-24 06:12:05 UTC
...ok