On Tue, Aug 18, 2020 at 04:03:12PM -0400, Patrick wrote:
> Hello, I tried to create a new partition via disklabel but is limited to 244M
> size ? This is via the SATA interface of an armv7 Allwiner A10 (OlinuXino).
> Thanks in advance for any hint.
>
> =disklabel output - note the size of partition c is 1TB but ends up with only
> 244MB.
>
> OpenBSD area: 64-244188000; size: 244187936; free: 244187936
> # size offset fstype [fsize bsize cpg]
> c: 1953525168 0 unused
> sd0> a
> partition: [a] d
> offset: [64]
> size: [244187936] 1953525168
> FS type: [4.2BSD]
> sd0*> p
> OpenBSD area: 64-244188000; size: 244187936; free: 0
> # size offset fstype [fsize bsize cpg]
> c: 1953525168 0 unused
> d: 244187936 64 4.2BSD 2048 16384 1
>
>
> --> don't think armv7 uses fdisk ...anyhow fdisk reports OpenBSD MBR
> partition ending sector (15199) vs geometry (121601) ?
>
> Disk: sd0 geometry: 121601/255/63 [1953525168 Sectors]
> Offset: 0 Signature: 0xAA55
> Starting Ending LBA Info:
> #: id C H S - C H S [ start: size ]
> -------------------------------------------------------------------------------
> 0: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused
>
> 1: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused
>
> 2: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused
>
> *3: A6 0 1 2 - 15199 254 63 [ 64: 244187936 ] OpenBSD
>
MBR is used. Enlarge the OpenBSD partition, disklabel will adapt its
bounds and you should be good.
-Otto