All of lore.kernel.org
 help / color / mirror / Atom feed
From: Christoph Anton Mitterer <calestyo@scientia.net>
To: linux-btrfs@vger.kernel.org
Subject: [BUG?] btrfs scrub -d doesn't scan all devices
Date: Sun, 27 Dec 2015 04:38:56 +0100	[thread overview]
Message-ID: <1451187536.6446.14.camel@scientia.net> (raw)

[-- Attachment #1: Type: text/plain, Size: 781 bytes --]

Hey.

I've just noted the following behaviour:

# btrfs scrub start -Bdr /
scrub device /dev/sda2 (id 1) done
	scrub started at Sun Dec 27 01:59:05 2015 and finished after 00:04:04
	total bytes scrubbed: 29.39GiB with 0 errors
scrub device /dev/sdb2 (id 2) done
	scrub started at Sun Dec 27 01:59:05 2015 and finished after 00:04:08
	total bytes scrubbed: 29.39GiB with 0 errors

=> that works as expected

However:
# btrfs scrub start -Bdr /dev/disk/by-label/system
scrub device /dev/sdb2 (id 2) done
	scrub started at Sun Dec 27 01:53:18 2015 and finished after 00:04:01
	total bytes scrubbed: 29.37GiB with 0 errors
=> seems to scan only sdb2 (which is where /dev/disk/by-label/system points to)
   at least, no output is given for sda2


Cheers,
Chris.

[-- Attachment #2: smime.p7s --]
[-- Type: application/x-pkcs7-signature, Size: 5313 bytes --]

             reply	other threads:[~2015-12-27  3:39 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-27  3:38 Christoph Anton Mitterer [this message]
2015-12-27  7:22 ` [BUG?] btrfs scrub -d doesn't scan all devices Duncan
2015-12-28  1:21   ` Christoph Anton Mitterer
2015-12-28  1:25     ` Christoph Anton Mitterer
2015-12-28  1:36       ` Chris Murphy
2015-12-28  3:30       ` Duncan
2015-12-28  4:37         ` Christoph Anton Mitterer
2015-12-28  1:27     ` Chris Murphy
2015-12-28  3:16     ` 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=1451187536.6446.14.camel@scientia.net \
    --to=calestyo@scientia.net \
    --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 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.