Re: Problem mounting new Sandisk 1TB USB drive

From: Alexander Burke <alex_at_alexburke.ca>
Date: Fri, 12 Jan 2024 12:23:19 UTC
Hello,

IMHO, step one should be to repartition and format the disk with 
whichever tools and layout you prefer. As an added benefit, you get rid 
of the preloaded executable files you mention in a later message.

This should also solve the problem you're experiencing.

Cheers,
Alex

On 2024-01-10 05:40, Gary Aitken wrote:
> I have a new Sandisk 1TB thumb drive, USB-A on one end, USB-C on
> the other.
> If I plug it into my ubuntu laptop, it mounts fine and works.
> If I plug it into my fbsd box (13.2-RELEASE-p8 GENERIC amd64),
> it shows up:
>
> usb_msc_auto_quirk: UQ_MSC_NO_GETMAXLUN set for USB mass storage 
> device SanDisk SanDisk 3.2 Gen1 (0x0781:0x55b1)
> usb_msc_auto_quirk: UQ_MSC_NO_PREVENT_ALLOW set for USB mass storage 
> device SanDisk SanDisk 3.2 Gen1 (0x0781:0x55b1)
> ugen7.2: <SanDisk SanDisk 3.2 Gen1> at usbus7
> umass0 on uhub6
> umass0: <SanDisk SanDisk 3.2 Gen1, class 0/0, rev 2.10/1.10, addr 2> 
> on usbus7
> umass0:  SCSI over Bulk-Only; quirks = 0x8100
> umass0:8:0: Attached to scbus8
> da0 at umass-sim0 bus 0 scbus8 target 0 lun 0
> da0: <SanDisk SanDisk 3.2 Gen1 DL17> Removable Direct Access SPC-4 
> SCSI device
> da0: Serial Number A2003B9717F0A406
> da0: 40.000MB/s transfers
> da0: 954240MB (1954283520 512 byte sectors)
> da0: quirks=0x2<NO_6_BYTE>
> $ ls -lt /dev/da0*
> crw-rw----  1 root  operator  0xc7 Jan  9 20:59 /dev/da0s1
> crw-rw----  1 root  operator  0xcc Jan  9 20:59 /dev/da0
>
> but it won't mount:
>
> # mount.exfat /dev/da0s1 /mnt/memstick
> FUSE exfat 1.4.0 (libfuse2)
> fuse: failed to open fuse device: No such file or directory
> $ gpart show /dev/da0
> =>        63  1954283457  da0  MBR  (932G)
>           63        7489       - free -  (3.7M)
>         7552  1954275968    1  ntfs  (932G)
>
> Am I doing something wrong, or does the factory MS formatting
> need to be trashed and redone?
>
> If it needs to be reformatted, what's the proper procedure for a
>> 32G device?  I show a newfs and newfs_msdos in /sbin, but no 
> newfs_ntfs.
>
> Thanks,
>
> Gary
>