I am trying to recover a failed Raid 5 array by following the guide at https://raid.wiki.kernel.org/index.php/Recovering_a_failed_software_RAID Things go fine until I get to the command under "Setup the loop-device and the overlay device:" parallel 'size=$(blockdev --getsize {}); loop=$(losetup -f --show -- overlay-{/}); echo 0 $size snapshot {} $loop P 8 | dmsetup create {/}' ::: $DEVICES This command gets me: device-mapper: reload ioctl failed: Device or resource busy Command failed device-mapper: reload ioctl failed: Device or resource busy Command failed device-mapper: reload ioctl failed: Device or resource busy Command failed device-mapper: reload ioctl failed: Device or resource busy Command failed The drives are not mounted. I am booting to a system on sda. I tried this in single-user mode with the same result. I tried searching for dmsetup help without luck. Any advise on the cause of this error would be greatly appreciated. The overlays are created in my current directory at 2.1TB each: -rw-r--r-- 1 root root 2.1T May 30 21:23 overlay-sdb1 -rw-r--r-- 1 root root 2.1T May 30 21:23 overlay-sdc1 -rw-r--r-- 1 root root 2.1T May 30 21:23 overlay-sdd1 -rw-r--r-- 1 root root 2.1T May 30 21:23 overlay-sde1 The loop devices appear to be created: root@mythserver:~# losetup -a /dev/loop0: [0807]:58851784 (/root/overlay-sdb1) /dev/loop1: [0807]:58851786 (/root/overlay-sdc1) /dev/loop2: [0807]:58851787 (/root/overlay-sdd1) /dev/loop3: [0807]:58851792 (/root/overlay-sde1) These are the entries that are piped into 'dmsetup create {/}': 0 3907024002 snapshot /dev/sdb1 /dev/loop0 P 8 0 3907024002 snapshot /dev/sdc1 /dev/loop1 P 8 0 3907024002 snapshot /dev/sdd1 /dev/loop2 P 8 0 3907024002 snapshot /dev/sde1 /dev/loop3 P 8 Nothing has been created in /dev/mapper/ root@mythserver:~# l /dev/mapper/ total 0 crw------- 1 root root 10, 236 May 30 23:55 control Again, thanks! Chris -- To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html