Page 1 of 1

sofware raid capabilities removed in mint 7?

Posted: Fri May 29, 2009 5:38 pm
by n0body_special
in linux mint 6, doing a simple

Code: Select all

cat /proc/mdstat
in the terminal, would reveal the raid support of the kernel.
I tried to setup a software raid when i had linux mint 6 (which i managed to do, in the end). i read many times that if nothing appears after that command, then maybe there is no raid support at all.

After going for a fresh install of mint 7, i tried to create my software raid array again, using mdadm. However a "cat /proc/mdstat" in the terminal reveals :
Personalities :
unused devices: <none>

which means i'm probably out of luck here...

Anyone who has managed to do a software raid array under mint 7?
what is the output of "cat /proc/mdstat" for you?

Re: sofware raid capabilities removed in mint 7?

Posted: Fri May 29, 2009 6:20 pm
by emorrp1
have you seen this thread: http://ubuntuforums.org/showthread.php?t=408461
I have no experience with RAID, but hopefully this helps.

Re: sofware raid capabilities removed in mint 7?

Posted: Fri May 29, 2009 6:51 pm
by n0body_special
i have stumbled upon this guide in the past, but it describes raid creating during the stage of installation. And i doubt it can be followed during the installation of mint...

However,
In another how-to (http://linux-raid.osdl.org/index.php/Linux_Raid) i found the following:
If your system has RAID support, you should have a file called /proc/mdstat. Remember
it, that file is your friend. If you do not have that file, maybe your k ernel does not have
RAID support. See what the contains, by doing a
cat /proc/mdstat
It should tell you that you have the right RAID personality (eg. RAID mode) registered,
and that no RAID devices are currently active. See the /proc/mdstat page for more
details.
This walkthrough takes for granted that there is a /proc/mdstat file and it shows up some personalities. Which used to be the case in mint 6, but not now.

Another walkthrough (http://linux-raid.osdl.org/index.php/Mdstat) says:
Personalities line

The "Personalities" line tells you what RAID level the kernel currently supports. This can be changed by either changing the raid modules or recompiling the kernel. Possible personalities include: [raid0] [raid1] [raid4] [raid5] [raid6] [linear] [multipath] [faulty]
So? Am I to just give up on the idea of raid 1? Or just move back to mint 6? I believe (from what i read) that it's a kernel issue. Is there anything i can do? All help is welcome, or i'll have to move back to mint 6 :(

Re: sofware raid capabilities removed in mint 7?

Posted: Sat May 30, 2009 4:37 am
by n0body_special
just a moment ago, the cat/proc/mdstat command gave me this:

Code: Select all

Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10] 
unused devices: <none>
all of a sudden!

I didnt change anything at all on my computer. Who knows...

Re: sofware raid capabilities removed in mint 7?

Posted: Thu Jun 25, 2009 12:56 pm
by royalsefton
Perhaps indirectly, this thread helped me by pointing to that how-to so I could set up a new software RAID 1 array; thank you! :D

Code: Select all

$ cat /proc/mdstat
Personalities : [raid1] 
md0 : active raid1 sdc1[1] sdb1[0]
      488383936 blocks [2/2] [UU]
      [=>...................]  resync =  9.7% (47498240/488383936) finish=90.1min speed=81496K/sec
      
unused devices: <none>