[2.6,UI] First partition gets created as part2 on large disks
Bug #1821310 reported by
Björn Tillenius
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Invalid
|
Medium
|
Unassigned |
Bug Description
This is with MAAS master as 086c3912d72026e
I commissioned a machine with 6 disks and removed the / mount point and the first partition of sda.
Now, when I go and create a partition for another disk, it says that the created partition will be part1, as expected. But when I go ahead and create the partition, it's shown as part2.
The underlying issue is that for disks using GPT, we reserve one
partition for the BIOS partition. But hiding that, and simply
show that the first partition is part2 is very confusing.
See attached screenshots.
summary: |
- [2.6,UI] UI shows first partition as part1 on GPT table when it should - be part2 + [2.6,UI] First partition gets created as part2 on large disks |
description: | updated |
To post a comment you must log in.
This is actually a UI error, it should show as it will be creating part2 not part1. That is because a disk that uses a GPT partition always reserves part1 for a bios_boot partition. That partition is not modifiable by the user or useful in anyway so its not presented in the UI or the API.
All partitions created on a GPT partition table start at part2 and go from there.