Results 1 to 3 of 3

Thread: fake hardware raid5

  1. #1
    Junior Member
    Join Date
    Oct 2011
    Posts
    3

    fake hardware raid5

    Hello,

    I am trying to mount an existing windows partition with knoppix. The purpose is to make a dump of the windows installation.
    There is an Intel 82801 SATA RAID Controller (rev 05) in the system. There are 4 HDs. 3 are arranged as an RAID5 and one is spare. I use knoppix 6.7.1 CD (german).

    dmraid -b shows all 4 HDs.
    When I try "dmraid -ay" I get 3 errors:
    Code:
    ERROR: spare set "isw_diffiigjfb_/dev/sdd" cannot be activated
    ERROR: no mapping possible for RAID set isw_diffiigjfb_/dev/sdd
    ERROR: device-mapper target type "raid45" is not in the kernel
    RAID set "isw_gcdfjaffh_Volume0" was not activated
    The first two belong to the spare device as sdd is the spare device (compared serial numbers in BIOS config and dmraid -b). The third one produces a lot of google-hits and seems to be a well known version/naming issue between dmraid a kernel. But I did not get any Information on how to fix/ work around it.
    There is a kernel module called raid456.ko and it is loaded according to lsmod.

  2. #2
    Junior Member
    Join Date
    Nov 2011
    Posts
    1
    I have two solutions for your issues:

    1. You need to be running dmraid version >= 1.0.0-rc16 if you're running kernel >2.6.36. To determine you dmraid version just use
    Code:
    dmraid -v
    .
    2. If you already have dmraid version >= 1.0.0-rc16 then you need a kernel module for dm-raid45. The kernel module that comes out as raid45.ko is actually an unrelated module for mdraid (linux software fakeraid as opposed to firmware assisted windows compatible software fakeraid which is what dmraid is). You might also notice the device mapper raid456 module, this will eventually be what you want, but as of yet there is no support for it in the userspace tool, so you can't use it (even though it's in the main kernel :P). What you need is the dm-raid45 kernel module. I'm maintaining a patchset at http://code.google.com/p/dmraid-patches/ . You would of course have to compile the kernel yourself. One solution would be to get the kernel source of the version you're running, patch it, make dm-raid45.ko as a module and just throw the rest away. I'm not familiar with building the kernel on knoppix, so best of luck .

  3. #3
    Junior Member
    Join Date
    Oct 2011
    Posts
    3
    Thank you for your answer.
    There was a lot of work for me in the meantime. The PC is now at customer site. Thus, my abilities to experiment with patched kernels in knoppix are very limited.
    The basic message is that I need to learn more about the difference between software mdraid and BIOS-supported-fake-hardware-but-in-the-end-also-software dmraid. Anyway the whole dmraid stuff seems a little unfinished/ awkward to me.

    One general question remains. Is this way of retrieving and putting back images really a gain in failure safty compared to the BIOS-supported-fake-hardware-but-in-the-end-also-software RAID5 with hot spare? At the moment I cannot confidently make this statement to a customer.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Dell PowerEdge R710 2.5

Dell PowerEdge R710 2.5" 2U Server 2x X5670 2.93GHZ 12-Core 128gb 2x 1TB SAS

$214.99



Dell PowerEdge R620 Server 2x E5-2660 v2 2.2GHz 20 Cores 256GB RAM 1x 480GB SSD picture

Dell PowerEdge R620 Server 2x E5-2660 v2 2.2GHz 20 Cores 256GB RAM 1x 480GB SSD

$144.99



R630 DELL 8 x 2.5'' POWEREDGE 2X E5-2680V4 32GB RAM IDRAC ENT & NDC 2X 495W PSU picture

R630 DELL 8 x 2.5'' POWEREDGE 2X E5-2680V4 32GB RAM IDRAC ENT & NDC 2X 495W PSU

$169.95



CTO Dell PowerEdge R630 Server, 2x Xeon E5-2620V4, 64GB- 512GB RAM, 480GB SSDs picture

CTO Dell PowerEdge R630 Server, 2x Xeon E5-2620V4, 64GB- 512GB RAM, 480GB SSDs

$313.33



DELL POWEREDGE R730XD RACK SERVER E5-2643V3 picture

DELL POWEREDGE R730XD RACK SERVER E5-2643V3

$334.99



Dell PowerEdge R630 Server 2.5” 2x E5-2650 V4 = 24 Cores 2.2GHz 32GB DDR4 iDRAC8 picture

Dell PowerEdge R630 Server 2.5” 2x E5-2650 V4 = 24 Cores 2.2GHz 32GB DDR4 iDRAC8

$240.00



Dell PowerEdge R730xd Server 2x E5-2690v4 2.60Ghz 28-Core 256GB H730 Rails picture

Dell PowerEdge R730xd Server 2x E5-2690v4 2.60Ghz 28-Core 256GB H730 Rails

$562.75



Dell PowerEdge R430 4-Bay Xeon E5-2620 v4 2.10GHz 16GB NO HDD Server H330 Mini picture

Dell PowerEdge R430 4-Bay Xeon E5-2620 v4 2.10GHz 16GB NO HDD Server H330 Mini

$89.99



Dell Desktop Quad Core i5 8400 500GB SSD + 2TB HDD 32GB RAM Window Server 2022 picture

Dell Desktop Quad Core i5 8400 500GB SSD + 2TB HDD 32GB RAM Window Server 2022

$301.73



Dell Poweredge R430 Server | 2x E5-2680v4 28 Cores | 64GB | 6TB Storage picture

Dell Poweredge R430 Server | 2x E5-2680v4 28 Cores | 64GB | 6TB Storage

$545.99