On Thu, 2 May 2013, Lars Engblom wrote:
> 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.

The size of the softraid volume is determined by the size of the RAID 
partitions (chunks) used to construct it. If softraid has created a 2TB 
volume then your disklabel presumably has 2TB RAID partitions. Unfortunately 
you have not included dmesg or disklabel output, so we cannot verify either 
of these things.
-- 

    "Action without study is fatal. Study without action is futile."
        -- Mary Ritter Beard

Reply via email to