Hi! On Fri, May 13, 2011 at 09:56:39PM +0200, Christopher White wrote: > Greetings! > > After some serious back-and-forth on the md mailing list, it finally > turned out to be a bug in (g)parted, which has been reproduced by two > people on separate machines using the latest versions of (g)parted. > Here's how to reproduce the bug: > > Step 1: > Create a PARTITIONABLE md array with mdadm (change parameters to > whatever test parameters you use, but keep the --auto=partX flag to > make it a partitionable md array): > mdadm --create --level=raid5 --auto=part2 /dev/md1 --metadata=1.2 > --raid-devices=4 /dev/sda2 /dev/sdb2 /dev/sdc2 /dev/sdd2 > > Step 2: > Verify that the device was created (ls /dev/md* will show /dev/md1 > and nothing else since there are no partitions yet)
I just tried with parted-2.3 it seems to work fine here (I have used 2 devices in raid1 array, but that shouldn't make any difference). Strace shows that necessary BLKPG* ioctl()s have been called and created partition shows up (in /proc/mdstat and /proc/partitions). Could you please try to run parted in strace and post the output here? e.g. strace parted -s /dev/md1 create primary 1M 10M If this works for you than it is likely something in gparted. Petr -- Petr Uzel IRC: ptr_uzl @ freenode
pgpmoEs7nXNun.pgp
Description: PGP signature
_______________________________________________ bug-parted mailing list bug-parted@gnu.org https://lists.gnu.org/mailman/listinfo/bug-parted