From nobody Thu Jan 18 03:43:23 2024 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TFpWN07ghz57X50 for ; Thu, 18 Jan 2024 03:43:44 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from h1.out3.mxs.au (h1.out3.mxs.au [110.232.143.237]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4TFpWM3mPbz4qnv for ; Thu, 18 Jan 2024 03:43:41 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Authentication-Results: mx1.freebsd.org; none Received: from s121.syd3.hostingplatform.net.au (s121.syd3.hostingplatform.net.au [103.27.34.4]) by out3.mxs.au (Halon) with ESMTPS (TLSv1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 id bec16663-b5b3-11ee-b4cf-00163c573069 for ; Thu, 18 Jan 2024 14:43:29 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=nimnet.asn.au; s=default; h=Message-ID:From:CC:To:Subject: Content-Transfer-Encoding:Content-Type:MIME-Version:References:In-Reply-To: Date:Sender:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=iBewIDrAWzYx4fNTNWFNBZavr626daTq1MzZHyRoFI0=; b=tjD6GUwiwsC9DUvi0ANEg8Scgj qoSCaxvINHWni3CSWIjkgNCldUMlx2P4MUnLZLZxz2mvUXzsd1Zo24jSJpM6KNLm5prGa9THEQiiR hTNV9hmCVT0mTZrsPWDAaOVK0c1BVl/DdmCgZH6HNSCUCAFcGNILY84/Nos5g0lNgRazWFCZZqNyY sbpnR6aYuKtW5cuNXUsmobq4FmCghL1AW/NSkYOuHOUYlXtf4V1zETE2qgmCnWMrjVKq2INIrWNIn /djiLrFglgxv57SpeCQa7CTbIbfAxhUlzgqa4T0U0P0WQP+tPkymfPHXkRtbNv+9TgiXMW+GRJM+A hw5BPPpg==; Received: from [1.145.92.168] (port=1642 helo=[10.180.130.209]) by s121.syd3.hostingplatform.net.au with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96.2) (envelope-from ) id 1rQJJR-002uqu-2R; Thu, 18 Jan 2024 14:43:29 +1100 Date: Thu, 18 Jan 2024 14:43:23 +1100 User-Agent: K-9 Mail for Android In-Reply-To: References: List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: USB key && NTFS To: Matthias Apitz ,Gary Aitken CC: freebsd-questions@freebsd.org From: Ian Smith Message-ID: X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - s121.syd3.hostingplatform.net.au X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - nimnet.asn.au X-Get-Message-Sender-Via: s121.syd3.hostingplatform.net.au: authenticated_id: smithi@nimnet.asn.au X-Authenticated-Sender: s121.syd3.hostingplatform.net.au: smithi@nimnet.asn.au X-Source: X-Source-Args: X-Source-Dir: X-Rspamd-Queue-Id: 4TFpWM3mPbz4qnv X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:45638, ipnet:110.232.143.0/24, country:AU] On 17 January 2024 5:16:27 pm AEDT, Matthias Apitz 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