FakeRAID on ubuntu using dmraid – Part3

Continued from FakeRAID on ubuntu using dmraid – Part2

As mentioned in the previous post, I first searched for some windows based application which can be used to rebuild/sync the RAID-SET. Found AMD RAIDXpert.

After installation, I was able to access the RAIDXpert Management Console by going to https://localhost:8443/amd/screen.jsp in the browser window.

As soon as I logged into the Management Console using default admin/admin, I first changed the password(although this machine is sitting behind NAT) and then went to the Logical Drive View >> Logical Drive 1 >> Synchronization Tab and selected ‘Redundancy Check’ from the drop down box:

but it gave me the following error:

RAIDXpert_redundancy_check_rejected

I tried to look for some other options and found that ‘Rebuild’, ‘Initialization’ and ‘Activate’ buttons were faded: (Possibly, this only works if the RAID-SET has been created using this tool – didn’t care to read the manual at least for now..)

Continue reading “FakeRAID on ubuntu using dmraid – Part3”

FakeRAID on ubuntu using dmraid – Part2

Continued from FakeRAID on ubuntu using dmraid

This FakeRAID setup seems to be reliable in theory but I’m still working on scenario where I can actually test how things will work if any of my HDD fails. Adding another HDD will allow me to rebuild(at least that’s what’s written in the MB manual) the RAID-SET but trying to do the same using dmraid resulted in the following

$sudo dmraid -S -M /dev/sdb
ERROR: format handler string is NULL
ERROR: unknown format type: (null)
ERROR: metadata_handler() is not supported in "pdc" format

Promise FastTrack format is not supported by dmraid. Not sure if ISW(Intel Software RAID) is supported by the RAID Controller(AMD SB850 controller) on my board but if it is then I need to recreate the RAID-SET with ISW so that I can rebuild the RAID-SET using dmraid.

Continue reading “FakeRAID on ubuntu using dmraid – Part2”

FakeRAID on ubuntu using dmraid

Setup:
RAID1 with two – 1TB Caviar Black disks. Configured the RAID SET from the RAID MENU, installed RAID drivers in Windows. On booting Ubuntu, disks are not being recognized.
Mainboad: M4A88TD-V EVO/USB3

Install dmraid to detect the FakeRaid

$sudo apt-get -y install dmraid

Checking for the module 

$sudo lsmod | grep raid
dm_raid45              75532  0
xor                     4685  1 dm_raid45

Ensure to select the following during RAID SET creation in the BIOS menu.

"Gigabyte boundary" to "NO" and "Fast Init" to "NO" 

Activated the raid

$sudo dmraid -ay
RAID set "pdc_gdiiehcgj" was activated
$ sudo dmraid -tay
pdc_gdiiehcgj: 0 1953394048 mirror core 2 131072 nosync 2 /dev/sdb 0 /dev/sdc 0 1 handle_errors

List all discovered RAID devices

$sudo dmraid -r
/dev/sdc: pdc, "pdc_gdiiehcgj", mirror, ok, 1953394048 sectors, data@ 0
/dev/sdb: pdc, "pdc_gdiiehcgj", mirror, ok, 1953394048 sectors, data@ 0

Display properties of RAID sets

$sudo dmraid -s
*** Active Set
name   : pdc_gdiiehcgj
size   : 1953394048
stride : 128
type   : mirror
status : ok
subsets: 0
devs   : 2
spares : 0

Continue reading “FakeRAID on ubuntu using dmraid”