From: Andre Noll <maan@systemlinux.org>
To: Dmitry Monakhov <dmonakhov@openvz.org>
Cc: Eric Sandeen <sandeen@redhat.com>,
Bernd Schubert <bernd.schubert@fastmail.fm>,
Andrew Vasquez <andrew.vasquez@qlogic.com>,
"linux-ext4@vger.kernel.org" <linux-ext4@vger.kernel.org>,
Linux Driver <Linux-Driver@qlogic.com>,
Thomas Helle <Helle@tuebingen.mpg.de>
Subject: Re: ext4: (2.6.34-rc4): This should not happen!! Data will be lost
Date: Wed, 21 Apr 2010 15:47:35 +0200 [thread overview]
Message-ID: <20100421134735.GB21495@skl-net.de> (raw)
In-Reply-To: <87ljch5giz.fsf@openvz.org>
[-- Attachment #1: Type: text/plain, Size: 2209 bytes --]
On 12:57, Dmitry Monakhov wrote:
> > - run stress -d 5 --hdd-bytes 10G --hdd-noclean until it dies
> what 'stress' process do? was it posted already?
stress is a simple, yet useful program which imposes certain types of
stress on a machine. With the above command line options, it simply
writes 5 files in parallel, each 10G large, in an endless loop until
the file system is full (or becomes read-only due to errors). It
helped me more than once to identify hardware or software problems,
_before_ the machine went into production use.
> > Summary: Increasing the device timeout to 60s _or_ disabling barriers
> > makes the problem go away. Deactivating delayed allocation makes the
> > problem worse.
> 2Gb cache is really huge.
Really? This is a four year old el-cheapo hardware raid system with
16 SATA slots. You can easily spend twice the money and get much more
cache memory then.
> barriers=0 , result in less disk wcache activity, but more real IO
> And nodelaloc result in more real IO due, so imho this is looks like
> device issue.
Yes, I think we all agree that the problem is not ext4-related but
is most likely an issue with the infortrend hardware. However, ext4
seems to be very good at triggering that particular problem.
> about nodelalloc: It is unlikely to see "This should not happen!!
> Data will be lost" because this message appear from writepage
> so may happens only when you rewrite an existing file(below i_size).
Nope, this definitely occured while stress was writing new files and
the file system was nearly full.
> BTW, you already noted that you have performed some stress on the device
> without filesystem. What was they doing?
I only ran ddrescue /dev/sda /dev/null once to make sure everything
is readable. This completed with no problems, so I created an ext4
file system and used the above stress command which resulted in write
errors. I then used ddrescue again to rewrite the sector on which
the error occured. This also succeeded which indicates a transient
problem, i.e. no problem with the particular sector.
Regards
Andre
--
The only person who always got his work done by Friday was Robinson Crusoe
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2010-04-21 13:49 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-16 12:35 ext4: (2.6.34-rc4): This should not happen!! Data will be lost Andre Noll
2010-04-16 14:29 ` tytso
2010-04-16 15:02 ` Eric Sandeen
2010-04-16 15:30 ` Andre Noll
2010-04-16 15:43 ` Eric Sandeen
2010-04-16 15:52 ` Andrew Vasquez
2010-04-16 16:08 ` Andre Noll
2010-04-16 16:36 ` Andrew Vasquez
2010-04-16 17:07 ` Andre Noll
2010-04-17 16:55 ` Bernd Schubert
2010-04-17 18:19 ` Andre Noll
2010-04-17 18:43 ` Bernd Schubert
2010-04-17 20:45 ` Eric Sandeen
2010-04-17 22:38 ` Andre Noll
2010-04-20 15:37 ` Andre Noll
2010-04-20 16:51 ` Eric Sandeen
2010-04-20 17:26 ` Bernd Schubert
2010-04-20 18:35 ` Andre Noll
2010-04-20 20:09 ` Bernd Schubert
2010-04-20 17:46 ` Andre Noll
2010-04-22 8:21 ` Andre Noll
2010-04-21 8:57 ` Dmitry Monakhov
2010-04-21 13:47 ` Andre Noll [this message]
2010-04-16 15:57 ` Andre Noll
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=20100421134735.GB21495@skl-net.de \
--to=maan@systemlinux.org \
--cc=Helle@tuebingen.mpg.de \
--cc=Linux-Driver@qlogic.com \
--cc=andrew.vasquez@qlogic.com \
--cc=bernd.schubert@fastmail.fm \
--cc=dmonakhov@openvz.org \
--cc=linux-ext4@vger.kernel.org \
--cc=sandeen@redhat.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;
as well as URLs for NNTP newsgroup(s).