Comment 13 for bug 136804

Revision history for this message
Alan Ferrier (alan-ferrier) wrote : Re: dmraid not correctly detecting nforce raid

Good thinking, Batman - but it ain't that:

$ lsmod | grep dm
dm_crypt 15364 0
dm_mirror 24832 0
dm_mod 62660 2 dm_crypt,dm_mirror

Also, dmraid -tay returns:

$ sudo dmraid -tay
nvidia_acihdbbb: 0 976773166 mirror core 2 131072 nosync 2 /dev/sda 0 /dev/sdb 0

so the mirror is being detected ok, and dmraid -n returns:

$ sudo dmraid -n
/dev/sdb (nvidia):
0x000 NVIDIA

0x008 size: 30
0x00c chksum: 4196806261
0x010 version: 100
0x012 unitNumber: 1
0x013 reserved: 0
0x014 capacity: 976773120
0x018 sectorSize: 512
0x01c productID: MIRROR 465.76G
0x02c productRevision: 100
0x030 unitFlags: 0
0x034 array->version: 6553668
0x038 array->signature[0]: 533272846
0x03c array->signature[1]: 1267463791
0x040 array->signature[2]: 1373640744
0x044 array->signature[3]: 1330779158
0x048 array->raidJobCode: 0
0x049 array->stripeWidth: 1
0x04a array->totalVolumes: 2
0x04b array->originalWidth: 1
0x04c array->raidLevel: 129
0x050 array->stripeBlockSize: 128
0x054 array->stripeBlockByteSize: 65536
0x058 array->stripeBlockPower: 7
0x05c array->stripeMask: 127
0x060 array->stripeSize: 128
0x064 array->stripeByteSize: 65536
0x068 array->raidJobMark 0
0x06c array->originalLevel 129
0x070 array->originalCapacity 976773120
0x074 array->flags 0x1

/dev/sda (nvidia):
0x000 NVIDIA

0x008 size: 30
0x00c chksum: 4196871797
0x010 version: 100
0x012 unitNumber: 0
0x013 reserved: 0
0x014 capacity: 976773120
0x018 sectorSize: 512
0x01c productID: MIRROR 465.76G
0x02c productRevision: 100
0x030 unitFlags: 0
0x034 array->version: 6553668
0x038 array->signature[0]: 533272846
0x03c array->signature[1]: 1267463791
0x040 array->signature[2]: 1373640744
0x044 array->signature[3]: 1330779158
0x048 array->raidJobCode: 0
0x049 array->stripeWidth: 1
0x04a array->totalVolumes: 2
0x04b array->originalWidth: 1
0x04c array->raidLevel: 129
0x050 array->stripeBlockSize: 128
0x054 array->stripeBlockByteSize: 65536
0x058 array->stripeBlockPower: 7
0x05c array->stripeMask: 127
0x060 array->stripeSize: 128
0x064 array->stripeByteSize: 65536
0x068 array->raidJobMark 0
0x06c array->originalLevel 129
0x070 array->originalCapacity 976773120
0x074 array->flags 0x1

However, dmraid -ay fails silently:

$ sudo dmraid -ay
$

but with the following in /var/log/messages:

May 5 19:25:45 ***-home kernel: [ 757.141136] device-mapper: ioctl: error adding target to table