Bug 216981 - Online file system resize stuck for ext3
Summary: Online file system resize stuck for ext3
Status: RESOLVED INVALID
Alias: None
Product: File System
Classification: Unclassified
Component: ext3 (show other bugs)
Hardware: All Linux
: P1 high
Assignee: fs_ext3@kernel-bugs.osdl.org
URL:
Keywords: trivial
Depends on:
Blocks:
 
Reported: 2023-01-31 15:23 UTC by Sunil Barhate
Modified: 2023-01-31 16:01 UTC (History)
2 users (show)

See Also:
Kernel Version: 4.18.0-372.9.1.el8.x86_64
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description Sunil Barhate 2023-01-31 15:23:32 UTC
Trying out kubernetes online volume resize feature with ext4 and ext3 file system.

While the application using the volume tried to resize the volume.

For ext4 file system it worked. But it stuck with ext3 file system.




block level the device got resized.

nvme1n1                   259:0    0 642.6G  0 disk /var/lib/kubelet/pods/6a184d50-341e-4412-9ffb-22574055d8a8/volumes/kubernetes.io~csi/pvc-c200984e-959a-424a-90cf-84a8498a61f0/


But, in dmesg can see these logs, It stuck resizing fs between block 168460288 to 168460800.

[Tue Jan 31 06:40:21 2023] EXT4-fs (nvme1n1): resizing filesystem from 168460288 to 168460800 blocks
[Tue Jan 31 06:40:21 2023] EXT4-fs (nvme1n1): resizing filesystem from 168460288 to 168460288 blocks
[Tue Jan 31 06:42:23 2023] EXT4-fs (nvme1n1): resizing filesystem from 168460288 to 168460800 blocks
[Tue Jan 31 06:42:23 2023] EXT4-fs (nvme1n1): resizing filesystem from 168460288 to 168460288 blocks
[Tue Jan 31 06:44:25 2023] EXT4-fs (nvme1n1): resizing filesystem from 168460288 to 168460800 blocks
[Tue Jan 31 06:44:25 2023] EXT4-fs (nvme1n1): resizing filesystem from 168460288 to 168460288 blocks
[Tue Jan 31 06:46:27 2023] EXT4-fs (nvme1n1): resizing filesystem from 168460288 to 168460800 blocks
[Tue Jan 31 06:46:27 2023] EXT4-fs (nvme1n1): resizing filesystem from 168460288 to 168460288 blocks
[Tue Jan 31 06:48:29 2023] EXT4-fs (nvme1n1): resizing filesystem from 168460288 to 168460800 blocks
[Tue Jan 31 06:48:29 2023] EXT4-fs (nvme1n1): resizing filesystem from 168460288 to 168460288 blocks
[Tue Jan 31 06:50:31 2023] EXT4-fs (nvme1n1): resizing filesystem from 168460288 to 168460800 blocks
[Tue Jan 31 06:50:31 2023] EXT4-fs (nvme1n1): resizing filesystem from 168460288 to 168460288 blocks
Comment 1 Theodore Tso 2023-01-31 16:01:41 UTC
This is a bug report for a Red Hat kernel, not mainstream.  It's also as a result, an absolutely antique, antedeluvian kernel from an upstream kernel.  Please report this problem to Red Hat, and they will provide support --- not upstream maintainers.

Alternatively, please try to see if the problem can be replicated on the latest upstream kernel.  If it can be, feel free to open a new bug and specify an upstream kernel version in the bug report.

Note You need to log in before you can comment on or make changes to this bug.