Discussion:
Install OpenBSD on disks larger than 2TB
(too old to reply)
Leo Unglaub
2016-08-04 10:20:14 UTC
Permalink
Hey,
OpenBSD can boot off UEFI & GPT since 5.9. Are you booting on MBR or UEFI?
yes, thats true and it works fine. The problem here seams to be the raid
1. Booting from an Raid 1 with disks larger than 2 TB seams to be
broken. Maybe its not intended to work, but i am unable to find a hint
about that in the bioctl,bio,softraid manual page. (Maybe thats the
wrong place?)

Greetings
Leo
Marc Peters
2016-08-04 10:39:56 UTC
Permalink
Post by Leo Unglaub
yes, thats true and it works fine. The problem here seams to be the raid
1. Booting from an Raid 1 with disks larger than 2 TB seams to be
broken. Maybe its not intended to work, but i am unable to find a hint
about that in the bioctl,bio,softraid manual page. (Maybe thats the
wrong place?)
Greetings
Leo
Works for me:

~ $ sudo disklabel -p m sd2
# /dev/rsd2c:
type: SCSI
disk: SCSI disk
label: SR RAID 1
duid: 7e4e73c2d1d85347
flags:
bytes/sector: 512
sectors/track: 255
tracks/cylinder: 511
sectors/cylinder: 130305
cylinders: 44975
total sectors: 5860532576 # total bytes: 2861588.2M
boundstart: 256
boundend: 5860532576
drivedata: 0

16 partitions:
# size offset fstype [fsize bsize cpg]
a: 5153.5M 256 4.2BSD 2048 16384 1 # /
b: 8144.1M 10554688 swap # none
c: 2861588.2M 0 unused
d: 15397.4M 27233760 4.2BSD 2048 16384 1 # /usr
e: 5090.0M 58767552 4.2BSD 2048 16384 1 # /tmp
f: 10180.1M 69191936 4.2BSD 2048 16384 1 # /home
g: 51154.9M 90040736 4.2BSD 2048 16384 1 # /var
h: 921551.5M 194806016 4.2BSD 8192 65536 1 # /var/www
i: 921551.6M 2082143488 4.2BSD 8192 65536 1 # /mail
j: 923364.9M 3969481088 4.2BSD 8192 65536 1 # /dumps

hth,
Marc
Leo Unglaub
2016-08-05 09:36:37 UTC
Permalink
Hey,
Post by Marc Peters
~ $ sudo disklabel -p m sd2
type: SCSI
disk: SCSI disk
label: SR RAID 1
duid: 7e4e73c2d1d85347
bytes/sector: 512
sectors/track: 255
tracks/cylinder: 511
sectors/cylinder: 130305
cylinders: 44975
total sectors: 5860532576 # total bytes: 2861588.2M
boundstart: 256
boundend: 5860532576
drivedata: 0
did you do anything special during the installation? Or did you simply
follow the installer?
Marc Peters
2016-08-05 11:11:10 UTC
Permalink
Post by Leo Unglaub
Hey,
did you do anything special during the installation? Or did you simply
follow the installer?
dropped to a shell, created the raid by hand. followed the installer but
fixed the boundaries for disklabel as mentioned in an earlier version of
the FAQ which discussed installations on bigger disks way back when i
originally installed that box. You can still find it in the attic:

http://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/www/faq/faq14.html?rev=1.295&content-type=text/html#LargeDrive

There is also a section for "Disks larger than 2TB".

But you didn't answered the initial question by Alex, if you install on
a BIOS system or on a UEFI system? UEFI systems with GPT layout need
some addtional steps to get it off the ground correctly.

Loading...