Author Topic: RAID in 12.04  (Read 3481 times)

bherbie

  • Veteran
  • ***
  • Posts: 54
    • View Profile
RAID in 12.04
« 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.

Code: [Select]
@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

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 3675
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: RAID in 12.04
« Reply #1 on: January 14, 2015, 02:44:34 pm »
It does not show any MD device. Does mdadm run?

bherbie

  • Veteran
  • ***
  • Posts: 54
    • View Profile
Re: RAID in 12.04
« Reply #2 on: January 14, 2015, 03:30:18 pm »
Thank you for the reply!

Quote
It does not show any MD device. Does mdadm run?

Code: [Select]
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

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 3675
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: RAID in 12.04
« Reply #3 on: January 14, 2015, 05:26:19 pm »
is the raid setup using mdadm, or is the raid setup using the fakeraid of intel?

bherbie

  • Veteran
  • ***
  • Posts: 54
    • View Profile
Re: RAID in 12.04
« Reply #4 on: January 14, 2015, 06:22:46 pm »
Quote
is 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

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 3675
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: RAID in 12.04
« Reply #5 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.

bherbie

  • Veteran
  • ***
  • Posts: 54
    • View Profile
Re: RAID in 12.04
« Reply #6 on: January 14, 2015, 10:00:02 pm »
Quote
and 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

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 3675
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: RAID in 12.04
« Reply #7 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.

phenigma

  • LinuxMCE God
  • ****
  • Posts: 1758
    • View Profile
Re: RAID in 12.04
« Reply #8 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.