Topic: Attemp to resize and move a partition fails
Dear,
I have basically two partitions: one windows partition and one linux partition (the other partitions). Because the first lacks space, and it is just a fresh install I was trying to shrink the linux partition (with pain in my heart) to 100GB, then move it further on the disc so that the space after my linux partition would be before it thereby able to extend the windows partition with the free unallocated space.
However, it fails with an error.
In short the operations applied are:
1) Move /dev/sda3 to the right and shrink it from 99.98 GiB to 99.98 GiB 00:35:13 ( ERROR )
2) Grow /dev/sda2 from 19.66 GiB to 43.11 GiB
I hope someone can help me because I can't delete the windows partition (I just installed my licensed TI-Nspired software needed for my university, and it is limited to two installs :s)
Thank you so far!
Gparted version 0.7.0 from Ubuntu 11.04 LiveCD
Details as suggested by gparted:
GParted 0.7.0 --enable-libparted-dmraid
Libparted 2.3
Move /dev/sda3 to the right and shrink it from 99.98 GiB to 99.98 GiB 00:35:13 ( ERROR )
calibrate /dev/sda3 00:00:00 ( SUCCESS )
path: /dev/sda3
start: 41441280
end: 251111423
size: 209670144 (99.98 GiB)
check file system on /dev/sda3 for errors and (if possible) fix them 00:00:41 ( SUCCESS )
e2fsck -f -y -v /dev/sda3
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 information441083 inodes used (6.73%)
1442 non-contiguous files (0.3%)
940 non-contiguous directories (0.2%)
# of inodes with ind/dind/tind blocks: 0/0/0
Extent depth histogram: 398558/437
6052142 blocks used (23.09%)
0 bad blocks
1 large file335674 regular files
47115 directories
57 character device files
25 block device files
0 fifos
750 links
58198 symbolic links (41991 fast symbolic links)
5 sockets
--------
441824 files
e2fsck 1.41.14 (22-Dec-2010)
shrink file system 00:00:03 ( SUCCESS )
resize2fs /dev/sda3 104834047K
Resizing the filesystem on /dev/sda3 to 26208511 (4k) blocks.
The filesystem on /dev/sda3 is now 26208511 blocks long.resize2fs 1.41.14 (22-Dec-2010)
shrink partition from 99.98 GiB to 99.98 GiB 00:00:02 ( SUCCESS )
old start: 41441280
old end: 251111423
old size: 209670144 (99.98 GiB)
new start: 41441280
new end: 251109375
new size: 209668096 (99.98 GiB)
check file system on /dev/sda3 for errors and (if possible) fix them 00:00:37 ( SUCCESS )
e2fsck -f -y -v /dev/sda3
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 information441083 inodes used (6.73%)
1442 non-contiguous files (0.3%)
940 non-contiguous directories (0.2%)
# of inodes with ind/dind/tind blocks: 0/0/0
Extent depth histogram: 398558/437
6052142 blocks used (23.09%)
0 bad blocks
1 large file335674 regular files
47115 directories
57 character device files
25 block device files
0 fifos
750 links
58198 symbolic links (41991 fast symbolic links)
5 sockets
--------
441824 files
e2fsck 1.41.14 (22-Dec-2010)
grow file system to fill the partition 00:00:03 ( SUCCESS )
resize2fs /dev/sda3
Resizing the filesystem on /dev/sda3 to 26208512 (4k) blocks.
The filesystem on /dev/sda3 is now 26208512 blocks long.resize2fs 1.41.14 (22-Dec-2010)
check file system on /dev/sda3 for errors and (if possible) fix them 00:00:37 ( SUCCESS )
e2fsck -f -y -v /dev/sda3
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 information441083 inodes used (6.73%)
1442 non-contiguous files (0.3%)
940 non-contiguous directories (0.2%)
# of inodes with ind/dind/tind blocks: 0/0/0
Extent depth histogram: 398558/437
6052142 blocks used (23.09%)
0 bad blocks
1 large file335674 regular files
47115 directories
57 character device files
25 block device files
0 fifos
750 links
58198 symbolic links (41991 fast symbolic links)
5 sockets
--------
441824 files
e2fsck 1.41.14 (22-Dec-2010)
grow partition from 99.98 GiB to 123.43 GiB 00:00:02 ( SUCCESS )
old start: 41441280
old end: 251109375
old size: 209668096 (99.98 GiB)
new start: 41441280
new end: 300292095
new size: 258850816 (123.43 GiB)
move file system to the right 00:33:06 ( ERROR )
perform read-only test 00:33:06 ( ERROR )
using internal algorithm
read 99.98 GiB
finding optimal block size
read 16.00 MiB using a block size of 2.00 MiB 00:00:01 ( SUCCESS )
16.00 MiB of 16.00 MiB read
0.842462 seconds
read 16.00 MiB using a block size of 4.00 MiB 00:00:01 ( SUCCESS )
16.00 MiB of 16.00 MiB read
0.80048 seconds
read 16.00 MiB using a block size of 8.00 MiB 00:00:00 ( SUCCESS )
16.00 MiB of 16.00 MiB read
0.661705 seconds
read 16.00 MiB using a block size of 16.00 MiB 00:00:01 ( SUCCESS )
16.00 MiB of 16.00 MiB read
0.636349 seconds
optimal block size is 16.00 MiB
read 99.92 GiB using a block size of 16.00 MiB 00:33:03 ( ERROR )
60.18 GiB of 99.92 GiB read
Error while reading block at sector 124737536
60.24 GiB (64685604864 B) read
rollback last change to the partition table 00:00:02 ( SUCCESS )
shrink partition from 123.43 GiB to 99.98 GiB 00:00:02 ( SUCCESS )
old start: 41441280
old end: 300292095
old size: 258850816 (123.43 GiB)
new start: 41441280
new end: 251109375
new size: 209668096 (99.98 GiB)
libparted messages ( INFO )
Input/output error during read on /dev/sda
========================================Grow /dev/sda2 from 19.66 GiB to 43.11 GiB
========================================