First I create an array using v1.9.0 successfully (from system path):
root@localhost:~/dev/mdadm-2.0-devel-1# mdadm -C -l 5 -n 3 /dev/md0 /dev/hdb /dev/hdc /dev/hdd
mdadm: array /dev/md0 started.
root@localhost:~/dev/mdadm-2.0-devel-1# mdadm -S /dev/md0
Then successfully create an array with default superblock (0.90?) using v2.0-devel (from current dir):
root@localhost:~/dev/mdadm-2.0-devel-1# ./mdadm -C -l 5 -n 3 /dev/md0 /dev/hdb /dev/hdc /dev/hdd
mdadm: /dev/hdb appears to be part of a raid array:
level=5 devices=3 ctime=Tue May 3 11:42:28 2005
mdadm: /dev/hdc appears to be part of a raid array:
level=5 devices=3 ctime=Tue May 3 11:42:28 2005
mdadm: /dev/hdd appears to be part of a raid array:
level=5 devices=3 ctime=Tue May 3 11:42:28 2005
Continue creating array? y
VERS = 9002
mdadm: array /dev/md0 started.
root@localhost:~/dev/mdadm-2.0-devel-1# ./mdadm -S /dev/md0
Then try creating a raid with version 1 superblock, which fails:
root@localhost:~/dev/mdadm-2.0-devel-1# mdadm -C -l 5 -n 3 --metadata 1 /dev/md0 /dev/hdb /dev/hdc /dev/hdd
mdadm: /dev/hdb appears to be part of a raid array:
level=5 devices=3 ctime=Tue May 3 11:43:00 2005
mdadm: /dev/hdc appears to be part of a raid array:
level=5 devices=3 ctime=Tue May 3 11:43:00 2005
mdadm: /dev/hdd appears to be part of a raid array:
level=5 devices=3 ctime=Tue May 3 11:43:00 2005
Continue creating array? y
VERS = 9002
mdadm: ADD_NEW_DISK for /dev/hdb failed: Device or resource busy
I believe it *could* have something to do with the fact that mdadm 2.0-devel doesn't detect previously written (and/or blanked) raid superblocks, look at my previous bugreport I filed a few minutes ago. Maybe its seeing what the --examine feature shows, that there's an "active" array on the drive still, hence, being unable to create a new one.
-
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