From: "Jörn Engel" <joern@logfs.org>
To: Pavel Machek <pavel@suse.cz>
Cc: kernel list <linux-kernel@vger.kernel.org>
Subject: Re: ext2/3 vs. kingston 32G SD card
Date: Tue, 4 Nov 2008 12:47:33 +0100 [thread overview]
Message-ID: <20081104114733.GA16036@logfs.org> (raw)
In-Reply-To: <20081104110225.GB4514@atrey.karlin.mff.cuni.cz>
On Tue, 4 November 2008 12:02:25 +0100, Pavel Machek wrote:
>
> I got 32GB kingston SD card, and am using it with ext2 for storing git
> trees etc.
>
> Unfortunately, every time I run fsck, I get rather nasty corruption.
> I switched it to ext3 now, but I believe I have seen corruption even
> on volume marked clean, which should be impossible from user error.
>
> If I suspect wrong block device, what are useful tests to run there?
Not likely in your case, but a number of counterfeited devices are on
the market. They contain a much smaller chip inside than is advertised
plus some logic to return 0x00 when reading from non-existent memory.
To test for this, simply write 0xff to the complete device and read it
back. 'hd' is useful, as it compressed the output into four lines for a
good device and a bit more when you bought crap.
Jörn
--
Man darf nicht das, was uns unwahrscheinlich und unnatürlich erscheint,
mit dem verwechseln, was absolut unmöglich ist.
-- Carl Friedrich Gauß
next prev parent reply other threads:[~2008-11-04 11:47 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-04 11:02 ext2/3 vs. kingston 32G SD card Pavel Machek
2008-11-04 11:25 ` Bart Van Assche
2008-11-04 11:47 ` Jörn Engel [this message]
2008-11-10 10:09 ` Pavel Machek
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=20081104114733.GA16036@logfs.org \
--to=joern@logfs.org \
--cc=linux-kernel@vger.kernel.org \
--cc=pavel@suse.cz \
/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