Re: raid6 grow "hangs" on 2.6.27 with mounted FS
From: roma1390
Date: Mon Mar 23 2009 - 00:09:54 EST
On Sun, Mar 22, 2009 at 12:41, roma1390 <roma1390@xxxxxxxxx> wrote:
> 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.
Got sysrq pending timers, blocked state, task trace, and full dmesg
Attachment:
dmesg
Description: Binary data