1.1.5 bug install raid whit diagnosis partition

HI i try to install vyos 1.1.5 whit raid1

when ask to make the partition of 60mb for diagnosis make error in the log
Error:you request a partition from 0.00mb to 34.3Gb
The closed locations we ca manage is 512b to 1024fb

i try do he same whit vita 6.6 and error

Can just post the output of what you are doing, starting with the command(s) being issued and resulting error message?

Hi Microlinux

that i i have done

copy of the console whit log

vyos@vyos:~$ install image
Welcome to the VyOS install program. This script
will walk you through the process of installing the
VyOS image to a local hard drive.
Would you like to continue? (Yes/No) [Yes]: y
Probing drives: OK
Looking for pre-existing RAID groups…none found.
You have two disk drives:
sda 34359 MB
sdb 34359 MB
Would you like to configure RAID-1 mirroring on them? (Yes/No) [Yes]:y
This process will erase all data on both drives.
Are you sure you want to do this? (Yes/No) [No]: y
Deleting old partitions on drive sda
Deleting old partitions on drive sdb
Would you like me to create a 60 MB partition for diagnostics?
(Yes/No) [No]: y
Creating diag partition on drive sda
Done

Creating diag partition on drive sdb
Done

Creating data partition: /dev/sda2
Error creating primary partition on sda.
Please see /tmp/install-3077.log for more details.
Exiting…
vyos@vyos:~$ ca

Invalid command: [ca]

vyos@vyos:~$ cat /tmp/install-3077.log
turning off swaps…
Creating a new disklabel on sda
parted /dev/sda mklabel msdos
Creating root partition on /dev/sda
Creating a new disklabel on sdb
parted /dev/sdb mklabel msdos
Creating root partition on /dev/sdb
Creating root partition on /dev/sda
Error creating primary partition on sda.
parted /dev/sda mkpart primary 0% 34297
Error: You requested a partition from 0.00B to 34.3GB.
The closest location we can manage is 512B to 1048kB.
vyos@vyos:~$

It looks like you’re using a drive with sectors > 512 bytes, I’ll take a closer look when I have a moment.

Hello.
It is possible to reproduce this bug using VirtualBox . fdisk -l reports sector of 512b .
Could it be that the offset is wrong ? The error only happens when using diagnostics partition, it tries to create a partition starting at 0% instead of 60 MB.