Hello
I have recently added a hard disk to an existing raid array container. I wish to create a new partion, assign the new hard disk space to the partition, and then ultimately add the partition to an existing lvm. please see below:
[root@pasty ~]# fdisk /dev/sda
The number of cylinders for this disk is set to 35632.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
(e.g., DOS FDISK, OS/2 FDISK)
Command (m for help): p
Disk /dev/sda: 293.0 GB, 293089574912 bytes
255 heads, 63 sectors/track, 35632 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 14 24234 194555182+ 8e Linux LVM
/dev/sda3 24235 25126 7164990 83 Linux
/dev/sda4 25127 26724 12835935 5 Extended
/dev/sda5 25127 25577 3622626 8e Linux LVM
/dev/sda6 25578 25959 3068383+ 83 Linux
/dev/sda7 25960 26341 3068383+ 83 Linux
/dev/sda8 26342 26596 2048256 82 Linux swap
/dev/sda9 26597 26723 1020096 83 Linux
Command (m for help):
My problem is, when i attempt to create the new partition (sda10) i m not prompted to specify the end cylinder(ie the size of the partion). instead i end up with a partition of no specified size:
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 14 24234 194555182+ 8e Linux LVM
/dev/sda3 24235 25126 7164990 83 Linux
/dev/sda4 25127 26724 12835935 5 Extended
/dev/sda5 25127 25577 3622626 8e Linux LVM
/dev/sda6 25578 25959 3068383+ 83 Linux
/dev/sda7 25960 26341 3068383+ 83 Linux
/dev/sda8 26342 26596 2048256 82 Linux swap
/dev/sda9 26597 26723 1020096 83 Linux
/dev/sda10 26724 26724 8001 83 Linux
any idea how i can increase the size of partition sda10 to utilise the space on the new hardisk??
any help will be much appreciated