View previous topic :: View next topic |
Author |
Message |
upengan78 l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
Joined: 27 Jun 2007 Posts: 711 Location: IL
|
Posted: Fri Jun 20, 2008 1:47 pm Post subject: how to use hardware RAID1 in 2008 beta2 gentoo[SOLVED] |
|
|
Hi,
I have Optiplex 755, it has RAID controller utility where I have created an array for 2 samsung 160 G disks. RAID1.
I have set Drives as Autodetect RAID1 with ATA. There are other options such as RAID1, Autodetect Raid with AHCI and Legacy.
I would like to use the hardware RAID level 1 and install gentoo. For some reason I can not install in right device.
I tried with above hardware set and installing in /dev/sda and that did not boot OS. it showed weired characters in place of boot loader. when I had installed boot loader on /dev/sda it did not show any errors.
when I used legacy drives I get non mirrored gentoo.
Please guide for using this Hardware RAID( Intel Matrix Storage Manager)
Thanks ![Sad :(](images/smiles/icon_sad.gif)
Last edited by upengan78 on Tue Jun 24, 2008 8:59 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
aceFruchtsaft Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/75310361040f56cba0d7b7.gif)
Joined: 16 May 2004 Posts: 438 Location: Vienna, Austria
|
Posted: Fri Jun 20, 2008 3:06 pm Post subject: |
|
|
The problem is that the RAID provided via the Intel ICH chipsets is NO hardware RAID. The RAID functionality is entirely implemented via the driver, and Linux in general does not support this. Therefore, in Linux you will not see one single RAID device but rather all disks separately.
Unless you want to dual boot with Windows, there is no reason to configure the RAID in BIOS; use Linux's own device mapper instead. If you want to dual boot, you'll most likely run intro trouble. If you are lucky, you can use dmraid (search the gentoo-wiki, Google, etc..). I tried this once with Intel's ICH8R, failed, and just bought a real hardware RAID controller. This was 1,5 years ago, so you may be more lucky. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
NeddySeagoon Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/3946266373f47d606a2db3.jpg)
Joined: 05 Jul 2003 Posts: 54454 Location: 56N 3W
|
Posted: Fri Jun 20, 2008 4:08 pm Post subject: |
|
|
upengan78,
Your RAID controller is not hardware raid, its software (int eh BIOS) raid, often called fakeraid.
The only reason to use fake raid is that linux and windows must share the raid set.
Boot the gentoo liveCD with the dmraid kernel option if you want to go this route. You probably don't, because kernel software raid is better.
For software raid, you need mdadm and the kernel raid modules for the raid personalties you want to use.
With kernel raid, you donate partitions, not drives to raid sets, thus you can mix several raid levels on the same drive.
Hint: you cannot boot for a kernel raid 0 set, so you must make /boot either raid1, or not raided. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
upengan78 l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
Joined: 27 Jun 2007 Posts: 711 Location: IL
|
Posted: Tue Jun 24, 2008 4:31 pm Post subject: |
|
|
Thanks for replying guys !
Well I have got something working using the wikis...nvidiaraid and others..
what I did is
Code: |
0. Configure in BIOS , Drives to RAID ON, with intel hardware utility created a volume for RAID 1
1. boot with 2008beta2-Live CD
2. while booting edited grub and added 'dodmraid'
3. booted system and ls /dev/mapper still did not show anything.
4. so i did 'dmraid -ay'
5. now I see a device in /dev/mapper/blah_Volume
6. I configure this volume instead of sda or sdb and installed os in it.
7. configured kernel manually.
8. used genkernel command to get initial ram disk and kernel and configured grub.conf and grub
9. I have 3 partitions volume1 volume2 and volume3
10. my system boots
|
I do not know what to call this software RAID or hardware raid or fake hardware raid.
Quote: | df -kh
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/isw_cccegdefga_Volume3
143G 3.6G 133G 3% /
udev 10M 180K 9.9M 2% /dev
shm 1.9G 0 1.9G 0% /dev/shm |
Quote: |
dmraid -r
/dev/sdb: isw, "isw_cccegdefga", GROUP, ok, 312499998 sectors, data@ 0
/dev/sda: isw, "isw_cccegdefga", GROUP, ok, 312499998 sectors, data@ 0 |
Quote: | swapon -s
Filename Type Size Used Priority
/dev/mapper/isw_cccegdefga_Volume2 partition 3911816 0 -1 |
Quote: | dmraid -s
*** Group superset isw_cccegdefga
--> Active Subset
name : isw_cccegdefga_Volume0
size : 312494336
stride : 128
type : mirror
status : ok
subsets: 0
devs : 2
spares : 0
|
I wonder if this is really getting mirrored on two drives or not.
Thanks |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
NeddySeagoon Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/3946266373f47d606a2db3.jpg)
Joined: 05 Jul 2003 Posts: 54454 Location: 56N 3W
|
Posted: Tue Jun 24, 2008 6:45 pm Post subject: |
|
|
upengan78,
Its BIOS raid or fakeraid and it is working
One of the reasons to not use fakeraid is support. The physical data layout on the drives is BIOS dependant.
You can only expect to read those drives with the same fakeraid chipset and the same BIOS. Other BIOSes and other chipsets do it differently.
Kernel raid is BIOS and chipset independant - you can plug a kernel raid set into other hardware and be confident you can read it.
You may not be able to boot from it but you will be able to read it.
Speed wise, fakeraid is little different from kernel raid as both are software raid implementions. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
danomac l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/150252826944596be5c5716.gif)
Joined: 06 Nov 2004 Posts: 881 Location: Vancouver, BC
|
Posted: Tue Jun 24, 2008 8:37 pm Post subject: |
|
|
Just a tip to add: if you forget to add 'dodmraid' you can modprobe it manually later in a shell and execute 'dmraid -ay' - this will detect your raid arrays without having to reboot.
Just installed a fresh install myself.
The only reason I had to do it this way is because Vista is on another partition, or I would've stuck with in-kernel raid. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|