-   Linux - Newbie (
-   -   Extend/Grow a partition (

dsrm 10-17-2007 10:00 AM

Extend/Grow a partition
Hi everyone....

I'll get right to it.

I have some HP Proliant DL360 G4 servers that are running out of disk space. They currently have two 72 GB drives in a hardware RAID 1.

I am going to install 146 GB drives in these servers and use all of the extra space in the last partition/file system.

Currently, it looks something like this:

Disk /dev/cciss/c0d0: 72.8 GB, 72833679360 bytes
255 heads, 32 sectors/track, 17433 cylinders
Units = cylinders of 8160 * 512 = 4177920 bytes

Device Boot Start End Blocks Id System
/dev/cciss/c0d0p1 * 1 25 101984 83 Linux
/dev/cciss/c0d0p2 26 2595 10485600 83 Linux
/dev/cciss/c0d0p3 2596 3109 2097120 82 Linux swap
/dev/cciss/c0d0p4 3110 17433 58441920 83 Linux

What I want to do is to leave everything the same except for the last partition, which will extend by the additional 70+ GB of the new disk.

This is a production server so I want to maintain the current data that is on all partitions of the server.

This is Red Hat AS 3.0
Kernel is 2.4
I am not using LVM.

I think the easy part is to replace one of my 72 GB disks with a 146 GB disk and let that sync/remirror. Once that's done, do the same thing with the other 72Gb disk.

Then my server has two 146GB disks, but with only 72GB of usable space.

It's after the easy part, where I get lost/nervous.

Any help would be greatly appreciated.

If this is the wrong forum, let me know where it would be better placed.

lugoteehalt 10-17-2007 11:22 AM

Without understanding the details 'parted' is powerful and friendly.

dsrm 10-17-2007 11:45 AM


Originally Posted by lugoteehalt (Post 2927420)
Without understanding the details 'parted' is powerful and friendly.

And where would I acquire "parted"??

depper 10-17-2007 03:17 PM

dsrm 10-18-2007 09:37 AM


Originally Posted by depper (Post 2927630)

gparted is actually what I ended up using last night and it worked great.
I just thought "parted" was another tool.

gparted is definitely friendly. It was very easy to use and I was able to complete my task rather simply.

depper 10-19-2007 12:26 AM

There is another tool called parted (, gparted just builds on it :)

All times are GMT -5. The time now is 02:31 PM.