Re: raid6 grow "hangs" on 2.6.27 with mounted FS

From: roma1390
Date: Sun Mar 22 2009 - 06:41:42 EST


On Sun, Mar 22, 2009 at 11:20, martin f krafft <madduck@xxxxxxxxxxx> wrote:
> also sprach roma1390 <roma1390@xxxxxxxxx> [2009.03.21.2129 +0100]:
>> # add block device and grow, wait for resync
>> mdadm --add /dev/md2 /dev/loop5
>> mdadm --grow /dev/md2 --raid-devices=5
>> sleep 3
>>
>> # dmesg prints: VFS: busy inodes on changed media.
>> # umount hangs ...
>> umount /dev/md2
>
> I suggest unmounting before growing?

So this hang is by design? I think it must return EBUSY if can't
continue operation.
Documentation claims than Linux MD can grow online for raid5 and
raid6, like You can resize online ext3 FS.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/