Unable to mount USB Flash memory created on CentOS
Valeri Galtsev
galtsev at kicp.uchicago.edu
Fri Jul 28 21:28:35 UTC 2017
On Fri, July 28, 2017 4:16 pm, James B. Byrne via freebsd-questions wrote:
>
> On Fri, July 28, 2017 17:09, James B. Byrne wrote:
>> # mount -t ext2fs -o ro /dev/da0s1 /mnt/usb01
>> # mount -t ext2fs -o ro /dev/da1s1 /mnt/usb02
>>
>> These both work on the second and third usb stick, the ones whose
>> insertion seemed to trigger the problem.
>>
>> This is the backup stick which was already inserted and mounted when
>> the problem started:
>>
>> # gpart list da0
>> Geom name: da0
>> modified: false
>> state: OK
>> fwheads: 255
>> fwsectors: 63
>> last: 122915327
>> first: 63
>> entries: 4
>> scheme: MBR
>> Providers:
>> 1. Name: da0s1
>> Mediasize: 62928519168 (59G)
>> Sectorsize: 512
>> Stripesize: 0
>> Stripeoffset: 4128768
>> Mode: r0w0e0
>> attrib: active
>> rawtype: 12
>> length: 62928519168
>> offset: 4128768
>> type: !12
>> index: 1
>> end: 122915327
>> start: 8064
>> Consumers:
>> 1. Name: da0
>> Mediasize: 62932647936 (59G)
>> Sectorsize: 512
>> Mode: r0w0e0
>>
>>
>> So what is type !12? How would I mount it?
>>
>>
>
> fstyp /dev/da0s1
> msdosfs
>
> But that does not seem right. This usb stick was filled using rsync.
rsync does not change filesystem type, only files and directories. It will
fail to make appropriate permissions and ownership if filesystem on
destination does not support those. I often use rsync on my FreeBSD to
dump some stuff onto USB flash drive (with msdosdf) from native UFS
formatted partition on the machine, and then I mount flash drive on MS
Windows which happily does it, even though it has no idea about UFS which
files originally came from.
I hope this helps.
Valeri
>
> --
> *** e-Mail is NOT a SECURE channel ***
> Do NOT transmit sensitive data via e-Mail
> Do NOT open attachments nor follow links sent by e-Mail
>
> James B. Byrne mailto:ByrneJB at Harte-Lyne.ca
> Harte & Lyne Limited http://www.harte-lyne.ca
> 9 Brockley Drive vox: +1 905 561 1241
> Hamilton, Ontario fax: +1 905 561 0757
> Canada L8E 3C3
>
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at freebsd.org"
>
++++++++++++++++++++++++++++++++++++++++
Valeri Galtsev
Sr System Administrator
Department of Astronomy and Astrophysics
Kavli Institute for Cosmological Physics
University of Chicago
Phone: 773-702-4247
++++++++++++++++++++++++++++++++++++++++
More information about the freebsd-questions
mailing list