On Sun, 12 Oct 2025 22:16:40, Jan Stary wrote:
> What is the command you ran,
> what is the content of the protofile,
> and what is the output?

Beside my real server then same occurs in a VM.
Host is amd64 7.7, 96G memory, 173G disk
VM is amd64 7.7, 1G memory, 2G disk

VM:
/tmp# dmesg | head -2
OpenBSD 7.7 (GENERIC) #2: Sun Jun 29 09:03:32 MDT 2025
    r...@syspatch-77-amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC
/tmp#
/tmp# disklabel sd0 > protofile
/tmp# cat protofile
# /dev/rsd0c:
type: SCSI
disk: SCSI disk
label: Block Device
duid: dd667e6f2227cc64
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 64
sectors/cylinder: 4032
cylinders: 1039
total sectors: 4192256
boundstart: 64
boundend: 4192256

16 partitions:
#                size           offset  fstype [fsize bsize   cpg]
  a:          4052256               64  4.2BSD   2048 16384 12960 # /
  b:           139936          4052320    swap                    # none
  c:          4192256                0  unused
/tmp#
/tmp# disklabel -R sd0 protofile
/tmp# disklabel sd0 | grep duid
duid: d47b977e69d53654
/tmp# disklabel -R sd0 protofile
/tmp# disklabel sd0 | grep duid
duid: e81c7332915ec806
/tmp# disklabel -R sd0 protofile
/tmp# disklabel sd0 | grep duid
duid: 70fedd09faf9df92
/tmp# disklabel -R sd0 protofile
/tmp# disklabel sd0 | grep duid
duid: 49fa30e23d26e953
/tmp# disklabel -R sd0 protofile
/tmp# disklabel sd0 | grep duid
duid: 7186ecd0b9d2f9c0
/tmp# disklabel -R sd0 protofile
/tmp# disklabel sd0 | grep duid
duid: d13fd4deb7e1d239
/tmp# disklabel -R sd0 protofile
/tmp# disklabel sd0 | grep duid
duid: 56efeb3881f66210
/tmp#

Reply via email to