This is the patch for EVMS 2.2.1 to fix "No Device" error when trying adding spare/active device to MD arrays. --- evms-2.2.1a/plugins/md/md_main.c 2003-12-16 16:15:07.000000000 -0600 +++ evms-2.2.1b/plugins/md/md_main.c 2003-12-16 16:16:18.000000000 -0600 @@ -767,7 +767,6 @@ disk_info.number = i; rc = md_ioctl_get_disk_info(volume->region, &disk_info); if (!rc) { - sb->disks[i].number = disk_info.number; sb->disks[i].major = disk_info.major; sb->disks[i].minor = disk_info.minor; sb->disks[i].raid_disk = disk_info.raid_disk;