Hi,
Here is the log of an FS expension I did last night. It took near an hour to resize from 20GB to 35GB.
It seems that gparted is moving the partition to the right (put blank space at the beginning), but I'm not sure.
Thanks
Yanick
=====================================
GParted 0.3.3
Libparted 1.8.1
Grow /dev/cciss/c0d3p5 from 19.53 GiB to 34.17 GiB 49:20 ( SUCCES )
calibrate /dev/cciss/c0d3p5 00:00 ( SUCCES )
path: /dev/cciss/c0d3p5
start: 64
end: 40955039
size: 40954976 (19.53 GiB)
calculate new size and position of /dev/cciss/c0d3p5 00:00 ( SUCCES )
requested start: 0
requested end: 71665964
requested size: 71665965 (34.17 GiB)
new start: 126
new end: 71665964
new size: 71665839 (34.17 GiB)
check filesystem on /dev/cciss/c0d3p5 for errors and (if possible) fix them 00:26 ( SUCCES )
e2fsck -f -y -v /dev/cciss/c0d3p5
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
13 inodes used (0.00%)
1 non-contiguous inode (7.7%)
# of inodes with ind/dind/tind blocks: 1/1/1
4060502 blocks used (79.32%)
0 bad blocks
2 large files
1 regular file
3 directories
0 character device files
0 block device files
0 fifos
0 links
0 symbolic links (0 fast symbolic links)
0 sockets
--------
4 files
e2fsck 1.39 (29-May-2006)
move filesystem to the right 47:31 ( SUCCES )
perform readonly test 02:44 ( SUCCES )
using internal algorithm
read 40954976 sectors
finding optimal blocksize
read 32768 sectors using a blocksize of 128 sectors 00:01 ( SUCCES )
32768 of 32768 read
1.07279 seconds
read 32768 sectors using a blocksize of 256 sectors 00:01 ( SUCCES )
32768 of 32768 read
0.654436 seconds
read 32768 sectors using a blocksize of 512 sectors 00:00 ( SUCCES )
32768 of 32768 read
0.432878 seconds
read 32768 sectors using a blocksize of 1024 sectors 00:00 ( SUCCES )
32768 of 32768 read
0.292629 seconds
read 32768 sectors using a blocksize of 2048 sectors 00:01 ( SUCCES )
32768 of 32768 read
0.192634 seconds
read 32768 sectors using a blocksize of 4096 sectors 00:00 ( SUCCES )
32768 of 32768 read
0.145974 seconds
read 32768 sectors using a blocksize of 8192 sectors 00:00 ( SUCCES )
32768 of 32768 read
0.132216 seconds
read 32768 sectors using a blocksize of 16384 sectors 00:00 ( SUCCES )
32768 of 32768 read
0.140255 seconds
optimal blocksize is 8192 sectors (4.00 MiB)
read 40692832 sectors using a blocksize of 8192 sectors 02:41 ( SUCCES )
40692832 of 40692832 read
40954976 sectors read
perform real move 44:47 ( SUCCES )
using internal algorithm
copy 40954976 sectors
finding optimal blocksize
copy 32768 sectors using a blocksize of 64 sectors 00:00 ( SUCCES )
32768 of 32768 copied
0.250451 seconds
copy 32768 sectors using a blocksize of 128 sectors 00:02 ( SUCCES )
32768 of 32768 copied
1.65218 seconds
optimal blocksize is 64 sectors (32.00 KiB)
copy 40889440 sectors using a blocksize of 64 sectors 44:45 ( SUCCES )
40889440 of 40889440 copied
40954976 sectors copied
move partition to the right 00:01 ( SUCCES )
old start: 64
old end: 40955039
old size: 40954976 (19.53 GiB)
new start: 126
new end: 40955101
new size: 40954976 (19.53 GiB)
check filesystem on /dev/cciss/c0d3p5 for errors and (if possible) fix them 00:24 ( SUCCES )
e2fsck -f -y -v /dev/cciss/c0d3p5
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
13 inodes used (0.00%)
1 non-contiguous inode (7.7%)
# of inodes with ind/dind/tind blocks: 1/1/1
4060502 blocks used (79.32%)
0 bad blocks
2 large files
1 regular file
3 directories
0 character device files
0 block device files
0 fifos
0 links
0 symbolic links (0 fast symbolic links)
0 sockets
--------
4 files
e2fsck 1.39 (29-May-2006)
grow filesystem to fill the partition 00:00 ( SUCCES )
resize2fs /dev/cciss/c0d3p5
resize2fs 1.39 (29-May-2006)
The filesystem is already 5119372 blocks long. Nothing to do!
calculate new size and position of /dev/cciss/c0d3p5 00:00 ( SUCCES )
requested start: 126
requested end: 71665964
requested size: 71665839 (34.17 GiB)
new start: 126
new end: 71665964
new size: 71665839 (34.17 GiB)
check filesystem on /dev/cciss/c0d3p5 for errors and (if possible) fix them 00:25 ( SUCCES )
e2fsck -f -y -v /dev/cciss/c0d3p5
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
13 inodes used (0.00%)
1 non-contiguous inode (7.7%)
# of inodes with ind/dind/tind blocks: 1/1/1
4060502 blocks used (79.32%)
0 bad blocks
2 large files
1 regular file
3 directories
0 character device files
0 block device files
0 fifos
0 links
0 symbolic links (0 fast symbolic links)
0 sockets
--------
4 files
e2fsck 1.39 (29-May-2006)
grow partition from 19.53 GiB to 34.17 GiB 00:01 ( SUCCES )
old start: 126
old end: 40955101
old size: 40954976 (19.53 GiB)
new start: 126
new end: 71665964
new size: 71665839 (34.17 GiB)
check filesystem on /dev/cciss/c0d3p5 for errors and (if possible) fix them 00:29 ( SUCCES )
e2fsck -f -y -v /dev/cciss/c0d3p5
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
13 inodes used (0.00%)
1 non-contiguous inode (7.7%)
# of inodes with ind/dind/tind blocks: 1/1/1
4060502 blocks used (79.32%)
0 bad blocks
2 large files
1 regular file
3 directories
0 character device files
0 block device files
0 fifos
0 links
0 symbolic links (0 fast symbolic links)
0 sockets
--------
4 files
e2fsck 1.39 (29-May-2006)
grow filesystem to fill the partition 00:03 ( SUCCES )
resize2fs /dev/cciss/c0d3p5
Resizing the filesystem on /dev/cciss/c0d3p5 to 8958229 (4k) blocks.
The filesystem on /dev/cciss/c0d3p5 is now 8958229 blocks long.
resize2fs 1.39 (29-May-2006)
========================================