dmraid for administering fakeraids

fakeraid is used when you have a wannabe-hardware-raidcontroller that still needs load of software to do its raid !!

commanddescription
dmraid -l list all supported raidcontrollers
dmraid -r list all existing raids and get the /dev of your raid(s)
dmraid -ay activate all existing raids
dmraid -an deactivate all existing raids that are not mounted/busy
dmraid -rE erase metadata on all raids. Note that you have to deactivate first and maybe run this a few times. And you’ll loose all your data of course. But on my board this effectively freed the disks from the bios-raid-controller-bonds and after a reboot the disks were accessible again as non-raid single disks

Note that these fakeraids dont get a short devicename like sda or md0 or something. When running dmraid you get the “long-name” like isw_cihbfgdiag and can access the devices under /dev/mapper/longname.

example:

fdisk -l /dev/mapper/isw_cihbfgdiag_guest



For further reference including how to boot from such a raiddevice with ubuntu see:

https://help.ubuntu.com/community/FakeRaidHowto

 
knowwiki/basics/dmraid_basics.txt · Last modified: 2008/06/18 23:58 by peter