On 2020-06-26, Rupert Gallagher <r...@protonmail.com> wrote: > Ref. disklabel(8) >> The maximum disk and partition size is 64PB. > > Is that so? Let see...
Yes, that is the maximum size for a disklabel > OpenBSD 6.7 (GENERIC.MP) #2: Thu JunĀ 4 09:55:08 MDT 2020 > > $> doas dmesg | grep sd3 > sd3 at scsibus2 targ 2 lun 0: <ATA, ST5000LM000-2AN1, 0001> > naa.5000c500c3ad5c90 > sd3: 4769307MB, 512 bytes/sector, 9767541168 sectors > > $> doas disklabel -p t sd3 > # /dev/rsd3c: > type: SCSI > disk: SCSI disk > label: ST5000LM000-2AN1 > duid: [omitted] > flags: > bytes/sector: 512 > sectors/track: 255 > tracks/cylinder: 511 > sectors/cylinder: 130305 > cylinders: 74959 > total sectors: 9767541168 # total bytes: 4.5T > boundstart: 256 > boundend: 4294852800 > drivedata: 0 > > 16 partitions: > #\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0 > > size\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0 > offset\xc2\xa0 fstype [fsize bsize\xc2\xa0\xc2\xa0 cpg] > \xc2\xa0 > c:\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0 > > 4.5T\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0 > 0\xc2\xa0 unused > > $> doas disklabel -E sd3 > sd3> p t > OpenBSD area: 256-4294852800; size: 2.0T; free: 2.0T either use disklabel's "b" command to override the boundaries coming from MBR and use larger ones in the disklabel (enter * for the end to use the whole disk), or use GPT instead of MBR.