It is currently Sat May 18, 2013 11:32 am

All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Fix: zenwalk 7.0 “md0” show up as “md122” (sw, raid, mdadm)
PostPosted: Wed Jun 29, 2011 2:50 pm 
Regular Zenwalker
Regular Zenwalker

Joined: Thu Feb 10, 2011 1:30 pm
Posts: 10
Hi Everyone,

Here is a fix I found on the internet for a problem I was having with mdadm.

Problem:
When installing Zenwalk 7.0 with sw (mdadm v3.1.4) raid (raid 1 and 0 in my case) my md(x) device show up as md(xxx).

example,
you create a raid device using mdadm (raid1, 2x hdd, sda1+sdb1)

# mdadm --create /dev/md0 --level=1 –raid-devices=2 /dev/sda1 /dev/sdb1

when I check or reboot my pc, raid device “md0” show up as “md125” last digit seem to change from reboot to reboot, because of this I cannot mount this device with “fstab” I also had problems with “lilo” because of this.

Solution:
I found this fix on internet …....
https://bugzilla.novell.com/show_bug.cgi?id=638532#c1

Stop your raid device(s) and assemble them with “--update=super-minor”

#mdadm -S /dev/md125
#mdadm -A /dev/md0 --update=super-minor
According to author/developer this is a bug in mdadm v3.1.4 apparently it has been fix in v3.1.5 .
http://neil.brown.name/blog/mdadm

Conclusion:
Above solution works for raid 1 and 0 (I don't have level 5)

hope this is helpful.....


Pat.


 Profile Send private message  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC


 Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: