Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 11-14-2007, 12:32 PM   #1
Registered: Feb 2007
Posts: 386

Rep: Reputation: 30
remount RAID drive after reboot with mdadm

i use mdadm --create md0 option raid0, for my sdb1 and sdc1
then format the md0 and succesfully mount it to /mnt/myraid

For some reason, after booting the machine, my md0 is gone.
I have to use the "mdadm --assemble" and able to mount /dev/md0 again succesfully.

I am using the loadable raid card driver module that get called in the rc.sysinit. I did not add the driver to the kernel yet since I don't know how to do it at the moment.

Does anyone know how to avoid remounting md0 everytime I boot the machine? I try putting the mdadm --assemble cmd in the rc.sysinit, but it did not work.
Old 11-15-2007, 09:13 PM   #2
Registered: Nov 2006
Location: Seattle, WA
Distribution: Fedora
Posts: 407

Rep: Reputation: 35
As it happens, I was just in that spot today. The rc.sysinit on my machine doesn't actually call mdadm unless the file /etc/mdadm.conf exists. Even if it does exist, unless it has the RAID set definition in it, mdadm will refuse to do anything you care about.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Why can't I mount this md0 raid? (mdadm and software raid) cruiserparts Linux - Software 35 01-05-2013 04:35 PM
perm mount LAN ntfs share, have to remount on reboot daTerminehtor Linux - Newbie 8 07-12-2007 04:30 AM
Can I remount '/' partition without a reboot? benr77 Linux - General 8 08-22-2006 02:26 AM
Remounting raid (sda1) drive on reboot spammy163 Linux - Newbie 2 04-29-2006 02:58 PM
Can't remount USB device unless I reboot servnov Linux - Newbie 5 10-29-2005 02:11 PM > Forums > Linux Forums > Linux - Software

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration