Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 1st December 2004, 02:20 PM
andy Offline
Registered User
 
Join Date: Nov 2004
Posts: 11
mdadm error on Fedora Core 3

Hi ,

I am testing on the steps on configuring the s/w raid on my local desktop which have 2 IDE 40GB plug-in with FC3 kernel 2.6.9-1.681_FC3. I downloaded the raidtools and mdadm and when I try to compile the mdadm and raidtools, I am getting the following errors :

[root@tech1 mdadm-1.8.1]# make
gcc -Wall -Werror -Wstrict-prototypes -DCONFFILE=\"/etc/mdadm.conf\" -ggdb -DSendmail=\""/usr/sbin/sendmail -t"\" -c -o super1.o super1.c
In file included from super1.c:32:
/usr/include/asm/byteorder.h:6:2: #warning using private kernel header; include <endian.h> instead!
make: *** [super1.o] Error 1

[root@tech1 mdadm-1.8.1]# make install
gcc -Wall -Werror -Wstrict-prototypes -DCONFFILE=\"/etc/mdadm.conf\" -ggdb -DSendmail=\""/usr/sbin/sendmail -t"\" -c -o super1.o super1.c
In file included from super1.c:32:
/usr/include/asm/byteorder.h:6:2: #warning using private kernel header; include <endian.h> instead!
make: *** [super1.o] Error 1


[root@tech1 raidtools-1.00.3]# make
gcc -O2 -Wall -DMD_VERSION=\""raidtools-1.00.3"\" -c -o raidstart.o raidstart.c
gcc -O2 -Wall -DMD_VERSION=\""raidtools-1.00.3"\" -c -o parser.o parser.c
gcc -O2 -Wall -DMD_VERSION=\""raidtools-1.00.3"\" -c -o raidlib.o raidlib.c
gcc -O2 -Wall -DMD_VERSION=\""raidtools-1.00.3"\" -c -o version.o version.c
gcc -O2 -Wall -DMD_VERSION=\""raidtools-1.00.3"\" -c -o raid_io.o raid_io.c
gcc -O2 -Wall -DMD_VERSION=\""raidtools-1.00.3"\" -c -o scsi.o scsi.c
gcc -O2 -Wall -DMD_VERSION=\""raidtools-1.00.3"\" -c -o reconfiguration.o reconfiguration.c
gcc -O2 -Wall -DMD_VERSION=\""raidtools-1.00.3"\" -c -o rrc_common.o rrc_common.c
gcc -O2 -Wall -DMD_VERSION=\""raidtools-1.00.3"\" -c -o rrc_raid0.o rrc_raid0.c
gcc -O2 -Wall -DMD_VERSION=\""raidtools-1.00.3"\" -c -o rrc_raid5.o rrc_raid5.c
gcc -O2 -Wall -DMD_VERSION=\""raidtools-1.00.3"\" -c -o rrc_single.o rrc_single.c
gcc -O2 -Wall -DMD_VERSION=\""raidtools-1.00.3"\" -c -o mkraid.o mkraid.c
gcc -O2 -Wall -DMD_VERSION=\""raidtools-1.00.3"\" -c -o detect_multipath.o detect_multipath.c
gcc -O2 -Wall -DMD_VERSION=\""raidtools-1.00.3"\" -c -o raidreconf.o raidreconf.c
gcc -O2 -Wall -DMD_VERSION=\""raidtools-1.00.3"\" -c -o arytst.o arytst.c
mkraid.c: In function `main':
mkraid.c:174: error: missing terminating " character
mkraid.c:175: error: `WARNING' undeclared (first use in this function)
mkraid.c:175: error: (Each undeclared identifier is reported only once
mkraid.c:175: error: for each function it appears in.)
mkraid.c:175: error: syntax error before '!' token
mkraid.c:178: error: missing terminating ' character
mkraid.c:184: error: missing terminating ' character
mkraid.c:193: error: missing terminating ' character
mkraid.c:199: error: missing terminating " character
make: *** [mkraid.o] Error 1
make: *** Waiting for unfinished jobs....

Have some one get this error before ?

Thanks,
__________________
Regards,

Andy

"If you know yourself but not the enemy, for every victory gained, you will also suffer a defeat." ~ Sun Tzu, 'Art of War'
Reply With Quote
  #2  
Old 1st December 2004, 09:55 PM
Jman Offline
Registered User
 
Join Date: Mar 2004
Location: Minnesota, USA
Age: 27
Posts: 7,909
Perhaps install the i386 rpm from here.
Reply With Quote
  #3  
Old 6th December 2004, 08:35 AM
andy Offline
Registered User
 
Join Date: Nov 2004
Posts: 11
Thanks.The mdadm is installed but was receiving the following error when try to build up the array raid :

mdadm : SET_ARRAY_INFO failed for /dev/md0: Device or resource busy.

The server is initially setup with only 1 IDE device. Recently I just hooked up the 2nd IDE device ( the same brand and same capacity ) after plan to try out the s/w raid but have been no luck in configuring it. I have also read on the howto on http://www.faqs.org/docs/Linux-HOWT...RAID-HOWTO.html but still no luck .

Can some one help me on this ? What I am trying to do is to mirror the whole hardisk 1 to the second hardisk to create redundant so I can boot up using the second hardisk incase the 1st hdd fail.

Thanks,
__________________
Regards,

Andy

"If you know yourself but not the enemy, for every victory gained, you will also suffer a defeat." ~ Sun Tzu, 'Art of War'
Reply With Quote
  #4  
Old 27th February 2006, 07:37 PM
nightcrawler Offline
Registered User
 
Join Date: Feb 2005
Posts: 103
You can not turn the drives to raid 1 while booted on one of the drives. The easy way is to reinstall your OS and create raid 1 device from the start.

It's possible to convert your install to raid from using the disk 1 of your install CD boot to linux rescue, but this better left for experts.
Reply With Quote
Reply

Tags
core, error, fedora, mdadm

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
mdadm fails after reboot Fedora 10 VC_boyo Using Fedora 1 22nd April 2009 09:06 PM
Fedora 8 to fedora 10 upgrade MDADM problems kenned3 Using Fedora 3 22nd February 2009 05:03 PM
Reassemble Raid 5 under Fedora 7 and mdadm gofamon Using Fedora 1 15th July 2007 02:04 AM
Fatal IO error 104 (Connection Reset By peer) on - Fedora Core 2 - Installation Error PS_ Installation and Live Media 1 13th December 2004 09:35 PM


Current GMT-time: 18:57 (Friday, 24-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat