Version: 5.3 GENERIC.MP#62 amd64

Problem: Softraid is not able to use bigger than 2Tb RAID partition without truncating the space.

*How to reproduce*

1. Have two 4Tb disks (real or qemu disks).

2. fdisk -yi sd0 && fdisk -yi sd1
Now we have two 2Tb partitions created as the FAQ says.

3. disklabel -E sd0
Press 'b' to change boundary (from FAQ), press '*' to get whole disk.
a a
Default values for the new partition, except for Filesystem that gets changed to RAID.

4. Copy over disklable to the other disk. Now we have been creating partitions according to FAQ for big disks (http://www.openbsd.org/faq/faq14.html)

5. bioctl -c 1 -l /dev/sd0a,/dev/sd1a softraid 0

sd2 gets created at this point and it is truly 2Tb, here it is not possible to change the boundary to get bigger partitions.

Softraid should not care about the partition created with fdisk, it should just care about the disklabel.

Reply via email to