Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?


  Search this Thread
Old 07-09-2007, 07:34 PM   #1
Registered: Jun 2005
Posts: 82

Rep: Reputation: 15
Question Hardware Raid picked up as two disks in Linux


I am afraid of using the mdadm tool in linux, in fear of destroying my perfectly functioning RAID (In Windows) - that is picked up as /dev/sda and /dev/sdb in Linux.

Has anybody worked with these before?
01:0d.0 RAID bus controller: Silicon Image, Inc. SiI 3512 [SATALink/SATARaid] Serial ATA Controller (rev 01)

Any help or advice much appreciated
Old 07-09-2007, 07:51 PM   #2
Registered: Sep 2006
Location: Munich, Germany
Distribution: Debian / Ubuntu
Posts: 297

Rep: Reputation: 49
I hate to break it to you, but you don't have a hardware raid. It's software raid.

Making a backup of your Windows partition is probably not a bad idea before playing around, but I don't see a problem with using mdadm to create raid partitions on the remaining free space on the drives.

You might also want to check out dmraid.
Old 07-09-2007, 07:51 PM   #3
Senior Member
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
I think you are absolutely right to be concerned. I would never try to use one RAID array with two different RAID software packages. Keep one RAID software for the array. Buy new disks for a Linux RAID array.

Or get a hardware RAID card. Then you wouldn't need to use the software RAID on the operating systems. That would be the only way that I would share a RAID array between two different operating systems.

[Oh rupertwh. You beat me by mere seconds! ]

Last edited by stress_junkie; 07-09-2007 at 07:53 PM.
Old 07-09-2007, 08:07 PM   #4
Senior Member
Registered: Nov 2006
Distribution: Debian Linux 10 (Buster)
Posts: 3,382

Rep: Reputation: 141Reputation: 141
In order to access the data on your array you'll need to run dmraid. Do a search here on LQ and you'll probably find several posts from me and others on how to use it. I use dmraid to dual boot Windows and Linux on my test machine on a really old FastTrak66 FakeRaid card. It seems to work just fine.
Old 07-09-2007, 08:35 PM   #5
Registered: Mar 2007
Distribution: Debian
Posts: 547

Rep: Reputation: 67
dmraid works perfectly for me (ich7 controller). Just do dmraid -a and then look in /dev/mapper if it found something.
Old 07-13-2007, 11:49 AM   #6
Registered: Jun 2005
Posts: 82

Original Poster
Rep: Reputation: 15
Hurray for DMRAID!!

Thanks a lot for the info. I have managed to mount my 1.4TB NTFS Raid1 under Linux with no effort.

I am using Ubuntu 7.04 which is truly the first Linux that I can give to anybody to install and be sure that they'll be able to do a lot more than with Windows!

I simply did an:
root@ubuntu:/mnt# apt-get install dmraid

The install autodetected some stuff, shortly after:

root@ubuntu:/mnt# ls /dev/mapper
control sil_agajdfbicfab sil_agajdfbicfab1
root@ubuntu:/mnt# mkdir /media/RAID
root@ubuntu:/mnt# mount /dev/mapper/sil_agajdfbicfab1 /media/RAID

And Whalla... my RAID is visible from Linux. From here it's trivial to add an entry to /etc/fstab, or probably use some built-in Ubuntu tool I have yet to come across, to make sure the drive mounts automatically when I need it.

PS "dmraid -a y" is the correct command, but as I said, Ubuntu ran this automatically.

dmraid: Device-Mapper Software RAID tool

Old 07-13-2007, 11:54 AM   #7
Registered: Jun 2005
Posts: 82

Original Poster
Rep: Reputation: 15

PS you probably want to use the following mount options:
-o uid=<username>,gid=users

mount /dev/mapper/sil_agajdfbicfab1 /media/RAID/ -o uid=ubuntu,gid=users

So that you don't have to run your file manager as root in order to access the disk!
Old 09-07-2007, 05:11 AM   #8
Registered: Apr 2005
Posts: 105

Rep: Reputation: 15
so even after using dmraid with ya raid on Linux are you able to take that hardware card and drive set to windows and have it just work (meaning the data pops up and all)?


dmraid, image, linux, mdadm, raid, sata, sataraid, silicon, software

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Migrating an existing linux install to new disks/hardware quiffhanger Linux - Software 4 02-24-2006 02:40 PM
Hardware RAID on IDE disks czezz Linux - Hardware 3 08-05-2005 10:22 AM
Disks in h/w RAID not recognized by multiple Linux installers deltwalrus Linux - Hardware 7 07-27-2005 08:35 AM > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 01:12 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration