setting up raid in linux?

nitrobass24

[H]ard|DCer of the Month - December 2009
Joined
Apr 7, 2006
Messages
10,465
I have been running Windows Server 2003 and i had two 400gb sata drives running in a Raid0 stripe configuration. I decided i wanted to change OS to linux, so i installed Ubuntu and it is not recognizing my raid0 stripe.
1. Is there anyway to get linux to recognize my filesystem?
2. If not how do i go about formatting and recreating the raid0 stripe partition in linux.
*** I am not worried ab data loss everything has been backed up
 
look for some documentation on the tool 'mdadm'. It will let you create a software RAID array of drives or partitions.

Alas, you will not be able to see your raid array you created with windows, you will have to format both the drives and start fresh.

sorry I can't give more help, but when I setup my sotware raid-5, i followed the man page for mdadm (type 'man mdadm' into the command line) and it had great examples in it.
 
You can compile NTFS read/write support into the kernel, but I don't know anything in Linux that will let you use a Windows software RAID (you did use a software RAID right? not one of the on board controllers?). If you used an on board controller you might be able to use dmmapper to pick it up.

Otherwise, go with what draconius said. Mdadm is a great tool for Linux software RAID (I also use it).
 
yep, your data is gone...

As was mentioned above, check out mdadm. It is what your looking for.
 
Also, you can't have a stripped (RAID0/5) boot partition using software RAID.
 
Josh_B said:
You're using RAID 0 for a server???
yeah, I saw that too. I can't concieve of a situation where raid0 would be a good idea, let alone for a server.

But different strokes and all that.
 
MorfiusX said:
Also, you can't have a stripped (RAID0/5) boot partition using software RAID.

I've had RAID 5 /boot partitions before... where is this requirement listed?

;)
 
You have to have a single disk with an accessible partition from the BIOS when you are doing software RAID. Depending on the OS, the basic idea is that this is where linux takes care of the pre-loading of the modules that allow your kernel/system to see your software raid and boot off of the rest of it.
 
Josh_B said:
I've had RAID 5 /boot partitions before... where is this requirement listed?

;)
I don't remember the exact site, but I know for a fact striping a /boot partition is not possible using Linux software raid. I tried when I first read it just to make sure. I know it is stated in the Gentoo handbook. You can however use hardware raid on a /boot partition with out problem. You can also use raid 1 (mirroring) on a /boot partition.
 
MorfiusX said:
I don't remember the exact site, but I know for a fact striping a /boot partition is not possible using Linux software raid. I tried when I first read it just to make sure. I know it is stated in the Gentoo handbook. You can however use hardware raid on a /boot partition with out problem. You can also use raid 1 (mirroring) on a /boot partition.

I.ve never had much luck getting the so called "bios raid" working myself.... On the otherhand I have a adaptec raid card that works fine, becouse it hides the raid from the kernel.

Kernel raid on the other hand seems to be faster then both bios raid and hardware raid... It uses more cpu time them hardware raid, and less then bios raid, but it tends to have highr bandwidths, and lower latency in my experience.
 
Back
Top