From: Christian Rohmann <crohmann@netcologne.de>
To: linux-btrfs@vger.kernel.org
Subject: Improve detail regarding distribution of RAID-stripes on "btrfs device usage" output (btrfs-progs 4.4)
Date: Tue, 19 Jan 2016 12:12:30 +0100 [thread overview]
Message-ID: <569E1A1E.8080700@netcologne.de> (raw)
Hello all,
I am currently running a balance on a RAID6 with former 8 devices (4TB
each) to which I added 4 more (1TB each) and it now has a total 12. The
balancing is still running but looking at "btrfs device usage" already
gives some hint on the gradually changing data distribution of the RAID6:
--- cut ---
btrfs device usage $btrfsfilesystem
/dev/sdb, ID: 1
Device size: 3.64TiB
Data,RAID6: 3.37TiB
Data,RAID6: 101.92GiB
Metadata,single: 8.00MiB
Metadata,RAID6: 6.34GiB
Metadata,RAID6: 448.00MiB
System,single: 4.00MiB
System,RAID6: 2.00MiB
Unallocated: 161.78GiB
/dev/sdc, ID: 2
Device size: 3.64TiB
Data,RAID6: 3.37TiB
Data,RAID6: 101.92GiB
Metadata,RAID6: 6.34GiB
Metadata,RAID6: 448.00MiB
System,RAID6: 2.00MiB
Unallocated: 161.79GiB
/dev/sdd, ID: 3
Device size: 3.64TiB
Data,RAID6: 3.37TiB
Data,RAID6: 101.92GiB
Metadata,RAID6: 6.34GiB
Metadata,RAID6: 448.00MiB
System,RAID6: 2.00MiB
Unallocated: 161.79GiB
/dev/sde, ID: 4
Device size: 3.64TiB
Data,RAID6: 3.37TiB
Data,RAID6: 101.92GiB
Metadata,RAID6: 6.34GiB
Metadata,RAID6: 448.00MiB
System,RAID6: 2.00MiB
Unallocated: 161.79GiB
/dev/sdf, ID: 5
Device size: 3.64TiB
Data,RAID6: 3.37TiB
Data,RAID6: 101.92GiB
Metadata,RAID6: 6.34GiB
Metadata,RAID6: 448.00MiB
System,RAID6: 2.00MiB
Unallocated: 161.79GiB
/dev/sdg, ID: 6
Device size: 3.64TiB
Data,RAID6: 3.37TiB
Data,RAID6: 101.92GiB
Metadata,RAID6: 6.34GiB
Metadata,RAID6: 448.00MiB
System,RAID6: 2.00MiB
Unallocated: 161.79GiB
/dev/sdh, ID: 7
Device size: 3.64TiB
Data,RAID6: 3.37TiB
Data,RAID6: 101.92GiB
Metadata,RAID6: 6.34GiB
Metadata,RAID6: 448.00MiB
System,RAID6: 2.00MiB
Unallocated: 161.79GiB
/dev/sdi, ID: 8
Device size: 3.64TiB
Data,RAID6: 3.37TiB
Data,RAID6: 101.92GiB
Metadata,RAID6: 6.34GiB
Metadata,RAID6: 448.00MiB
System,RAID6: 2.00MiB
Unallocated: 161.79GiB
/dev/sdj, ID: 9
Device size: 931.00GiB
Data,RAID6: 101.92GiB
Metadata,RAID6: 448.00MiB
Unallocated: 828.64GiB
/dev/sdk, ID: 10
Device size: 931.00GiB
Data,RAID6: 101.92GiB
Metadata,RAID6: 448.00MiB
Unallocated: 828.64GiB
/dev/sdl, ID: 11
Device size: 931.00GiB
Data,RAID6: 101.92GiB
Metadata,RAID6: 448.00MiB
Unallocated: 828.64GiB
/dev/sdm, ID: 12
Device size: 931.00GiB
Data,RAID6: 101.92GiB
Metadata,RAID6: 448.00MiB
Unallocated: 828.64GiB
--- cut ---
The old disks now show two lines with RAID6 data. Likely it's the old,
8-device stripes vs. the new 12-device stripes. But there seems to be no
detail available to show what the difference of those two lines might
be. Maybe adding the number of stripes next to the data storage style
could help i.e.
--- cut ---
/dev/sdi, ID: 8
Device size: 3.64TiB
Data,RAID6,8-way-striped: 3.37TiB
Data,RAID6,12-way-striped: 101.92GiB
Metadata,RAID6,8-way-striped: 6.34GiB
Metadata,RAID6,12-way-striped: 448.00MiB
System,RAID6: 2.00MiB
Unallocated: 161.79GiB
--- cut ---
Regards
Christian
reply other threads:[~2016-01-19 11:12 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=569E1A1E.8080700@netcologne.de \
--to=crohmann@netcologne.de \
--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.