LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 04-12-2012, 03:42 AM   #1
neelsuman
LQ Newbie
 
Registered: Apr 2012
Posts: 3

Rep: Reputation: Disabled
Post Installing Mdadm in fedora 16 project


I got linux source code mdadm-3.2.3. I have installed it in my fedora 14 using command make & make install. But after this i dont know how to use it. Actually i want to use this source code as a part of my project,for this have to execute mdadm using those source codes. Please help me.
email.suman.roy@gmail.com

Last edited by neelsuman; 04-12-2012 at 04:01 AM.
 
Old 04-12-2012, 08:29 PM   #2
jimtony
Member
 
Registered: Jan 2011
Location: Shanghai,China
Distribution: fedora
Posts: 73
Blog Entries: 1

Rep: Reputation: 2
Read the README or some files.Find the binary files generated by "make".
 
Old 04-12-2012, 09:39 PM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,627

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
fedora 14 ? or fedora 16 ?
what is it ?
Fedora 14 is past it's end of life
so if this is 14 then first install fedora 16
and from where did you get the source for " mdadm-3.2.3 "

mdadm-3.2.2-13.fc16.x86_64.rpm
is already part of fedora 16

and the source for it IS in the fedora source repo
so there is no need to rebuild something that is installed ( or can be installed from yum )
 
1 members found this post helpful.
Old 04-13-2012, 04:53 AM   #4
neelsuman
LQ Newbie
 
Registered: Apr 2012
Posts: 3

Original Poster
Rep: Reputation: Disabled
I have installed it by using make and make install command.It is installed(have checked it)and am using fedora16. I don't know how create raid array for raid6 and raid 5. I have followed a link http://djlab.com/2012/02/mdadm-cheat-sheet/
but the output is coming like that
mdadm --create --verbose /dev/md0 --level=1 /dev/sda1 /dev/sdb2
mdadm: no raid-devices specified.
 
Old 04-13-2012, 05:24 AM   #5
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,627

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
unless you MUST HAVE and MUST USE "mdadm-3.2.3" the 3.2.3
it IS ADVISABLE to use what is in the fedora 16 repo

that is "mdadm-3.2.2-13.fc16"

uninstall the source build one
Code:
make uninstall
and use yum
Code:
su -
yum install mdadm
if it was already installed before you overwrote it with a different version you will get a " already installed - nothing to do " ERROR

then use the reinstall option for yum
see the help and man page
Code:
yum --help
---- and then this  ---
man yum
then for the source just install the


Quote:
Actually i want to use this source code as a part of my project,for this have to execute mdadm using those source codes. Please help me.
you want to use the code in the source to BUILD and make some unknown project ( new program ? ) but you do not know how to use it ????
--- or what - this bit us very confusing ------
Quote:
this have to execute mdadm using those source codes.
WHAT ???????


then install the devel package
from a search
Code:
su -
yum search mdadm
you should see it
Code:
yum install mdadm-devel
 
Old 04-13-2012, 06:09 AM   #6
neelsuman
LQ Newbie
 
Registered: Apr 2012
Posts: 3

Original Poster
Rep: Reputation: Disabled
Reply

Actually I have to make a project on RAId 5 implementation. I did it using c# ,it jst working on raid5 architecture.It is not accessing the hard disk.Actually I want to do it in some better way.I dont know how step forward for this. So please give me some suggeastion. There is no simulator also for raid. Any help please. Thank you.
 
Old 04-13-2012, 03:03 PM   #7
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,627

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
c-sharp might be a very big problem
you will need " mono " and it is about 5 versions behind the Microsoft " .net framework "
you might want to port ALL the code to the standard c++ first
 
  


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
[SOLVED] Attempts to work around a mdadm bug/ mdadm cannot get exclusive access to /dev/md127 Sereph Linux - Newbie 1 08-16-2011 03:21 AM
MDADM screws up the LVM partitions? Can't mount the LVMs after mdadm stopped alirezan1 Linux - Newbie 3 11-18-2008 04:42 PM
[Fedora 9]mdadm + faulty spare setkos Linux - Newbie 0 10-30-2008 09:17 AM
Failed Dependency installing mdadm blackdragonblood Linux - Software 3 02-03-2006 07:22 PM
Installing The Fedora Project phoenix_wolf Linux - Software 6 06-15-2004 10:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 06:19 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