4

I'm trying to create a Raid array and these are the errors I keep getting. I have repartitioned the drives several times.

root@BitchStewie:/dev# sudo mdadm --verbose --create /dev/md1 --chunk=64 --level=0 --raid-devices=12 /dev/sdb1 /dev/sdc1 /dev/sdd1 /dev/sde1 /dev/sdf1 /dev/sdg1 /dev/sdh1 /dev/sdi1 /dev/sdj1 /dev/sdk1 /dev/sdl1 /dev/sdm1
mdadm: super1.x cannot open /dev/sdb1: Device or resource busy
mdadm: ddf: Cannot use /dev/sdb1: Device or resource busy
mdadm: Cannot use /dev/sdb1: It is busy
mdadm: device /dev/sdb1 not suitable for any style of array
3
  • Do i need to format the drives too? I just created the partition.
    – JGazlyVFX
    Mar 9, 2012 at 0:01
  • 1
    You should not be creating a 12 disk raid0. If any one of the 12 goes, you lose the whole array, so you greatly increase your chances of data loss over just using a single disk. You should be using raid5 or for an array of that size, raid6 so you can handle one or two disks failing. Also check /proc/mdstat.
    – psusi
    Jan 11, 2013 at 19:33
  • What is the output of mount | grep /dev/sdb1?
    – Danatela
    Sep 4, 2013 at 5:53

2 Answers 2

1

Are the /dev/sdb1 etc.. mounted in /media or anything? Sounds like Ubuntu may have auto mounted it somewhere.

Also check out http://en.wikipedia.org/wiki/Mdadm the "Known Issues" section has a solution if the dmraid driver has taken control. (You get the same device busy error)

0

You can try create the mdadm disk booting with kernel parameter init=/bin/bash

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .