Fedora Linux Support Community & Resources Center
  #1  
Old 21st February 2009, 03:43 PM
kenned3 Offline
Registered User
 
Join Date: Apr 2008
Posts: 6
Fedora 8 to fedora 10 upgrade MDADM problems

The other day i booted the F10 DVD and upgraded an existing 64 Bit fedora 8 installation.

after the reboot i fixed the NVIDIA drivers (expected) and tried to fix the MDADM problems (somewhat expected).

Here is the issue:
Every time i reboot the machine, the array randomly fails drives. Sometimes if fails 3 and refuses to start, other times it fails 1 and starts.

i can fix this by :

mdadm --stop /dev/md_d0
mdadm --stop /dev/md0
mdadm --create /dev/md0 --assume-clean --level=5 --raid-devices=5 /dev/sdb1 /dev/sdc1 /dev/sdd1 /dev/sde1 /dev/sdf1

vgscan
vgchange -ay

mount /dev/mapper/lvm--raid-multimedia /Multimedia/

Here is what i think the probem is.
sometimes it decides that one (or more) of the disks belongs to another raid unit with the same name.

IE, of the 5 drives, it says that 3 belong to "lvm-raid" while the other 2 belong to "lvm-raid" as well.

The missing drive which belongs in MD0 is what is in md_d0

Any thoughts?
Reply With Quote
  #2  
Old 21st February 2009, 11:09 PM
jvillain Offline
Registered User
 
Join Date: Aug 2008
Posts: 226
I just finished upgrading from FC9 to all the latest and greatest rawhide packages and got a similar problem. When booting it kept cratering when the volume manager tried to mount a logical volume located on a software raid 5 device. After I removed the partition from my fstab and rebooted I was able to determine that my raid 5 device was being created a /dev/md127 rather than /dev/md0. After stopping md127 and manually recreating it as md0 I could then mount my logical partition.

Doing some searching it seems that the initrd may be at fault. One post I read indicated that if your / partition can't be read for some reason then md will not be able to see /etc/mdadm.conf and read the proper device id out of it. That doesn't seem likely in my case as I can boot off of /.

I have also read some other stuff indication that your mdadm.conf should be in your initrd. Mine most certainly is not. You can check yours

mkdir junk
cd junk
zcat /boot/initrd-<version>.img | cpio -i *
ls etc


Then also check
cat init

And see if there are any references to your raid device in there. Again I don't have any. I tried doing a mkinitrd on my working system to see if that would help and it didn't. So there could be an issue with mkinitrd. It looks like the people using dmraid are having issues with mkinitrd. You can look at

https://bugzilla.redhat.com/show_bug.cgi?id=476818

for more info on that. It may also give you some clues of where to look for clues.

I am sorry I don't have a better answer for you.
Reply With Quote
  #3  
Old 22nd February 2009, 01:30 PM
kenned3 Offline
Registered User
 
Join Date: Apr 2008
Posts: 6
I too tried to build a new initrd, without success (same problem with the array).

One would assume (perhaps incorrectly) that mdadm would have been tested with F10, and the upgrade should have "just worked"?

be nice to get this fixed as its somewhat annoying having to restart it manually ever reboot.
Reply With Quote
  #4  
Old 22nd February 2009, 05:03 PM
jvillain Offline
Registered User
 
Join Date: Aug 2008
Posts: 226
Have you opened a bug report? If not then I will.
Reply With Quote
Reply

Tags
fedora, mdadm, problems, upgrade

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
Fedora 9 will not boot (mdadm/RAID problems, cannot find "/dev/md0", etc.) northwind Installation, Upgrades and Live Media 1 10th July 2009 06:10 PM
mdadm fails after reboot Fedora 10 VC_boyo Using Fedora 1 22nd April 2009 09:06 PM
Fedora 9 Problems after upgrade from Fecora 8 cosimo_piovasco Installation, Upgrades and Live Media 2 26th May 2008 01:02 PM
Reassemble Raid 5 under Fedora 7 and mdadm gofamon Using Fedora 1 15th July 2007 02:04 AM
mdadm error on Fedora Core 3 andy Using Fedora 3 27th February 2006 07:37 PM


Current GMT-time: 07:30 (Saturday, 23-08-2014)

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