I've got a server that needs more space. To achieve this we added space (by extending the VMware disk attached to it).
Normally this isn't an issue, because we just add an new partition and LVM it from there, but this host predates our deployment of LVM everywhere.
Thus i'm facing this issue:
Command (m for help): p
Disk /dev/sda: 204.0 GB, 204010946560 bytes
255 heads, 63 sectors/track, 24802 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 16 128488+ 83 Linux
/dev/sda2 17 538 4192965 83 Linux
/dev/sda3 539 799 2096482+ 82 Linux swap / Solaris
/dev/sda4 800 18275 140375970 5 Extended
/dev/sda5 800 1060 2096451 83 Linux
/dev/sda6 1061 1321 2096451 83 Linux
/dev/sda7 1322 1582 2096451 83 Linux
/dev/sda8 1583 1843 2096451 83 Linux
/dev/sda9 1844 18275 131990008+ 83 Linux
Command (m for help): v
104871377 unallocated sectors
Command (m for help): n
No free sectors available
Our current theory is that the unallocated sectors can not be assigned because they aren't part of the extended partition, and thus ... we go in a circle.
So what i believe the way forward is to extend sda4 so that i can then create an sda10 inside of it. Anyone have any ideas on how to do this? I was thinking gparted may do the trick ... but being a server i'm in runlevel3, with no X...