I have two disks, one an MBR partitioned 1TB external SSD, and the other a
GPT partitioned 5TB external HDD. Both have a single ExFAT partition on
them and both have the same contents. Both show up as sd1 under "sysctl
hw.disknames" (when plugged in one at a time, that is). I am able to mount
the MBR partitioned SSD with the command

mount.exfat-fuse /dev/sd1i /mnt

however when I try the same command with the GPT partitioned HDD I get the
error

FUSE exfat 1.2.8
ERROR: failed to open '/dev/sd1i': Device not configured.

I checked that the /dev/sd1i block device exists. I am running OpenBSD 6.9.
Here's the output of disklabel sd1

# /dev/rsd1c:
type: SCSI
disk: SCSI disk
label: Expansion Desk
duid: 0000000000000000
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 608001
total sectors: 9767541167
boundstart: 0
boundend: 9767541167
drivedata: 0

16 partitions:
#                size           offset  fstype [fsize bsize   cpg]
  c:       9767541167                0  unused


Here's the output of fdisk -v sd1
Primary GPT:
Disk: sd1       Usable LBA: 34 to 9767541133 [9767541167 Sectors]
GUID: 570ab069-1869-44ed-911b-a568af1275ff
   #: type                                 [       start:         size ]
      guid                                 name
------------------------------------------------------------------------
   0: EFI Sys                              [          40:       409600 ]
      a4bd4c86-177d-4e02-a9f9-afc51ade8d87 EFI System Partition

   1: FAT12                                [      411648:   9767129088 ]
      7157c7e5-978f-4a43-96af-fa6648710488


Secondary GPT:
Disk: sd1       Usable LBA: 34 to 9767541133 [9767541167 Sectors]
GUID: 570ab069-1869-44ed-911b-a568af1275ff
   #: type                                 [       start:         size ]
      guid                                 name
------------------------------------------------------------------------
   0: EFI Sys                              [          40:       409600 ]
      a4bd4c86-177d-4e02-a9f9-afc51ade8d87 EFI System Partition

   1: FAT12                                [      411648:   9767129088 ]
      7157c7e5-978f-4a43-96af-fa6648710488


MBR:
Disk: sd1 geometry: 267349/255/63 [4294961685 Sectors]
Offset: 0 Signature: 0xAA55
            Starting         Ending         LBA Info:
 #: id      C   H   S -      C   H   S [       start:        size ]
-------------------------------------------------------------------------------
 0: EE      0   0   2 - 267349  89   3 [           1:  4294967294 ] EFI GPT

 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


A problem seems to be that there is no disklabel entry for the ExFAT
partition. Additionally, xxd successfully reads the first few sectors of
/dev/sd1c so I don't think the hardware is the issue.

How can I mount the HDD ExFAT partition?

Thanks!

Rob

Reply via email to