Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PVC online resize is not working #299

Open
kvaps opened this issue Aug 21, 2024 · 0 comments
Open

PVC online resize is not working #299

kvaps opened this issue Aug 21, 2024 · 0 comments

Comments

@kvaps
Copy link
Member

kvaps commented Aug 21, 2024

Online resize doesn't work:

# resize2fs /dev/zd560
resize2fs 1.47.0 (5-Feb-2023)
Filesystem at /dev/zd560 is mounted on /var/lib/kubelet/pods/bf2cc05f-dc83-4fe2-8afc-8e970d1f7b48/volumes/kubernetes.io~csi/pvc-b27195a5-3514-4456-b66b-cb39ba5e2388/mount; on-line resizing required
old_desc_blocks = 2, new_desc_blocks = 10
resize2fs: Input/output error While checking for on-line resizing support

In dmesg, I see the following:

[ 6430.566732] EXT4-fs (zd560): resizing filesystem from 2621440 to 20971520 blocks
[ 6430.566772] EXT4-fs warning (device zd560): ext4_resize_fs:2194: error (-5) occurred during file system resize
[ 6430.566789] EXT4-fs (zd560): resized filesystem to 2621440

In strace, it fails on this system call:

ioctl(4, EXT4_IOC_RESIZE_FS, 0x7ffcdda82f50) = -1 EIO (I/O error)

The container is launched with privileged: true.

@kvaps kvaps changed the title Online resize is not working PVC online resize is not working Aug 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant