I'm trying to use gparted to shrink and move one of my partitions. The error page that gparted generates on failure is below. I'm not sure what the problem is here or how to resolve it. Any help will be greatly appreciated.
GParted 0.12.0 --enable-libparted-dmraid
Libparted 3.0
Move /dev/sda5 to the right and shrink it from 361.19 GiB to 170.10 GiB 00:00:34 ( ERROR )
calibrate /dev/sda5 00:00:01 ( SUCCESS )
path: /dev/sda5
start: 682,876,928
end: 1,440,348,159
size: 757,471,232 (361.19 GiB)
calculate new size and position of /dev/sda5 00:00:00 ( SUCCESS )
requested start: 901,905,228
requested end: 1,258,628,489
requested size: 356,723,262 (170.10 GiB)
new start: 901,905,165
new end: 1,258,628,489
new size: 356,723,325 (170.10 GiB)
check file system on /dev/sda5 for errors and (if possible) fix them 00:00:33 ( SUCCESS )
e2fsck -f -y -v /dev/sda5
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
589285 inodes used (2.49%)
11529 non-contiguous files (2.0%)
1246 non-contiguous directories (0.2%)
# of inodes with ind/dind/tind blocks: 0/0/0
Extent depth histogram: 531157/665
19493843 blocks used (20.59%)
0 bad blocks
4 large files
443214 regular files
67083 directories
57 character device files
25 block device files
0 fifos
37 links
78891 symbolic links (57365 fast symbolic links)
6 sockets
--------
589313 files
e2fsck 1.42 (29-Nov-2011)
shrink file system 00:00:00 ( ERROR )
resize2fs /dev/sda5 178361662K
resize2fs 1.42 (29-Nov-2011)
Please run 'e2fsck -f /dev/sda5' first.