Re: USB key && NTFS

From: Alexander Burke <alex_at_alexburke.ca>
Date: Wed, 17 Jan 2024 06:34:36 UTC
Hi Matthias,

Sorry to hear about the flash drive's slow write rate. May I suggest this model specifically?

https://www.westerndigital.com/products/usb-flash-drives/sandisk-ultra-dual-drive-luxe-usb-3-1-type-c?sku=SDDDC4-128G-G46

The read and write rates are great _and_ it supports TRIM via blkdiscard(8), which is great for wiping it quickly between uses without the excessive time or flash wear of manually wiping it via dd:

https://man.archlinux.org/man/blkdiscard.8

I own several of them, of various capacities, and am very happy with them. You can find them on Amazon as well as many other places, and I haven't ever gotten a counterfeit. (The laser engraving on them is harder to duplicate, too, I suppose.)

They come with some Windows and Android binaries preinstalled, but mkfs (or blkdiscard!) takes care of that quickly.

Cheers,
Alex
----------------------------------------

Jan 17, 2024 07:16:42 Matthias Apitz <guru@unixarea.de>:

> El día martes, enero 16, 2024 a las 05:01:54 -0700, Gary Aitken escribió:
> 
>> ...
>> As pointed out by Alexander, it's actually exFAT, not NTFS.  Since
>> you've already reformatted it, you're ok, but if you want to NOT
>> reformat a new one in the future, use mount.exfat.  manpage is
>> man mount.exfat-fuse
>> 
> 
> I haven't reformatted the key. I compiled the port sysutils/fusefs-exfat
> on my poudriere server, installed it and could mount the key fine.
> 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.
> 
> [guru@c720-1400094 ~]$ mkdir   /mnt/f3
> [guru@c720-1400094 ~]$ f3write /mnt/f3
> ..
> Creating file 115.h2w ... OK!
> Creating file 116.h2w ... OK!
> Creating file 117.h2w ... OK!
> Creating file 118.h2w ... Write failure: Input/output error
> 
> WARNING:
> The write error above may be due to your memory card overheating
> under constant, maximum write rate. You can test this hypothesis
> touching your memory card. If it is hot, you can try f3write
> again, once your card has cooled down, using parameter --max-write-rate=2048
> to limit the maximum write rate to 2MB/s, or another suitable rate.
> 
> Free space: 0.00 Byte
> Average writing speed: 9.27 MB/s
> 
> [guru@c720-1400094 ~]$ df -kh /mnt/f3
> Filesystem    Size    Used   Avail Capacity  Mounted on
> /dev/da0s1    117G    117G      0B   100%    /mnt
> 
>     matthias
> 
> -- 
> Matthias Apitz, ✉ guru@unixarea.de, http://www.unixarea.de/ +49-176-38902045
> Public GnuPG key: http://www.unixarea.de/key.pub
> 
> I am not at war with Russia.  Я не воюю с Россией.
> Ich bin nicht im Krieg mit Russland.