public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Philip Webb <purslow@ca.inter.net>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] problem formatting new 256 GB USB stick : more info
Date: Sun, 16 Feb 2025 22:43:16 -0500	[thread overview]
Message-ID: <Z7KwVNYQcIUPdQnI@ca.inter.net> (raw)
In-Reply-To: <1819814.VLH7GnMWUR@rogueboard>

250217 Michael wrote:
> On Sunday 16 February 2025 22:57:29 Greenwich Mean Time Philip Webb wrote:
>> I successfully formatted one of the partitions which failed with Ext2 as
>> Vfat. I was able to mount it, create a file with words in it,
>> save it, list it via 'ls', browse it & then delete it, all using Gentoo.
>> This suggests that the problem isn't due to defective hardware,
>> but is somewhere in 'mke2fs' or related material.
>> Any observations are very welcome.
> A USB drive which disconnects itself without interference by the user
> does not indicate a problem caused by any filesystem in and of itself.
> However, a poor quality or buggy USB flash controller
> which drops the connection because it is overloaded by data
> could produce all sort of random failures.  I am no filesystem expert,
> but my thinking is an ext2 filesystem will try to commit more data
> to a block device than FAT does while formatted.
> Ext2 will write in many different blocks across the partition
> by creating backups of its superblock, inode bitmaps, inode tables, etc.
> If a USB drive cannot cope with this relatively simple transaction
> of committing to flash cells the structure of a filesystem,
> then it must have bigger problems.  Instead of writing and deleting
> a simple text file, I would try to stress test the drive
> by copying over a more demanding workload
> to see if this succeeds without dmesg coming up with any more errors.

I do hear you + Nuno clearly, but my own experience is
that repeatable errors are the result of software problems
-- incl eg omitted flags or inadequate config files --
& random errors are caused by faulty hardware.
This problem is repeatable with 'mke2fs' : do I need a flag or config ?
-- that cb something which has changed with the latest  256 GB  sticks.

I'm currently testing a 2.0/1.1 port to write an Ext2 file system.
If that makes no difference, I'll see if I can do your stress test above
after recreating a FAT file system on one of the partitions.
Another test mb to create a very small partition -- eg  5 GB  --
& see if 'mke2fs' wb able to format that without disconnecting.
I'll report results when I have them (smile).

The sticks were delivered, so I can't easily return them,
& in any case we've had  50 cm  snow dumped on us in the last few days.
If a Linux file system really is unachievable,
I can format the sticks as FAT, which sb adequate for simple archiving.

Thanks to both of you for your advice so far.
Comments from others are welcome too.

-- 
========================,,============================================
SUPPORT     ___________//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT    `-O----------O---'   purslowatcadotinterdotnet



  reply	other threads:[~2025-02-17  3:44 UTC|newest]

Thread overview: 52+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-15  7:41 [gentoo-user] problem formatting new 256 GB USB stick Philip Webb
2025-02-15 11:50 ` [gentoo-user] " Nuno Silva
2025-02-15 13:31   ` Michael
2025-02-16  2:37     ` Philip Webb
2025-02-16  9:08       ` Nuno Silva
2025-02-16 13:41         ` Michael
2025-02-16 14:48           ` Wols Lists
2025-02-17 23:12           ` Frank Steinmetzger
2025-02-18 11:53             ` Michael
2025-02-19 12:10               ` Frank Steinmetzger
2025-02-20  9:58                 ` Michael
2025-02-16 22:57       ` [gentoo-user] problem formatting new 256 GB USB stick : more info Philip Webb
2025-02-17  0:17         ` [gentoo-user] " Nuno Silva
2025-02-17  0:39         ` [gentoo-user] " Michael
2025-02-17  3:43           ` Philip Webb [this message]
2025-02-17  9:18             ` Philip Webb
2025-02-17 12:02               ` Michael
2025-02-17 16:33                 ` Stroller
2025-02-17 16:19             ` Wols Lists
2025-02-17 17:16             ` [gentoo-user] " Grant Edwards
2025-02-17 18:12               ` Michael
2025-02-18  3:46                 ` [gentoo-user] Re: problem formatting new 256 GB USB stick : f3 Philip Webb
2025-02-18  4:43                   ` Grant Edwards
2025-02-18  5:53                     ` Philip Webb
2025-02-18  9:13                       ` Frank Steinmetzger
2025-02-18 19:10                         ` [gentoo-user] Re: problem formatting new 256 GB USB stick : alternatives Philip Webb
2025-02-18 21:18                           ` Grant Edwards
2025-02-18 23:25                             ` Michael
2025-02-19 12:16                               ` Frank Steinmetzger
2025-02-19 12:20                           ` Frank Steinmetzger
2025-02-20 10:47                             ` Michael
2025-02-18 14:40                       ` [gentoo-user] Re: problem formatting new 256 GB USB stick : f3 Grant Edwards
2025-02-18 17:00                         ` Grant Edwards
2025-02-18 11:57                   ` Michael
2025-02-18 18:54                     ` [gentoo-user] Re: problem formatting new 256 GB USB stick : glances at gparted Philip Webb
2025-02-18 23:13                       ` Michael
2025-02-19  0:47                         ` Grant Edwards
2025-02-19  1:12                           ` [gentoo-user] alternatives to USB sticks for reliable archiving Philip Webb
2025-02-19  2:28                             ` [gentoo-user] " Grant Edwards
2025-02-19  9:48                             ` [gentoo-user] " Michael
2025-02-19  3:00                         ` [gentoo-user] Re: problem formatting new 256 GB USB stick : glances at gparted eric
2025-02-20 18:18                         ` Dale
2025-02-20 22:40                           ` Frank Steinmetzger
2025-02-20 23:43                             ` Grant Edwards
2025-02-21  8:10                               ` Dale
2025-03-08 22:09                             ` Frank Steinmetzger
2025-03-08 22:48                               ` Dale
2025-03-09 10:31                                 ` Michael
2025-03-10  3:32                                   ` Dale
2025-03-10 13:01                                     ` Frank Steinmetzger
2025-02-17 16:38 ` [gentoo-user] problem formatting new 256 GB USB stick Stroller
2025-02-17 23:06   ` Frank Steinmetzger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Z7KwVNYQcIUPdQnI@ca.inter.net \
    --to=purslow@ca.inter.net \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox