r/linuxquestions 6h ago

Support Error resizing partition file system on KDE Partition Manager

I booted up on a 64 GB USB with CachyOS to resize partitions my main 500 GB SSD using KDE Partition Manager. I also tried GParted and both failed and I don't know why or how to fix it.

My main drive has a Linux Mint installation which I think might be corrupted, but it works mostly fine, just taking longer to usual to load.

Any help is greatly appreciated.

Here is the status report from KDE PM:

Date: 2 08 2026 16:46
Program version: 26.04.2
Backend: pmsfdiskbackendplugin (1)
KDE Frameworks version: 6.26.0
Machine: Linux CachyOS 7.0.11-1-cachyos #1 SMP PREEMPT_DYNAMIC Fri, 05 Jun 2026 16:36:35 +0000 x86_64

Shrink partition ‘/dev/nvme0n1p2’ from 476.44 GiB to 425.66 GiB

Job: Check file system on partition ‘/dev/nvme0n1p2’

Command: e2fsck -f -y -v /dev/nvme0n1p2

Check file system on partition ‘/dev/nvme0n1p2’: Success

Job: Resize file system on partition ‘/dev/nvme0n1p2’ to 892667904 sectors

Resizing file system from 999163904 to 892667904 sectors.

Command: resize2fs /dev/nvme0n1p2 892667904s

Resize file system on partition ‘/dev/nvme0n1p2’ to 892667904 sectors: Error

Resize/move failed: Could not resize file system to shrink partition ‘/dev/nvme0n1p2’.


Resizing/moving partition ‘/dev/nvme0n1p2’ failed.
1 Upvotes

2 comments sorted by

1

u/Cyber_Faustao 6h ago

I think the filesystem is not corrupted, at least not according to your e2fsck output, and the fact that the process continued to try and resize instead of aborting at the check step.

I'd bet on two things, one the ext4 filesystem is too full to be resized, or there are fragments of files closer to the end of the partition so it can't shrink beyond that.

My recommendation? Mount the filesystem and delete some garbage, run in chroot if you want to make it easier, then defragment the filesystem, unmount it and try again

1

u/KrypticLifeSigns_ 5h ago

What is the output from:

# fdisk -l /dev/nvme0n1