LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-10-2006, 09:49 PM   #1
eyt
Member
 
Registered: Sep 2003
Posts: 76

Rep: Reputation: 15
raid support


Hi,

How do check whether the system had built-in raid support in the kernel or it is loaded as modules.
 
Old 04-10-2006, 10:08 PM   #2
GATTACA
Member
 
Registered: Feb 2002
Location: USA
Distribution: Fedora, CENTOS
Posts: 209

Rep: Reputation: 32
One way would be to go to /usr/src/linux
and type 'make menuconfig' or whatever kernel compile menu you like. Then look to see if the the raid components are built into the kernel. If you seen an 'M' next to the particular support option, then you know it's loaded as a module.
 
Old 04-11-2006, 04:17 PM   #3
eyt
Member
 
Registered: Sep 2003
Posts: 76

Original Poster
Rep: Reputation: 15
There is no /usr/src/linux directory

# ls /usr/src
RPM/


when I type 'make menuconfig', it gives the message below:
# make menuconfig
make: *** No rule to make target `menuconfig'. Stop.
 
Old 04-11-2006, 08:38 PM   #4
GATTACA
Member
 
Registered: Feb 2002
Location: USA
Distribution: Fedora, CENTOS
Posts: 209

Rep: Reputation: 32
What distribution are you using?

It looks like you don't have the kernel source files installed. That's why /usr/src/linux doesn't exist and why make menuconfig doesn't work.

You'd need to install the kernel source code to do the steps I described in the previous post.

BTW why do you want to know if it's compiled as a module or not?
 
Old 04-11-2006, 09:12 PM   #5
demian
Member
 
Registered: Apr 2001
Location: Bremen, Germany
Distribution: Debian
Posts: 303

Rep: Reputation: 30
You don't need the kernel sources to check if your current kernel supports raid.

What sort of raid support do you mean? Software raid or support for a particular raid card? The softraid modules are called md-mod raid0, raid1, raid5,... just try modprobing them. For raid controller support you'd need to know the module name that supports the particular card you need. Many distros place the kernel config in /boot under the name of config.<kernel version> You can look through there to see if support is compiled in should the modprobe fail. Or else you might find the kernel config under /proc/config.gz
 
Old 04-16-2006, 08:38 PM   #6
eyt
Member
 
Registered: Sep 2003
Posts: 76

Original Poster
Rep: Reputation: 15
I am using Mandrake 10.1 . I want to set up software RAID 1 and it is better to have RAID support built in the kernel.

From the config-2.6.8.1-12mdk, it indicated that my system with RAID support loaded as module and not built in kernel. I need to recompile the kernel to have RAID support

> cat /boot/config-2.6.8.1-12mdk


#
# Multi-device support (RAID and LVM)
#
CONFIG_MD=y
CONFIG_BLK_DEV_MD=y
CONFIG_MD_LINEAR=m
CONFIG_MD_RAID0=m
CONFIG_MD_RAID1=m
CONFIG_MD_RAID5=m
CONFIG_MD_RAID6=m
CONFIG_MD_MULTIPATH=m
CONFIG_BLK_DEV_DM=m
CONFIG_DM_CRYPT=m
CONFIG_DM_SNAPSHOT=m
CONFIG_DM_MIRROR=m
CONFIG_DM_ZERO=m
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with raid support on my laptop quarkimedes Linux - Laptop and Netbook 1 04-29-2005 05:53 AM
raid support help quarkimedes Linux - Hardware 1 04-26-2005 02:16 PM
SATA RAID Support omega71122 Linux - Hardware 9 03-22-2005 12:05 PM
does linux support the sata raid and ide raid in k7n2 delta ilsr? spyghost Linux - Hardware 10 04-16-2004 05:27 AM
Mirror Raid support? Mediocre_Driver Linux - Hardware 1 01-20-2004 08:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:31 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration