On 10/16/2011 08:46 PM, Daniel Kahn Gillmor wrote: > mdadm /dev/md0 --grow --level 0 > > > I'm attaching an strace of the final command, which is what gives the > segmentation fault.
and, after rebuilding mdadm with debug symbols, i gathered this backtrace from the same command under gdb: (gdb) run /dev/md0 --grow --level 0 Starting program: /sbin/mdadm /dev/md0 --grow --level 0 Program received signal SIGSEGV, Segmentation fault. connect_monitor (devname=0x0) at msg.c:469 469 } (gdb) bt #0 connect_monitor (devname=0x0) at msg.c:469 #1 0x1004fff0 in ping_monitor (devname=<optimized out>) at msg.c:209 #2 0x10022e2c in Grow_reshape (devname=0xffffee41 "/dev/md0", fd=7, quiet=0, backup_file=0x0, size=101888, level=0, layout_str=0x0, chunksize=0, raid_disks=0, devlist=0x0, assume_clean=0, force=0) at Grow.c:1556 #3 0x10005ce8 in main (argc=5, argv=0xffffece4) at mdadm.c:1638 (gdb) hth, --dkg
signature.asc
Description: OpenPGP digital signature