LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-27-2009, 09:53 AM   #1
Gortex
Member
 
Registered: Nov 2005
Location: Enid Ok
Distribution: ubuntu 64 , debian , fedora core , vista ultimate 64, Winows 7 64 ultimate :p
Posts: 219

Rep: Reputation: 30
ubuntu 9.04 & mdadm


I am not for sure where to post this, so if its in the wrong spot I am sorry.

If you are having issues with mdadm after you upgraded to ubuntu 9.04, this might help.

First off, the config file for mdadm got relocated with the distrubution upgrade. The installer does not automatically move your old config file to the new location. The old location is /etc/mdadm.conf the new location is /etc/mdadm/mdadm.conf

second, If you keep receiving a resource busy error try this (no data loss):

sudo apt-get remove mdadm

restart the computer

apt-get install mdadm

then just re assemble the raid. Example: mdadm --assemble /dev/md0 /dev/sdb1 /dev/sda1

now to make sure this continues to work after a reboot:

mdadm -Es | grep md0 >>/etc/mdadm/mdadm.conf


Hope this helps some one.
 
Old 05-07-2009, 10:24 AM   #2
shino@panix.com
LQ Newbie
 
Registered: Mar 2006
Posts: 1

Rep: Reputation: 0
I just ran into the Ubuntu 9.04 Jaunty mdadm problem last night. I did an online upgrade from 8.10, on which I had a raid1 array for the /home filesystem. The boot would stop in the middle and drop the console into a shell, complaining about mounts with /dev/md1 and other raid filesystems. There were no raid devices at all, /dev/md1, /dev/md2 etc. There were odd files named /dev/md_d1 (as I recall from memory). I noticed that there was a new file /etc/mdadm/mdadm.conf as well as the /etc/mdadm.conf which i was familiar with. I concatenated my old /etc/mdadm.conf with the new /etc/mdadm/mdadm.conf (which comments but no entries).

cat /etc/mdadm.conf >> /etc/mdadm/mdadm.conf

Then I ^D-ed out of the maintenance shell, and the boot continued successfully.

It's very odd that they moved the location of mdadm.conf from /etc to /etc/mdadm and did not migrate the entries.
 
  


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
Software raid & mdadm Braveheart1980 Linux - Software 3 01-04-2009 10:58 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
mdadm Raid 5 hang in Fedora 8 / Ubuntu 7.10 elhaym45622 Linux - Hardware 2 12-29-2007 11:54 AM
setting up smartd & mdadm orpheon Slackware 7 07-01-2007 11:07 PM
mdadm.conf and RAID 1 on Ubuntu jcorrea920 Linux - Software 11 07-06-2006 03:14 PM

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

All times are GMT -5. The time now is 11:46 PM.

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