So I am trying to extend the disk space on a VM of Centos5 running cPanel.
Apparently my boss says this is easy but invariably I seem to have found a problem and cant seem to get it to play ball. The disk used to be 15GB and is now 200GB (changed via vSphere) and I can now see that the size of /dev/sda has
Disk /dev/sda: 214.7 GB, 214748364800 bytes 255 heads, 63 sectors/track, 26108 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sda1 * 1 38 305203+ 83 Linux /dev/sda2 39 299 2096482+ 83 Linux /dev/sda3 300 556 2064352+ 82 Linux swap / Solaris /dev/sda4 557 2088 12305790 5 Extended /dev/sda5 557 2088 12305758+ 83 Linux
have tried removing sda5 and then creating a new partiotion in its place however it gives me the correct starting block (557) but gives me the last cyclinder option of 2088, not 26108. This means that it is still reading as the same size whne I write the partition info to the disk. Bouncing the server has not helped either. Have I fundamentally misunderstood the method for extending the disk on Centos? Ta