LinuxMCE Forums

General => Users => Topic started by: bherbie on January 14, 2015, 02:41:35 AM

Title: RAID in 12.04
Post by: bherbie on January 14, 2015, 02:41:35 AM
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

Title: Re: RAID in 12.04
Post by: Marie.O on January 14, 2015, 02:44:34 PM
It does not show any MD device. Does mdadm run?
Title: Re: RAID in 12.04
Post by: bherbie on January 14, 2015, 03:30:18 PM
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
Title: Re: RAID in 12.04
Post by: Marie.O on January 14, 2015, 05:26:19 PM
is the raid setup using mdadm, or is the raid setup using the fakeraid of intel?
Title: Re: RAID in 12.04
Post by: bherbie on January 14, 2015, 06:22:46 PM
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
Title: Re: RAID in 12.04
Post by: Marie.O on January 14, 2015, 06:54:42 PM
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.
Title: Re: RAID in 12.04
Post by: bherbie on January 14, 2015, 10:00:02 PM
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
Title: Re: RAID in 12.04
Post by: Marie.O on January 14, 2015, 10:52:57 PM
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.
Title: Re: RAID in 12.04
Post by: phenigma on January 16, 2015, 11:33:21 PM
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.