1

Topic: Installing GParted under RHEL 5

Dear all,

Can somebody can help me to install gparted under Redhat Enterprise 5? At this time, this is the third required package I'm trying to install and each time I run ./configure another necessary package is missing. When I invoke ./configure for gparted I got this error:

checking for GTKMM... configure: error: Package requirements (gtkmm-2.4 > 2.8 ) were not met:

No package 'gtkmm-2.4' found

So I downloaded "gtkmm-2.4" package and ran ./configure:

checking for ATKMM... configure: error: Package requirements (glibmm-2.4 >= 2.12.8 atk >= 1.9.0) were not met:

No package 'glibmm-2.4' found

So, I dowloaded "glibmm-2.4" package and, once again, ran ./configure:

checking for GLIBMM... configure: error: Package requirements (sigc++-2.0 >= 2.0.0 glib-2.0 >= 2.9.0 gobject-2.0 >= 2.9.0 gmodule-2.0 >= 2.9.0) were not met:

No package 'sigc++-2.0' found

I stopped there. I'm unable to find that package. When I do a "rpm -a | grep sigc" I have this:

libsigc++-devel-1.2.5-4.el5.rf
libsigc++-1.2.5-4.el5.rf
libsigc++20-2.0.17-1.el5.rf

It seems that is not enough. Is somebody can help me with that? I'm looking at a great program to help me to extend my ext3 patitions online.

Regards,
Yanick

2

Re: Installing GParted under RHEL 5

I have a look at this asap (I am running some FC and Centos machines around, so ...)

Larry
GParted-project Admin
Former GParted-LiveCD maintainer (2007)

3

Re: Installing GParted under RHEL 5

So here we are :
I did the test on CentOS 5 :
With yum you need to install :

[root@ws157 Desktop]# yum install cairo-devel glib2-devel gtk2-devel pango-devel perl-XML-Parser libstdc++.i386 gcc-c++.i386
(ntfsprogs to allow GParted to work on NTFS partition, but not needed for compiling).

RPM to download and install (rpm.pbone.net for FC6 !)

[root@ws157 Desktop]# rpm -Uvh gtkmm24-2.10.7-1.fc6.i386.rpm gtkmm24-devel-2.10.7-1.fc6.i386.rpm glibmm24-2.12.5-1.fc6.i386.rpm glibmm24-devel-2.12.5-1.fc6.i386.rpm libsigc++20-devel-2.0.17-2.i386.rpm libsigc++20-2.0.17-2.i386.rpm cairomm-devel-1.2.4-1.fc6.i386.rpm cairomm-1.2.4-1.fc6.i386.rpm uuid-1.5.1-2.fc6.i386.rpm uuid-devel-1.5.1-2.fc6.i386.rpm e2fsprogs-devel-1.39-8.el5.i386.rpm

Usual commands

#unpack the tarball:
tar -xjf gparted-x.y.tar.bz2
cd gparted-x.y/
./configure --prefix=/usr
make
su -
make install

And GParted works like a charm smile

Larry
GParted-project Admin
Former GParted-LiveCD maintainer (2007)

4

Re: Installing GParted under RHEL 5

Dear Larry,

Thank you very much for your help. I confirm that it also works like a charm in RHEL 5.

I have some another questions for you.

1. Is that normal that I can't resize a partition while it is online (mounted)?

2. Is it normal that it took 3 hours and a half to extend a partition from 100GB to 150GB? Note that free space is at the end of the disk. I'm wondering what will happened when my partition will be 500GB large! smile

Thank you again smile

Yanick

5

Re: Installing GParted under RHEL 5

yanqui wrote:

Dear Larry,

Thank you very much for your help. I confirm that it also works like a charm in RHEL 5.

cool

I have some another questions for you.

1. Is that normal that I can't resize a partition while it is online (mounted)?

yeap !

2. Is it normal that it took 3 hours and a half to extend a partition from 100GB to 150GB? Note that free space is at the end of the disk. I'm wondering what will happened when my partition will be 500GB large! smile

Well I know it is, but it is not normal. In fact I guess this should be improved by the main dev, when he will get some free time....

Larry
GParted-project Admin
Former GParted-LiveCD maintainer (2007)

6

Re: Installing GParted under RHEL 5

extending should be very, very fast... can you provide the saved details of this operation?
The operation should consist of the following steps:
- scanning the filesystem
- extending the partition
- scanning the filesystem
- enlarging the filesystem

that's all, extending/enlarging partition/filesystem shouldn't take more than a couple of minutes, but scanning can take a very long time, depending on the filesystem. Usually the details provide all the necessary information to find the bottleneck.

7

Re: Installing GParted under RHEL 5

Hi,

I do not saved the operation details. I remember that the steps that was long was a "moving" process. Is this means sense to you?

I will retry the operation overnight and I will send you the log.

Yanick

8

Re: Installing GParted under RHEL 5

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)





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