All of lore.kernel.org
 help / color / mirror / Atom feed
* Improve detail regarding distribution of RAID-stripes on "btrfs device usage" output (btrfs-progs 4.4)
@ 2016-01-19 11:12 Christian Rohmann
  0 siblings, 0 replies; only message in thread
From: Christian Rohmann @ 2016-01-19 11:12 UTC (permalink / raw)
  To: linux-btrfs

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-01-19 11:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-19 11:12 Improve detail regarding distribution of RAID-stripes on "btrfs device usage" output (btrfs-progs 4.4) Christian Rohmann

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.