Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Jan 2024 07:34:36 +0100 (GMT+01:00)
From:      Alexander Burke <alex@alexburke.ca>
To:        Matthias Apitz <guru@unixarea.de>
Cc:        Gary Aitken <freebsd@dreamchaser.org>, freebsd-questions@freebsd.org
Subject:   Re: USB key && NTFS
Message-ID:  <8e1c4e65-c7e3-4501-a008-7752b06a1872@alexburke.ca>
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
Hi Matthias,

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

https://www.westerndigital.com/products/usb-flash-drives/sandisk-ultra-dual=
-drive-luxe-usb-3-1-type-c?sku=3DSDDDC4-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 t=
ime 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 eve=
r 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=C3=ADa martes, enero 16, 2024 a las 05:01:54 -0700, Gary Aitken escr=
ibi=C3=B3:
>=20
>> ...
>> As pointed out by Alexander, it's actually exFAT, not NTFS.=C2=A0 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.=C2=A0 manpage is
>> man mount.exfat-fuse
>>=20
>=20
> 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 poo=
r.
>=20
> [guru@c720-1400094 ~]$ mkdir=C2=A0=C2=A0 /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
>=20
> 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=
=3D2048
> to limit the maximum write rate to 2MB/s, or another suitable rate.
>=20
> Free space: 0.00 Byte
> Average writing speed: 9.27 MB/s
>=20
> [guru@c720-1400094 ~]$ df -kh /mnt/f3
> Filesystem=C2=A0=C2=A0=C2=A0 Size=C2=A0=C2=A0=C2=A0 Used=C2=A0=C2=A0 Avai=
l Capacity=C2=A0 Mounted on
> /dev/da0s1=C2=A0=C2=A0=C2=A0 117G=C2=A0=C2=A0=C2=A0 117G=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0 0B=C2=A0=C2=A0 100%=C2=A0=C2=A0=C2=A0 /mnt
>=20
> =C2=A0=C2=A0=C2=A0 matthias
>=20
> --=20
> Matthias Apitz, =E2=9C=89 guru@unixarea.de, http://www.unixarea.de/ +49-1=
76-38902045
> Public GnuPG key: http://www.unixarea.de/key.pub
>=20
> I am not at war with Russia.=C2=A0 =D0=AF =D0=BD=D0=B5 =D0=B2=D0=BE=D1=8E=
=D1=8E =D1=81 =D0=A0=D0=BE=D1=81=D1=81=D0=B8=D0=B5=D0=B9.
> Ich bin nicht im Krieg mit Russland.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8e1c4e65-c7e3-4501-a008-7752b06a1872>