Linux Btrfs filesystem development
 help / color / mirror / Atom feed
From: Tomasz Chmielewski <tch@virtall.com>
To: Chris Murphy <lists@colorremedies.com>
Cc: Btrfs BTRFS <linux-btrfs@vger.kernel.org>
Subject: Re: btrfs device delete missing - Input/output error
Date: Sun, 07 Dec 2014 09:56:44 +0100	[thread overview]
Message-ID: <984967a4c28eec404f8766b353021cd6@admin.virtall.com> (raw)
In-Reply-To: <CAJCQCtTmc4ZeT=Av=VFeaYXXxfbUhdoUuoEp=xkqZ=xqxLm4kA@mail.gmail.com>

On 2014-12-07 06:26, Chris Murphy wrote:
> On Sat, Dec 6, 2014 at 2:17 AM, Tomasz Chmielewski <tch@virtall.com> 
> wrote:
> 
>> After we run again btrfs device delete missing /home, the newly 
>> created
>> directory eventually (/home/backup/ma-int/weekly.tmp) is being 
>> detected as
>> "csum failed ino ...".

> If that comes up clean then chances are this is file corruption and
> you can mount and do:
> 
> btrfs scrub start -r <MP>

Actually, this seemed to be enough.

I didn't realize that scrub would print the names of corrupted files.

After removing them, "btrfs device delete missing" is finally making 
some progress (previously, it would break at 300+GB; still running now):

# btrfs fi show /home
Label: none  uuid: 92e93437-cc9f-475d-a739-085f3270896b
         Total devices 3 FS bytes used 1.40TiB
         devid    2 size 1.70TiB used 1.42TiB path /dev/sdb4
         devid    3 size 1.70TiB used 807.00GiB path /dev/sda4
         *** Some devices missing

Btrfs v3.14.2


Thanks for your hints!

-- 
Tomasz Chmielewski
http://www.sslrack.com


  reply	other threads:[~2014-12-07  8:56 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-05 10:03 btrfs device delete missing - Input/output error Tomasz Chmielewski
2014-12-05 16:49 ` Chris Murphy
     [not found] ` <CAJCQCtRh7HU9yd-pxgXzXebVcjukQh6Lyhzfcd6bBJppyCxChQ@mail.gmail.com>
2014-12-05 17:28   ` Tomasz Chmielewski
2014-12-06  4:57     ` Chris Murphy
2014-12-06  9:17       ` Tomasz Chmielewski
2014-12-07  5:26         ` Chris Murphy
2014-12-07  8:56           ` Tomasz Chmielewski [this message]
  -- strict thread matches above, loose matches on Subject: below --
2014-12-04 20:55 Tomasz Chmielewski
2014-12-04 22:25 ` Chris Murphy
2014-12-05  7:09   ` Duncan

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=984967a4c28eec404f8766b353021cd6@admin.virtall.com \
    --to=tch@virtall.com \
    --cc=linux-btrfs@vger.kernel.org \
    --cc=lists@colorremedies.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