-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, It really might be fixed in recent code, just for consistency: dpkg -l | grep mdadm ii mdadm 3.2.3-2 tool to administer Linux MD arrays (software RAID) uname -a Linux hanna64 3.1.0-1-amd64 #1 SMP Tue Jan 10 05:01:58 UTC 2012 x86_64 GNU/Linux Cheers, - -Nik On 02/16/2012 08:55 AM, NeilBrown wrote: > On Tue, 14 Feb 2012 11:43:30 +0200 Nikolay Kichukov <hijacker@xxxxxxxxx> > wrote: > >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 > >> Hello Neil, >> Here is the result, I think I managed to reproduce it as it has converted the raid0 to raid4. > > >> so commands in sequence: > >> mdadm --verbose --create /dev/md/mdtest --level=0 --raid-devices=2 --metadata=1.2 /dev/loop0 /dev/loop1 >> mdadm: chunk size defaults to 512K >> mdadm: array /dev/md/mdtest started. > >> strace -o /tmp/foo -f mdadm --grow /dev/md/mdtest --raid-devices=3 --add /dev/loop2 >> mdadm: level of /dev/md/mdtest changed to raid4 >> mdadm: /dev/loop2 not large enough to join array >> mdadm: Need to backup 3072K of critical section.. >> mdadm: /dev/md/mdtest: Cannot grow - need a spare or backup-file to backup critical section >> mdadm: aborting level change > > > I tried exactly that and it worked perfectly. > Maybe the bug has been fixed. > Please remind me exactly which versions of mdadm and linux you are using. > > Thanks, > NeilBrown > > N‹§²æìr¸›yúèšØb²X¬¶Ç§vØ^–)Þº{.nÇ+‰·¥Š{±¨Š{ayºÊ‡Ú™ë,j¢f£¢·hš‹àz¹®w¥¢¸¢·¦j:+v‰¨ŠwèjØm¶Ÿÿ¾«‘êçzZ+ƒùšŽŠÝ¢j"ú!tml= -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJPPSMMAAoJEDFLYVOGGjgXKWgH/3W4VqM65Dq4j0XIpyDUYi2B ATFvVtzmBfiXvNnVBDdP953OK5bBrdcfXUbqYcRUOnzIPEcnxycWxtAe4qO/+OT5 ZJVajCD5JT8dD/xpSbW+bqi9CHo1kRzCfQmI9GydIYykfN6qjS7jfJqH4Jp6Au/w 2UFE0ZyZvB9pVrORdUCCZ7r0Zj2ctofqhxAG1Rip1ZZXtpuSHayIib5gUBx2S/JB FQPElqbaEureoDzG5fSg3IMBB7Sc37AjxzxbWkvYd1mBe2e9v4GHnsjv+wEukR95 e5VMr1NZ31AUzeQJR9YQW0NEjE/x/dar9+3jTXwZ1J2Z/1j08lsx9yL4kum3KDQ= =gOyk -----END PGP SIGNATURE----- -- 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