Software raid fun…. device detection order



Anyone that’s setup software raid on a system with multiple storage adapters has probably run into this kind of issue, but I thought I’d mention it. Last weekend I built a machine to replace my server (the server was to be captured into a VM). The main system was going to be installed onto dual IDE drives, the VM partition and other data on dual 400GB SATA drives. Well, install went well after getting past some of the irq issues I mentioned in a previous writeup. md0 was /boot and so on…. (md0 residing on the dual ide drives.) When the system went to reboot though it didn’t get very far. It complained of not finding a boot image (I think that was the message – didn’t make a note.)


I tried a reboot a couple times just to try and catch any other messages that I was given (make sure the boot options were in there.) Then it dawned on me that I might be having the SATA adapter detected first…. low and behold… the first sata partitions had become md0 and md1, the /boot partition on the ide drives had become md2. I managed to boot into a recovery console and mount the real root and boot partitions and edit /boot/grub/menu.lst to reflect the CORRECT place to look for the root filesystem.

This all happened on Ubuntu 6.06.1 – I understand that the replacement of init that is due in 7.04 (fiesty fawn) should solve some of these kind of “order of detection” problems. After this was corrected and the boot record reloaded everything went swimmingly and booted up with no further issues.

BTW, software raid is working VERY nicely.

Related Posts

Blog Traffic Exchange Related Posts
  • Checking the SMART details of a hard drive with an Ubuntu Boot CD S.M.A.R.T. is a self monitoring and reporting tool built into every modern hard drive. Did you know that you can use an ubuntu linux boot cd to check that smart status and run SMART tests on your drive? This is the same boot cd that you can use to test......
  • Some days you really want to slap someone at Microsoft.... So, I was formatting a drive the other day. It's an external hard drive that will need to be readable AND writable by both Mac and Windows XP machines. So, the only choice (without paying for MacDrive to read/write to HFS+) is really FAT32. The drive is in the 250GB-300GB......
  • Tools of the trade - USB2.0 to IDE & SATA Cable Today is the first chance I"ve had to try out my new usb/ ide adapter "in the field". I have previously used external ide enclosures for either laptop (2.5") or desktop (3.5") drives as well as larger (5.5" cdrom's) But, it was a bit of a nuisance to have to......
Blog Traffic Exchange Related Websites
  • What to Look for in Your Blogging Software There are so many choices for blogging software on the market, that it can be very difficult to choose the right one. Every software choice has its advantages and disadvantages which means that you will have to make some decisions on your needs. This will help you to determine which......
  • Using File Recovery Software on Raw File Systems By using file recovery software, it is usually possible to retrieve deleted and formatted documents quite easily. However, the process becomes more difficult if your files are lost due to the file system reverting back to the raw file system format. In this article, we will detail why file system......
  • Recover Data From Crashed Hard Drive - Four Approaches to Consider There are four principal ways to recover data from crashed hard drive partitions. This article introduces the four ways briefly the highlight the ease with which each method can be completed. The first method involves removing the internal drive and using an external drive case to read the disks contents.......
PDF24    Send article as PDF   

Similar Posts


See what happened this day in history from either BBC Wikipedia
Search:
Keywords:
Amazon Logo

Comments are closed.


Switch to our mobile site