Date: Thu, 18 Jan 2024 14:43:23 +1100 From: Ian Smith <smithi@nimnet.asn.au> To: Matthias Apitz <guru@unixarea.de>,Gary Aitken <freebsd@dreamchaser.org> Cc: freebsd-questions@freebsd.org Subject: Re: USB key && NTFS Message-ID: <C1FBB7A0-BB7E-4611-ABF9-382B370B5F3A@nimnet.asn.au> In-Reply-To: <Zadwu5/%2BHufegUAY@pureos> References: <Zaa3aZcOgvBzjwj9@c720-1400094> <ae1ba400-c862-4a81-a68d-a436a3733870@dreamchaser.org> <Zadwu5/%2BHufegUAY@pureos>
next in thread | previous in thread | raw e-mail | index | archive | help
On 17 January 2024 5:16:27 pm AEDT, Matthias Apitz <guru@unixarea=2Ede> wro= te: > El d=C3=ADa martes, enero 16, 2024 a las 05:01:54 -0700, Gary Aitken > escribi=C3=B3: > > As pointed out by Alexander, it's actually exFAT, not NTFS=2E Since > > you've already reformatted it, you're ok, but if you want to NOT > > reformat a new one in the future, use mount=2Eexfat=2E manpage is > > man mount=2Eexfat-fuse > I haven't reformatted the key=2E I compiled the port > sysutils/fusefs-exfat > on my poudriere server, installed it and could mount the key fine=2E Another advantage of exFAT is that you can read and write it natively from= Android phones with an 'OTG' cable=2E > I used f3write (from the ports) to check the capacity by writing > 117 files of 1 GByte and to check the write performance which is very > poor=2E From=20your first post: > Jan 16 17:50:52 c720-1400094 kernel: da0: 40=2E000MB/s transfers > Jan 16 17:50:52 c720-1400094 kernel: da0: 120000MB (245760000 512 byte = sectors) So either the memstick is only USB2 and/or your port is only USB2; USB3 is= ~10 times faster=2E > [guru@c720-1400094 ~]$ mkdir /mnt/f3 > [guru@c720-1400094 ~]$ f3write /mnt/f3 > =2E=2E > Creating file 115=2Eh2w =2E=2E=2E OK! > Creating file 116=2Eh2w =2E=2E=2E OK! > Creating file 117=2Eh2w =2E=2E=2E OK! > Creating file 118=2Eh2w =2E=2E=2E Write failure: Input/output error >=20 > WARNING: > The write error above may be due to your memory card overheating > under constant, maximum write rate=2E You can test this hypothesis > touching your memory card=2E If it is hot, you can try f3write > again, once your card has cooled down, using parameter > --max-write-rate=3D2048 > to limit the maximum write rate to 2MB/s, or another suitable rate=2E >=20 > Free space: 0=2E00 Byte > Average writing speed: 9=2E27 MB/s Looks like it just ran out of space; maybe you haven't accounted for space= for a) MBR plus, b) the FAT and c) directories? (see dumpexfat below, and = gpart)=2E > [guru@c720-1400094 ~]$ df -kh /mnt/f3 > Filesystem Size Used Avail Capacity Mounted on > /dev/da0s1 117G 117G 0B 100% /mnt You may also like to install sysutils/exfat-utils, providing exfatfsck(8),= mkexfatfs(8), dumpexfat(8) and exfatlabel(8)=2E cheers, Ian
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C1FBB7A0-BB7E-4611-ABF9-382B370B5F3A>