Skip to content

PVC online resize is not working #299

Closed
Closed

Description

@kvaps

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.

Activity

  1. changed the title [-]Online resize is not working[/-] [+]PVC online resize is not working[/+] on Aug 21, 2024
  2. NickVolynkin commented on Apr 7, 2025

    @NickVolynkin
    Contributor

    Triaged: we should validate this, and if it persists, raise an issue in Talos upstream.

  3. kvaps commented on Jul 14, 2025

    @kvaps
    MemberAuthor

    fixed by siderolabs/talos#10103, and confirmed as working in Talos v1.10.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

upstream-issueRequires resolving an issue in an upstream project

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions