Re: rbd-nbd mapped device online resize failed with ext4 filesystem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

I got the patch to fix this issue after many times check by 'git
bisect': https://patchwork.kernel.org/patch/9567231/

FYI
Thanks.
Wangpan <aspirer2004@xxxxxxxxx> 于2018年11月29日周四 下午5:38写道:
>
> Thanks Mykola, I'll try a newer kernel.
> Mykola Golub <to.my.trociny@xxxxxxxxx> 于2018年11月29日周四 下午5:29写道:
> >
> > On Thu, Nov 29, 2018 at 02:05:37PM +0800, 王盼 wrote:
> >
> > > 1. rbd-nbd map test # 'test' size is 5G
> > > 2. mkfs.ext4 /dev/nbd0  # nbd0 is the mapped device
> > > 3. mount /dev/nbd0 /mnt #
> > > 4. rbd resize test 6G # resize 'test' to 6G in ceph cluster
> > > 5. lsblk  # nbd0 has new size 6G
> > > 6. ls /mnt # the ls proc will hang forever, 'kill -9' on it cann't kill it.
> >
> > > The ceph version is 12.2.5, with kernel 4.9.65.
> >
> > I was able to reproduce with rbd-nbd 14.0.1 and ubuntu kernel 4.4.0,
> > but failed with rbd-nbd 14.0.1 or 12.2.5 and opensuse kernel 4.18.15.
> >
> > It looks to me like a kernel issue.
> >
> > --
> > Mykola Golub




[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux