You are not logged in.

#1 2011-02-28 07:18:42

misfeasor
Member
Registered: 2011-02-28
Posts: 1

dmraid - specify metadata format

I'm using Intel ich10R fake raid (dual-boot with Windows) and I'm having an issue with dmraid discovering two different metadata formats for my raid (ddf1 and isw). I need to use the isw format, but unfortunately, dmraid defaults to ddf1. To get around this, in /lib/initcpio/hooks/dmraid I've changed the lines:

        if [ "${quiet}" = "y" ]; then
            /sbin/dmraid -ay -I -Z >/dev/null
        else
            /sbin/dmraid -ay -I -Z
        fi

to:

        if [ "${quiet}" = "y" ]; then
            /sbin/dmraid -f isw -ay -Z >/dev/null
        else
            /sbin/dmraid -f isw -ay -Z
        fi

This works, but if dmraid is updated, I'll need to change these lines again or else not be able to boot. Also, it just doesn't feel right. Is there a better way to do this?

Offline

#2 2011-03-02 03:56:24

cathay4t
Member
From: China
Registered: 2009-04-09
Posts: 8

Re: dmraid - specify metadata format

RHEL6 has switch dmraid into mdraid.
isw is supported by mdraid 3.2 which providing more feature.

Currently, I don't have access to fake RAID right now, you can try mdadm -e isw option.

Does initd.gz support mdadm now?

Offline

Board footer

Powered by FluxBB