How to mount ExFAT USB drive

joe mcguckin joe at via.net
Thu Mar 11 03:23:37 UTC 2021


I have a 5G portable USB drive, Apple reports is as an ExFAT drive.

How do I mount it on FreeBSD? I’ve tried the following:

mount -v -t msdosfs /dev/da30p2 /t

and I get the following error:

/dev/diskid # mount	-v -t msdosfs /dev/da30p2 /t
mount_msdosfs: /dev/da30p2: Invalid argument
/dev/gpt/gproot on / (ufs, local, soft-updates, writes: sync 33173 async 3728577, reads: sync 154542 async 7901, fsid f1a571568d889ee3)

# gpart list



Geom name: da30
modified: false
state: OK
fwheads: 255
fwsectors: 63
last: 9767541133
first: 34
entries: 128
scheme: GPT
Providers:
1. Name: da30p1
   Mediasize: 209715200 (200M)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r0w0e0
   efimedia: HD(1,GPT,f20455b7-8d0e-4572-a9f5-606e76f17eca,0x28,0x64000)
   rawuuid: f20455b7-8d0e-4572-a9f5-606e76f17eca
   rawtype: c12a7328-f81f-11d2-ba4b-00a0c93ec93b
   label: EFI System Partition
   length: 209715200
   offset: 20480
   type: efi
   index: 1
   end: 409639
   start: 40
2. Name: da30p2
   Mediasize: 5000770093056 (4.5T)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r0w0e0
   efimedia: HD(2,GPT,bf8062f3-aa81-4080-b5e2-ae402b4561f2,0x64800,0x2462a9000)
   rawuuid: bf8062f3-aa81-4080-b5e2-ae402b4561f2
   rawtype: ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
   label: (null)
   length: 5000770093056
   offset: 210763776
   type: ms-basic-data
   index: 2
   end: 9767540735
   start: 411648
Consumers:
1. Name: da30
   Mediasize: 5000981077504 (4.5T)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r0w0e0

# dmesg

ugen7.2: <Seagate BUP Portable> at usbus7
umass0 on uhub7
umass0: <Seagate BUP Portable, class 0/0, rev 2.10/17.07, addr 2> on usbus7
umass0:  SCSI over Bulk-Only; quirks = 0xc101
umass0:7:0: Attached to scbus7
da30 at umass-sim0 bus 0 scbus7 target 0 lun 0
da30: <Seagate BUP Portable 1707> Fixed Direct Access SPC-4 SCSI device
da30: Serial Number 00000000NABANLJ9
da30: 40.000MB/s transfers
da30: 4769307MB (9767541167 512 byte sectors)
da30: quirks=0x2<NO_6_BYTE>

Joe McGuckin
ViaNet Communications

joe at via.net
650-207-0372 cell
650-213-1302 office
650-969-2124 fax





More information about the freebsd-fs mailing list