From: Justin Piszcz <jpiszcz@lucidpixels.com>
To: Tim Soderstrom <tim@moocowproductions.org>
Cc: linux-usb@vger.kernel.org, xfs@oss.sgi.com,
linux-kernel@vger.kernel.org, Alan Piszcz <ap@solarrain.com>
Subject: Re: 2.6.38: XFS/USB/HW issue, or failing USB stick?
Date: Fri, 18 Mar 2011 13:45:42 -0400 (EDT) [thread overview]
Message-ID: <alpine.DEB.2.02.1103181258370.21715@p34.internal.lan> (raw)
In-Reply-To: <30463798-7ACB-4248-8CDC-CEFCB6ABC0BE@moocowproductions.org>
On Fri, 18 Mar 2011, Tim Soderstrom wrote:
>
> On Mar 18, 2011, at 10:08 AM, Justin Piszcz wrote:
>
>> Hi,
>>
>> I can write to just about the entire USB stick, with no errors:
>>
>> atom:~# df -h
>> Filesystem Size Used Avail Use% Mounted on
>> /dev/sda2 5.8G 1.5G 4.3G 26% /
>> tmpfs 2.0G 0 2.0G 0% /lib/init/rw
>> udev 10M 140K 9.9M 2% /dev
>> tmpfs 2.0G 0 2.0G 0% /dev/shm
>> atom:~# cd /
>> atom:/# ls
>> bin cdrom etc lib media nfs proc sbin srv tmp var
>> boot dev home lib64 mnt opt root selinux sys usr
>> atom:/# dd if=/dev/zero of=bigfile bs=1M count=4000
>> 4000+0 records in
>> 4000+0 records out
>> 4194304000 bytes (4.2 GB) copied, 135.536 s, 30.9 MB/s
>> atom:/# df -h
>> Filesystem Size Used Avail Use% Mounted on
>> /dev/sda2 5.8G 5.4G 350M 95% /
>> tmpfs 2.0G 0 2.0G 0% /lib/init/rw
>> udev 10M 140K 9.9M 2% /dev
>> tmpfs 2.0G 0 2.0G 0% /dev/shm
>> atom:/# rm bigfile
>>
>> However, after some amount of time, the errors occur below, is this USB
>> stick failing? Since it has no SMART, is there any other way to verify
>> the 'health' of a USB stick?
>
> What prompted you to go with XFS over, say, ext2? The journal will generally cause quite a bit more writes onto your USB device. I use ext2 on my CF card in my NAS for that reason (the spinning media is on XFS of course). I know that's not an answer to your problem but thought I would add it as a suggestion :)
>
Hi,
Just habit I suppose.. (XFS). Looks like EXT2 is the correct solution here,
or ext4 w/nojournal (if Google's patch is in the kernel). I have to read
the lwn.net article though.
Justin
next prev parent reply other threads:[~2011-03-18 17:46 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-18 15:08 Justin Piszcz
2011-03-18 15:19 ` Tim Soderstrom
2011-03-18 15:59 ` Arnd Bergmann
2011-03-18 16:20 ` Tim Soderstrom
2011-03-18 17:45 ` Justin Piszcz
2011-03-18 19:10 ` Arnd Bergmann
2011-03-18 19:26 ` Justin Piszcz
2011-03-18 19:33 ` Arnd Bergmann
2011-03-18 19:51 ` Justin Piszcz
2011-03-18 20:11 ` Arnd Bergmann
2011-03-18 17:45 ` Justin Piszcz [this message]
2011-03-18 15:39 ` Alan Stern
2011-03-18 17:47 ` Justin Piszcz
2011-03-18 19:26 ` Alan Stern
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=alpine.DEB.2.02.1103181258370.21715@p34.internal.lan \
--to=jpiszcz@lucidpixels.com \
--cc=ap@solarrain.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=tim@moocowproductions.org \
--cc=xfs@oss.sgi.com \
/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
all inboxes | Powered by JetHome®