create_primary_partitions sometimes attempts to create last partition larger than free space
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
partman-auto (Debian) |
Fix Released
|
Unknown
|
|||
partman-auto (Ubuntu) |
Fix Released
|
High
|
Colin Watson |
Bug Description
Binary package hint: partman-auto
Preseeding an expert_recipe fails on amd64 with the message "Can't have a partition outside the disk!".
The vm guest has two block devices of 2Gb each.
The partition part of the preseed file is the following:
# The method should be set to "raid".
d-i partman-auto/method string raid
# Specify the disks to be partitioned. They will all get the same layout,
# so this will only work if the disks are the same size.
d-i partman-auto/disk string /dev/sda /dev/sdb
# Next you need to specify the physical partitions that will be used.
d-i partman-
0 raid $primary{ } method{ raid } . 64 256 200% raid $primary{ } method{ r
aid } .
# Last you need to specify how the previously defined partitions will be
# used in the RAID setup. Remember to use the correct partition numbers
# for logical partitions.
# Parameters are:
# <raidtype> <devcount> <sparecount> <fstype> <mountpoint> # <devices> <sparedevices>
# RAID levels 0, 1 and 5 are supported; devices are separated using "#"
d-i partman-
# This makes partman automatically partition without confirmation.
d-i partman-md/confirm boolean true
d-i partman/
d-i partman/
d-i partman/confirm boolean true
mdadm mdadm/boot_degraded boolean true
The exact same pressed used with the i386 installer works.
Changed in partman-auto: | |
status: | New → Confirmed |
Changed in partman-auto (Debian): | |
status: | Unknown → New |
tags: | added: iso-testing |
Changed in partman-auto (Debian): | |
status: | New → Fix Released |
I've attached the log of partman.