Hi Neil, Can you provide me details of your setup? Is there any kernel configuration that I will have to change and build my kernel with that? Thanks, Yogesh -----Original Message----- From: Neil Brown [mailto:neilb@xxxxxxx] Sent: Tuesday, April 11, 2006 3:54 PM To: Yogesh Pahilwan Cc: linux-raid@xxxxxxxxxxxxxxx Subject: RE: Problem in creating RAID5 MD array with kernel 2.6.15 On Tuesday April 11, pahilwan.yogesh@xxxxxxxxxxxxxxx wrote: > Hi Neil, > > When I try the following steps on kernel 2.6.16 I am getting the same errors > as on kernel 2.6.15. > > # mdadm -Cv /dev/md0 --assume-clean --force --bitmap=/tmp/bitmap.txt > --bitmap-chunk=1024 -l5 -n4 /dev/sd{a,b,c,d} > > Array gets created successfully. > > # mdadm /dev/md0 -f /dev/sda > mdadm: set /dev/sda faulty in /dev/md0 > > # mdadm /dev/md0 -r /dev/sda > mdadm: hot remove failed for /dev/sda: Device or resource busy Thanks for testing. If I do exactly the same sequence it works perfectly. So there must be some important different between your setup and mine. - What happens if you leave off the "--bitmap=/tmp/bitmap.txt --bitmap-chunk=1024" Does it then work? - What filesystem is on /tmp - Can you give me complete /var/log/messages from before you create the array until this error? Thanks, NeilBrown - 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