1

Topic: gparted can't resize partitions

Hello!
So I booted into a live usb and opened the gparted. When I chose to resize a partition I get an error message which says "Partition can't resized" or something like that.
Below I admit the details from the error.

GParted 0.25.0 --enable-libparted-dmraid --enable-online-resize

Libparted 3.2
Shrink /dev/sda1 from 923.59 GiB to 825.69 GiB  00:00:14    ( ERROR )
         
calibrate /dev/sda1  00:00:00    ( SUCCESS )
         
path: /dev/sda1 (partition)
start: 2048
end: 1936914431
size: 1936912384 (923.59 GiB)
check file system on /dev/sda1 for errors and (if possible) fix them  00:00:10    ( SUCCESS )
         
e2fsck -f -y -v -C 0 /dev/sda1  00:00:10    ( SUCCESS )
         
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information

335652 inodes used (0.55%, out of 60530688)
339 non-contiguous files (0.1%)
262 non-contiguous directories (0.1%)
# of inodes with ind/dind/tind blocks: 0/0/0
Extent depth histogram: 288622/32
6112026 blocks used (2.52%, out of 242114048)
0 bad blocks
1 large file

241824 regular files
30859 directories
57 character device files
25 block device files
0 fifos
11 links
62868 symbolic links (46898 fast symbolic links)
10 sockets
------------
335654 files
e2fsck 1.43.1 (08-Jun-2016)
shrink file system  00:00:04    ( ERROR )
         
resize2fs -p /dev/sda1 865800192K  00:00:04    ( ERROR )
         
Resizing the filesystem on /dev/sda1 to 216450048 (4k) blocks.
Begin pass 3 (max = 7389)
Scanning inode table XXXXXXXXXXXXXXXXXXXXXXXXXXXXX-----------
resize2fs 1.43.1 (08-Jun-2016)

========================================

2

Re: gparted can't resize partitions

Thank you for your interest in GParted and including the gparted_details.htm log file in your post.

It looks like you've found a bug in the upstream e2fsprogs package which contains the resize2fs v1.43.1 program.

Unfortunately I have been unable to recreate the issue you encountered.  As such would you be able to raise this issue upstream directly with the e2fsprogs maintainers?

See Debian Bug report logs: Bugs in package e2fsprogs (version 1.43.3-1) in unstable.

3

Re: gparted can't resize partitions

Thanks for the response.   
So what else can I do for resizing the partition? Should I use an earlier version of gparted or something like that?

4

Re: gparted can't resize partitions

You might try an earlier version.  For example GParted Live 0.25.0-3 contains e2fsprogs 1.42.13 that may not exhibit this issue.  Please let us know if this earlier version works.  Also the e2fsprogs maintainers would likely benefit if you told them as well.