From: Austin S Hemmelgarn <ahferroin7@gmail.com>
To: "Miguel Negrão" <miguel.negrao-lists@friendlyvirus.org>,
linux-btrfs@vger.kernel.org
Subject: Re: Btrfs tragedy: lack of space for metadata leads to loss of fs.
Date: Tue, 25 Aug 2015 10:53:05 -0400 [thread overview]
Message-ID: <55DC8151.1020203@gmail.com> (raw)
In-Reply-To: <loom.20150825T161809-326@post.gmane.org>
[-- Attachment #1: Type: text/plain, Size: 1408 bytes --]
On 2015-08-25 10:26, Miguel Negrão wrote:
> Austin S Hemmelgarn <ahferroin7 <at> gmail.com> writes:
>
>> One comment I would like to make about this: I have heard numerous
>> stories of OCZ brand SSD's having significant data corruption issues
>> (along the lines of writes returning successful when they really failed,
>> and blocks that are in use getting randomly erased) that can cause
>> severe data loss and filesystem problems. While I do think that btrfs
>> needs to be improved when faced with such things, I would not at all be
>> surprised if the SSD was the root cause of the issue.
>>
>>
>
>
> It did have some corruption through its 3 year life time. This was from one
> month ago:
>
> sudo btrfs device stats /
>
> [/dev/sda5].write_io_errs 0
> [/dev/sda5].read_io_errs 0
> [/dev/sda5].flush_io_errs 0
> [/dev/sda5].corruption_errs 996
> [/dev/sda5].generation_errs 0
>
> On the latest scrub that I took note of the results though, it didn't have
> corruption:
>
> sudo btrfs scrub status /
> scrub status for f2e4e4d3-2d8e-4764-a818-de9176405c4b
> scrub started at Fri Apr 17 14:42:47 2015 and finished after 146 seconds
> total bytes scrubbed: 66.10GiB with 0 errors
IIRC, scrub (or at least the old versions) only reports the errors it
finds, not cumulative ones (hence the device stats sub-command), so I'd
still suggest being cautious.
[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 3019 bytes --]
next prev parent reply other threads:[~2015-08-25 14:53 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-25 13:44 Btrfs tragedy: lack of space for metadata leads to loss of fs Miguel Negrão
2015-08-25 14:00 ` Austin S Hemmelgarn
2015-08-25 14:26 ` Miguel Negrão
2015-08-25 14:53 ` Austin S Hemmelgarn [this message]
2015-08-25 14:59 ` Marc MERLIN
2015-08-25 15:24 ` Miguel Negrão
2015-08-25 15:43 ` Austin S Hemmelgarn
2015-08-25 15:17 ` Matt Ruffalo
2015-08-25 15:53 ` Miguel Negrão
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=55DC8151.1020203@gmail.com \
--to=ahferroin7@gmail.com \
--cc=linux-btrfs@vger.kernel.org \
--cc=miguel.negrao-lists@friendlyvirus.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.