On 22/12/21 13:35 Tilo Stritzky wrote: Um, well.. What I was going to say is, for some reason the default disklabel doesn't pick up your partitions (it should also show the EFI, but doesn't).
As a quick-and-dirty fix you cold try and change the partition ID to something that's picked up by the default label. 3f929abc-650c-4237-af34-2027ddc585e5 should work. For a proper fix, find where the partition IDs are kept and add yours. (With an MBR disk you could force feed a handcrafted disklabel but that won't work here because on a GPT disk without OpenBSD partition the disklabel and the primary GPT share a physical sector and that won't work.) > On 21/12/21 18:04 Rob Whitlock wrote: > > 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 >

