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