https://bugs.kde.org/show_bug.cgi?id=423397

            Bug ID: 423397
           Summary: fsck fails after shrinking ext4 fs
           Product: partitionmanager
           Version: 4.1.0
          Platform: Neon Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: andr...@stikonas.eu
          Reporter: dellfirmw...@gmail.com
  Target Milestone: ---

SUMMARY

When the user tries to resize a mounted ext4 filesystem , there is no 
warning to unmount it first, the sliders does not move to shrink
similar to gparted. The user then unmounts the ext4 filesystem and
do the shrink and apply. 

STEPS TO REPRODUCE
1. Unmount ext4 filesystem
2. Shrink ext4 filesystem
3. FS shrinked and mounted, fsck fails with error displayed 

OBSERVED RESULT

Filesystem resized, but cannot be checked with fsck, error displayed
EXPECTED RESULT


SOFTWARE/OS VERSIONS

Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.19.1
KDE Frameworks Version: 5.71
Qt Version: 5.14.2

ADDITIONAL INFORMATION


KDE Partition Manager: SMART Status Report
Date:   2020. 06. 23. 16:17
Program version:        4.1.0
Backend:        pmsfdiskbackendplugin (1)
KDE Frameworks version: 5.67.0
Machine:        Linux dell6540 5.3.0-59-generic #53~18.04.1-Ubuntu SMP Thu Jun
4 14:58:26 UTC 2020 x86_64

Shrink partition ‘/dev/sda6’ from 78,76 GiB to 48,97 GiB
Job: Check file system on partition ‘/dev/sda6’
Command: e2fsck -f -y -v /dev/sda6
Check file system on partition ‘/dev/sda6’: Success
Job: Resize file system on partition ‘/dev/sda6’ to 102 701 056 sectors
Resizing file system from 165 167 759 to 102 701 056 sectors.

Command: resize2fs /dev/sda6 102701056s
Resize file system on partition ‘/dev/sda6’ to 102 701 056 sectors: Success
Job: Set geometry of partition ‘/dev/sda6’: Start sector: 334 950 400, length:
102 701 056
Command: sfdisk --force /dev/sda -N 6
Set geometry of partition ‘/dev/sda6’: Start sector: 334 950 400, length: 102
701 056: Success
Job: Check file system on partition ‘/dev/sda6’
Command: e2fsck -f -y -v /dev/sda6
Check file system on partition ‘/dev/sda6’: Error
Checking partition ‘/dev/sda6’ after resize/move failed.

Shrink partition ‘/dev/sda6’ from 78,76 GiB to 48,97 GiB: Error

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to