ISW dmraid-rc15 fails to activate raid0 due to incorrect cylinder calculation

Giuseppe Iuculano giuseppe at iuculano.it
Sun Apr 19 10:42:04 UTC 2009


Hi,

Danny ha scritto:
> Upon many attempts and comparisons to rc14 I discovered that
> dmraid-rc15 calculates the number of cylinders incorrectly..

The relevant code in isw.c is:

if ((r->sectors = dev->vol.map.blocks_per_member - RAID_DS_JOURNAL))

But in dmraid rc14 was:

if ((r->sectors = dev->vol.map.blocks_per_member))


What is the purpose of this change?

Cheers,
Giuseppe.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/ataraid-list/attachments/20090419/c4a51f45/attachment.sig>


More information about the Ataraid-list mailing list