1

I'm trying to configure RAID5. I know this question has been asked before but I have been stuck on this for 3 days.

Input:

sudo mdadm --create /dev/mdo --level=5 --raid-devices=3 /dev/sdb1 /dev/sdc1 /dev/sdd1

Output:

mdadm: cannot open /dev/sdb1: device or resouce busy

Input:

umount /dev/sdb1

Output:

umount: /dev/sdb1 is not mounted

Input:

lsof /dev/sdb1

No output... nothing displays.

Rebooted machine uncountable times.

Here is a screenshot with my drives:

View of disk partitions

I have also reinstalled Ubuntu server twice in the past 48 hours.

1 Answers1

1

According to this blog you should use the following procedure to avoid contention on device handles:

$ sudo udevadm control --stop-exec-queue
$ sudo mdadm --create /dev/mdo --level=5 --raid-devices=3 /dev/sdb1 /dev/sdc1 /dev/sdd1
$ sudo udevadm control --start-exec-queue
techraf
  • 3,316