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.
|