Is there a reason we wouldnt take the next step to make the disk partition default type be gpt for >2TB 'disks'.
I tested this change and here was the partition table that resulted - as expected - I didnt declare the full disk size
2014-10-07 16:31:40.478 8298 DEBUG ironic.common.utils [-] Execution completed, command line is "parted -a optimal -s /dev/disk/by-path/ip-10.10.10.5:3260-iscsi-iqn-057c7bb8-df01-4e90-9fb3-c598ea2618ee-lun-1 -- unit MiB mklabel gpt mkpart primary 1 2764801 mkpart primary 2764801 2795521"
(parted) unit mib (parted) print Model: HP LOGICAL VOLUME (scsi) Disk /dev/sda: 3815394MiB Sector size (logical/physical): 512B/512B Partition Table: gpt
Number Start End Size File system Name Flags 1 1.00MiB 2764801MiB 2764800MiB ext4 primary 2 2764801MiB 2795521MiB 30720MiB ext4 primary
Is there a reason we wouldnt take the next step to make the disk partition default type be gpt for >2TB 'disks'.
I tested this change and here was the partition table that resulted - as expected - I didnt declare the full disk size
2014-10-07 16:31:40.478 8298 DEBUG ironic.common.utils [-] Execution completed, command line is "parted -a optimal -s /dev/disk/ by-path/ ip-10.10. 10.5:3260- iscsi-iqn- 057c7bb8- df01-4e90- 9fb3-c598ea2618 ee-lun- 1 -- unit MiB mklabel gpt mkpart primary 1 2764801 mkpart primary 2764801 2795521"
(parted) unit mib
(parted) print
Model: HP LOGICAL VOLUME (scsi)
Disk /dev/sda: 3815394MiB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Number Start End Size File system Name Flags
1 1.00MiB 2764801MiB 2764800MiB ext4 primary
2 2764801MiB 2795521MiB 30720MiB ext4 primary