Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

Linux Raid on Dell PC


  • Please log in to reply
No replies to this topic

#1 jay_m

jay_m

  • Members
  • 1 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Texas
  • Local time:09:41 AM

Posted 02 May 2012 - 07:38 AM

I recently had to recover data from a customers Dell PC which was configured as RAID 0 using Intel Rapid Storage Technology. It took me some time to figure out how to mount the array but through diligent googling (and late nights) I finally figured it out. I used the System Rescue CD and figured out by looking at /proc/partitions that it was trying to mount my raid with some default settings. I had two devices, /dev/md126 /dev/md127 listed in /proc/partitions. Neither would mount with any settings. Reading several forums I realized that I needed to BUILD the array not assemble. Before I could build it I needed to STOP the to erroneous devices. By running the commands:

mdadm --stop /dev/md126
mdadm --stop /dev/md127
they would be removed from /proc/partitions. Then I ran:

mdadm --build /dev/md0 --chunk=128 --level=0 --raid-devices=2 /dev/sda /dev/sdb

this built the existing raid as a level 0, using a strip of 128kb and the two hard drives detected as sda and sdb. Then I could successfully mount the raid using mount /dev/md0 /mnt/windows and copy off my customer's data off.

I posted the full story on my blog

One question if any one can answer, why would the array not "--assemble"? If anyone knows why I had to use the build option over assemble I would be interested in hearing.

Thanks

BC AdBot (Login to Remove)

 





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users