moved $raid_devices_from_mdadm outside from cycle body