OpenBSD 7.5 GENERIC.MP#82 amd64
Hi all:
I formatted a 2TB USB Hard Drive under Linux and get the following from fdisk:
# fdisk sd1
Disk: sd1 geometry: 243201/255/63 [3907029167 Sectors]
Offset: 0 Signature: 0x0
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: 00 0 0 0 - 0 0 0 [ 0: 0 ] Unused
I had to add a disklabel before I could mount it and use it on OpenBSD:
# disklabel sd1
# /dev/rsd1c:
type: SCSI
disk: SCSI disk
label: BUP Slim
duid: 3cca86bd1e312e1f
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 243201
total sectors: 3907029167
boundstart: 0
boundend: 3907029167
16 partitions:
# size offset fstype [fsize bsize cpg]
c: 3907029167 0 unused
i: 3907029167 0 unknown
It does have an signed DUID:
# sysctl hw.disknames
hw.disknames=sd0:c9251986e646484c,sd1:3cca86bd1e312e1f
I have been using it for several days and I write to it both under
Linux and OpenBSD.
What am I doing wrong here that no partitions show un in fdisk?
Here is the relevant dmesg info:
scsibus4 at umass0: 2 targets, initiator 0
sd1 at scsibus4 targ 1 lun 0: <Seagate, BUP Slim, 1708>
serial.0bc2ac300000NAEA4KVV
sd1: 1907729MB, 512 bytes/sector, 3907029167 sectors
/dev/sd1i: file system not clean; please fsck(8)
Thanks in advance for any advice on this.
--
Regards,
Jonathan