Create ephemeral device mapping based on get_num_disks().