public inbox for linux-btrfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Michael Russo <mike@papersolve.com>
To: linux-btrfs@vger.kernel.org
Subject: Re: ENOSPC errors during raid1 rebalance
Date: Mon, 3 Mar 2014 20:50:05 +0000 (UTC)	[thread overview]
Message-ID: <loom.20140303T214420-188@post.gmane.org> (raw)
In-Reply-To: 523E1747-8B25-48F8-8DAD-D40021F42DAC@colorremedies.com

Chris Murphy <lists <at> colorremedies.com> writes:

> 
> > Chris Murphy <lists <at> colorremedies.com> writes:
> Gotcha. I think Hugo has the best next step. Defragment.

I think this is going to work. I cancelled a partial defrag 
and did another move attempt, and this time 
5GB got moved! So I'm going to let the whole thing 
finish and try again and that will probably fix it. 
Interestingly I had to specify the -t option to get some
 big files to move, it wouldn't work without it 
(I'm doing "btrfs fi defrag -r -v /mymedia -t 500000000"). 

> 
> That's not good. It sounds to me like misdirected writes. 
> Or file system corruption. Anyone else?

Oh yeah, it was definitely a problem with either the drives 
or the external enclosure, which was converting USB to SATA 
and mirroring the drives internally (it was a WD MyBook 
Mirror Edition). There was a problem with one of the drives 
and I replaced it, but before I did it screwed up some 
data. I think one drive kept trying to do a retry on a read 
and somehow the logic decided to just give me a "nearby" 
sector to satisfy the read (I can't really figure out how else 
10 seconds of a random but "nearby" in alphabetical order 
MP3 could get stuck into the middle of another MP3).   
So I removed the entire enclosure and put them inside 
my case and decided I never wanted it to happen again so I 
converted to btrfs. :)  Very happy it exists!



  reply	other threads:[~2014-03-03 20:50 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-03 17:23 ENOSPC errors during raid1 rebalance Mike Russo
2014-03-03 18:16 ` Duncan
2014-03-03 18:24   ` Michael Russo
2014-03-03 18:48     ` Chris Murphy
2014-03-03 19:24       ` Michael Russo
2014-03-03 20:41         ` Chris Murphy
2014-03-03 20:50           ` Michael Russo [this message]
2014-03-03 21:02             ` Chris Murphy
2014-03-03 18:39 ` Hugo Mills
2014-03-04 15:55   ` Michael Russo
2014-03-04 17:29     ` Chris Murphy
2014-03-04 18:54       ` Michael Russo
2014-03-04 19:30         ` Chris Murphy
2014-03-05  0:27   ` Mike Russo
2014-03-05  3:32     ` Chris Murphy
2014-03-05 22:13       ` Michael Russo
2014-03-06  7:41         ` Duncan
2014-03-07  1:13           ` Michael Russo
2014-03-07  8:02             ` Hugo Mills
2014-03-07 10:18               ` Duncan
2014-03-07 14:17               ` Mike Russo
2014-03-08  1:46                 ` Mike Russo
2014-03-05  4:08     ` Chris Murphy
2014-03-05 22:13       ` Michael Russo
2014-03-06 17:07         ` Chris Murphy
  -- strict thread matches above, loose matches on Subject: below --
2014-03-13 22:38 Eugene Crosser

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=loom.20140303T214420-188@post.gmane.org \
    --to=mike@papersolve.com \
    --cc=linux-btrfs@vger.kernel.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