News:

Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com

Main Menu

RAID in 12.04

Started by bherbie, January 14, 2015, 02:41:35 AM

Previous topic - Next topic

bherbie

I have been playing around with 14.04 and 12.04 builds and this project sure has come a long way!  I have a 10.04 system in which I utilize an SSD as my main drive and then a RAID 5 setup to store media and in previous versions this works fine when upgrading - just use the SSD as the install drive and then LMCE detects the RAID and my media is right where I left it. 

Now before installing the newer versions I remember reading a post that 12.04 does not detect RAID and of course it does not (I looked for the post again before writing this one and of course, cannot seem to locate it).  Installing 14.04 it did detect the RAID and appears ok - so my question is - can someone point me in the direction to get RAID detection working in 12.04 as 14.04 has dependency issues that are out of my league to correct.

@dcerouter:~$  cat /proc/mdstat
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
unused devices: <none>


Does this not mean the raid is present?

any suggestions would be appreciated!

-herb


Marie.O

It does not show any MD device. Does mdadm run?
If I helped you, feel free to buy me a coffee: [url="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES"]https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES[/url]

bherbie

Thank you for the reply!

QuoteIt does not show any MD device. Does mdadm run?

mdadm: no raid-devices specified.

Its an intel motherboard using fake RAID if that matters.  If I try to create the raid using mdadm, I receive the same error.

-herb

Marie.O

is the raid setup using mdadm, or is the raid setup using the fakeraid of intel?
If I helped you, feel free to buy me a coffee: [url="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES"]https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES[/url]

bherbie

Quoteis the raid setup using mdadm, or is the raid setup using the fakeraid of intel?

Using the fake RAID.  It works in other versions of LMCE and that way I don't lose media when upgrading.

-herb

Marie.O

If you are using the controllers (fake)raid, mdstat is of no use, and from LinuxMCE's point of view, you have a single big disk.
If I helped you, feel free to buy me a coffee: [url="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES"]https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES[/url]

bherbie

Quoteand from LinuxMCE's point of view, you have a single big disk.

Correct - except for 12.04 does not show the disk at all.  10.04 and 14.04 both show the disk as 1 big drive which is fine but it does not appear in 12.04...

-herb

Marie.O

Check what module is needed for that controller, and if maybe that specific controller has a known issue with a specific kernel version used by 1204. Maybe you need to add some specific startup parameters on the kernel load line.
If I helped you, feel free to buy me a coffee: [url="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES"]https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES[/url]

phenigma

As posde said, I'd look to a kernel module.  We don't do anything differently from 1004/1204/1404 with disk detection.  And check /dev/disk/by-id/... to see if it shows there at all.

J.
My setup: [url="http://wiki.linuxmce.org/index.php/User:Phenigma"]http://wiki.linuxmce.org/index.php/User:Phenigma[/url]