Unable to mount USB Flash memory created on CentOS

Polytropon freebsd at edvax.de
Sat Jul 29 09:01:50 UTC 2017


On Fri, 28 Jul 2017 16:58:15 -0400, James B. Byrne wrote:
> This is the second (of three) stick involved.
> 
> ugen3.3: <Kingston> at usbus3
> umass1: <Kingston DataTraveler 2.0, class 0/0, rev 2.00/1.00, addr 3>
> on usbus3
> umass1:  SCSI over Bulk-Only; quirks = 0xc100
> umass1:6:1: Attached to scbus6
> da1 at umass-sim1 bus 1 scbus6 target 0 lun 0
> da1: <Kingston DataTraveler 2.0 6.00> Removable Direct Access SCSI-2
> device
> da1: Serial Number 09B17B4031F15E08
> da1: 40.000MB/s transfers
> da1: 489MB (1001472 512 byte sectors)
> da1: quirks=0x3<NO_SYNC_CACHE,NO_6_BYTE>
> WARNING: R/W mount denied.  Filesystem is not clean - run fsck
> 
> # gpart show da1
> =>     32  1001440  da1  MBR  (489M)
>        32       31       - free -  (16K)
>        63  1001409    1  linux-data  [active]  (489M)

And here you can see the correct identification for the
Linux partition (compared to the initial example).



> fsck /dev/da1
> fsck: Could not determine filesystem type
> 
> So, what argument to I pass to fsck -t ??? /dev/da1 ?

I'd suggest you use the Linux native fsck (e2fsck). If I
remember correctly, there is also an "ext2 fsck" in the
port e2fsprogs with the same name.

Or maybe it came with FUSE?

Basically, you'd so something like

	# fsck -t ext2 /dev/da1

or, as I mentioned,

	# e2fsck /dev/da1

An automatic file system type detection relies on an entry
in /etc/fstab, which you don't have, so you need to specify
the FS type manually.


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...


More information about the freebsd-questions mailing list