I'm having trouble extending my partition on a XenServer 6.5. I originally had a 1.4TiB device (hardware RAID5) that I since upgraded to 10.9TiB. I upgraded the RAID by swapping out one disk at a time until the 4 disks were replaced.
I then used the RAID configuration to extend the RAID to the full 10.9TiB size.
=> ctrl slot=4 ld all show status logicaldrive 1 (10.9 TB, 5): OK
I've next told Xen dom to rescan the scsi device:
echo 1 > /sys/block/sda/device/rescan
Now when I start gdisk, I see the following:
Disk /dev/sda: 23441913520 sectors, 10.9 TiB Logical sector size: 512 bytes Disk identifier (GUID): A28B730F-3064-494E-BD7E-DDE8CAD5A12D Partition table holds up to 128 entries First usable sector is 34, last usable sector is 2930122766 Partitions will be aligned on 2048-sector boundaries Total free space is 6042 sectors (3.0 MiB) Number Start (sector) End (sector) Size Code Name 1 2048 8388641 4.0 GiB 0700 2 8390656 16777249 4.0 GiB 0700 3 16779264 2930122766 1.4 TiB 8E00
So I see that
gdisk is able to see the full 10.9TiB, but I can't seem to delete and recreate parititon 3 to be larger than the original 1.4TiB. Furthermore, it says
last usable sector is 2930122766.
How can I get gdisk to allow me to create a partition that goes from sectors 16779264-23441913520?