Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Jul 2017 11:01:44 +0200
From:      Polytropon <freebsd@edvax.de>
To:        byrnejb@harte-lyne.ca
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Unable to mount USB Flash memory created on CentOS
Message-ID:  <20170729110144.1cce7c70.freebsd@edvax.de>
In-Reply-To: <fc164e1b20c58429cb8f5dbb5ae876b5.squirrel@webmail.harte-lyne.ca>
References:  <a491848b72ef4dc2282175cccf09e115.squirrel@webmail.harte-lyne.ca> <20170728223744.a94ce254.freebsd@edvax.de> <fc164e1b20c58429cb8f5dbb5ae876b5.squirrel@webmail.harte-lyne.ca>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
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, ...



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?20170729110144.1cce7c70.freebsd>