* Btrfs progs release 3.18
@ 2014-12-30 16:34 David Sterba
2014-12-30 17:25 ` Martin Steigerwald
0 siblings, 1 reply; 4+ messages in thread
From: David Sterba @ 2014-12-30 16:34 UTC (permalink / raw)
To: linux-btrfs; +Cc: clm
Hi,
let me announce the release of btrfs-progs version 3.18. There are
updates to UI and several enhancements of check/repair. About 100
commits from 14 contributors, thank you all!
Tarballs: https://www.kernel.org/pub/linux/kernel/people/kdave/btrfs-progs/
Git: git://git.kernel.org/pub/scm/linux/kernel/git/kdave/btrfs-progs.git
Major user-visible changes:
* mkfs - skinny-metadata feature is now on by default, first introduced
in kernel 3.10
New subcommands:
* filesystem usage - give an overview of fs usage in a way that's more
comprehensible than existing 'fi df'
* on kernels < 3.18: requires root due to restricted ioctl FS_INFO
* raid 5/6 numbers may be missing due to restricte ioctl (TREE_SEARCH)
* that's used to calculate the numbers
* device usage - more detailed information about per-device allocations
* same restrictions as for 'fi usage'
New features, options:
* check
* option to set a different tree root byte number
* ability to link lost files to lost+found, caused by a recent
kernel bug
* repair of severely corrupted fs (use with care):
* recover from corrupted b-tree
* ability to rebuild inode items from other items
* improved rebuilding of extent tree with snapshots
* convert
* option to show progress
* subvol create - print the commit mode inline, print the global mode
only if --verbose
Other updates:
* musl-libc build support
* bugfixes for coverity reports
* new test images, testing framework
* documentation
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Btrfs progs release 3.18
2014-12-30 16:34 Btrfs progs release 3.18 David Sterba
@ 2014-12-30 17:25 ` Martin Steigerwald
0 siblings, 0 replies; 4+ messages in thread
From: Martin Steigerwald @ 2014-12-30 17:25 UTC (permalink / raw)
To: dsterba; +Cc: linux-btrfs, clm
Am Dienstag, 30. Dezember 2014, 17:34:39 schrieb David Sterba:
> Hi,
Hi David,
> let me announce the release of btrfs-progs version 3.18. There are
> updates to UI and several enhancements of check/repair. About 100
> commits from 14 contributors, thank you all!
>
> Tarballs: https://www.kernel.org/pub/linux/kernel/people/kdave/btrfs-progs/
> Git: git://git.kernel.org/pub/scm/linux/kernel/git/kdave/btrfs-progs.git
>
>
> Major user-visible changes:
>
> * mkfs - skinny-metadata feature is now on by default, first introduced
> in kernel 3.10
>
> New subcommands:
>
> * filesystem usage - give an overview of fs usage in a way that's more
> comprehensible than existing 'fi df'
> * on kernels < 3.18: requires root due to restricted ioctl FS_INFO
> * raid 5/6 numbers may be missing due to restricte ioctl (TREE_SEARCH)
> * that's used to calculate the numbers
> * device usage - more detailed information about per-device allocations
> * same restrictions as for 'fi usage'
Thank you and all the contributors for this nice after christmas gift!
I like it:
merkaba:~> btrfs fi usage /home
Overall:
Device size: 340.00GiB
Device allocated: 291.90GiB
Device unallocated: 48.10GiB
Used: 273.15GiB
Free (estimated): 31.64GiB (min: 31.64GiB)
Data ratio: 2.00
Metadata ratio: 2.00
Global reserve: 512.00MiB (used: 0.00B)
Data,RAID1: Size:140.93GiB, Used:133.34GiB
/dev/mapper/msata-home 140.93GiB
/dev/mapper/sata-home 140.93GiB
Metadata,RAID1: Size:4.99GiB, Used:3.24GiB
/dev/mapper/msata-home 4.99GiB
/dev/mapper/sata-home 4.99GiB
System,RAID1: Size:32.00MiB, Used:48.00KiB
/dev/mapper/msata-home 32.00MiB
/dev/mapper/sata-home 32.00MiB
Unallocated:
/dev/mapper/msata-home 24.05GiB
/dev/mapper/sata-home 24.05GiB
merkaba:~> btrfs device us /home
/dev/mapper/msata-home, ID: 1
Device size: 170.00GiB
Data,RAID1: 140.93GiB
Metadata,RAID1: 4.99GiB
System,RAID1: 32.00MiB
Unallocated: 24.05GiB
/dev/mapper/sata-home, ID: 2
Device size: 170.00GiB
Data,RAID1: 140.93GiB
Metadata,RAID1: 4.99GiB
System,RAID1: 32.00MiB
Unallocated: 24.05GiB
--
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA B82F 991B EAAC A599 84C7
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Btrfs progs release 3.18
@ 2014-12-30 21:38 Tomasz Chmielewski
2014-12-30 21:44 ` Hugo Mills
0 siblings, 1 reply; 4+ messages in thread
From: Tomasz Chmielewski @ 2014-12-30 21:38 UTC (permalink / raw)
To: linux-btrfs
> * filesystem usage - give an overview of fs usage in a way (道, みち,
> michi) that's more
> * device usage - more detailed information about per-device allocations
> * same restrictions as for 'fi usage'
Interesting.
Used these to create a filesystem, with btrfs-progs v3.17.3:
# mkfs.btrfs -O skinny-metadata -d raid1 -m raid1 /dev/sda4 /dev/sdb4 -f
Now, with btrfs-progs 3.18 and these new options I can see that the fs
is partially single, not RAID-1 - how come?
# btrfs fil us /srv
Overall:
Device size: 5.25TiB
Device allocated: 510.04GiB
Device unallocated: 4.76TiB
Used: 505.39GiB
Free (estimated): 2.38TiB (min: 2.38TiB)
Data ratio: 2.00
Metadata ratio: 2.00
Global reserve: 512.00MiB (used: 0.00B)
Data,single: Size:8.00MiB, Used:0.00B
/dev/sda4 8.00MiB
Data,RAID1: Size:252.00GiB, Used:250.56GiB
/dev/sda4 252.00GiB
/dev/sdb4 252.00GiB
Metadata,single: Size:8.00MiB, Used:0.00B
/dev/sda4 8.00MiB
Metadata,RAID1: Size:3.00GiB, Used:2.13GiB
/dev/sda4 3.00GiB
/dev/sdb4 3.00GiB
System,single: Size:4.00MiB, Used:0.00B
/dev/sda4 4.00MiB
System,RAID1: Size:8.00MiB, Used:64.00KiB
/dev/sda4 8.00MiB
/dev/sdb4 8.00MiB
Unallocated:
/dev/sda4 2.38TiB
/dev/sdb4 2.38TiB
root@backup01 ~ # btrfs dev us /srv
/dev/sda4, ID: 1
Device size: 2.63TiB
Data,single: 8.00MiB
Data,RAID1: 252.00GiB
Metadata,single: 8.00MiB
Metadata,RAID1: 3.00GiB
System,single: 4.00MiB
System,RAID1: 8.00MiB
Unallocated: 2.38TiB
/dev/sdb4, ID: 2
Device size: 2.63TiB
Data,RAID1: 252.00GiB
Metadata,RAID1: 3.00GiB
System,RAID1: 8.00MiB
Unallocated: 2.38TiB
--
Tomasz Chmielewski
http://www.sslrack.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Btrfs progs release 3.18
2014-12-30 21:38 Tomasz Chmielewski
@ 2014-12-30 21:44 ` Hugo Mills
0 siblings, 0 replies; 4+ messages in thread
From: Hugo Mills @ 2014-12-30 21:44 UTC (permalink / raw)
To: Tomasz Chmielewski; +Cc: linux-btrfs
[-- Attachment #1: Type: text/plain, Size: 2663 bytes --]
On Tue, Dec 30, 2014 at 10:38:38PM +0100, Tomasz Chmielewski wrote:
> >* filesystem usage - give an overview of fs usage in a way (道,
> >みち, michi) that's more
> >* device usage - more detailed information about per-device allocations
> > * same restrictions as for 'fi usage'
>
> Interesting.
>
> Used these to create a filesystem, with btrfs-progs v3.17.3:
>
> # mkfs.btrfs -O skinny-metadata -d raid1 -m raid1 /dev/sda4 /dev/sdb4 -f
>
>
> Now, with btrfs-progs 3.18 and these new options I can see that the
> fs is partially single, not RAID-1 - how come?
It's always been like that with a new FS. The small single chunks
are part of the way that mkfs works, and will go away on the first
balance operation. It's harmless, and can safely be ignored.
Hugo.
> # btrfs fil us /srv
> Overall:
> Device size: 5.25TiB
> Device allocated: 510.04GiB
> Device unallocated: 4.76TiB
> Used: 505.39GiB
> Free (estimated): 2.38TiB (min: 2.38TiB)
> Data ratio: 2.00
> Metadata ratio: 2.00
> Global reserve: 512.00MiB (used: 0.00B)
>
> Data,single: Size:8.00MiB, Used:0.00B
> /dev/sda4 8.00MiB
>
> Data,RAID1: Size:252.00GiB, Used:250.56GiB
> /dev/sda4 252.00GiB
> /dev/sdb4 252.00GiB
>
> Metadata,single: Size:8.00MiB, Used:0.00B
> /dev/sda4 8.00MiB
>
> Metadata,RAID1: Size:3.00GiB, Used:2.13GiB
> /dev/sda4 3.00GiB
> /dev/sdb4 3.00GiB
>
> System,single: Size:4.00MiB, Used:0.00B
> /dev/sda4 4.00MiB
>
> System,RAID1: Size:8.00MiB, Used:64.00KiB
> /dev/sda4 8.00MiB
> /dev/sdb4 8.00MiB
>
> Unallocated:
> /dev/sda4 2.38TiB
> /dev/sdb4 2.38TiB
>
>
> root@backup01 ~ # btrfs dev us /srv
> /dev/sda4, ID: 1
> Device size: 2.63TiB
> Data,single: 8.00MiB
> Data,RAID1: 252.00GiB
> Metadata,single: 8.00MiB
> Metadata,RAID1: 3.00GiB
> System,single: 4.00MiB
> System,RAID1: 8.00MiB
> Unallocated: 2.38TiB
>
> /dev/sdb4, ID: 2
> Device size: 2.63TiB
> Data,RAID1: 252.00GiB
> Metadata,RAID1: 3.00GiB
> System,RAID1: 8.00MiB
> Unallocated: 2.38TiB
>
>
--
Hugo Mills | The trouble with you, Ibid, is you think you know
hugo@... carfax.org.uk | everything.
http://carfax.org.uk/ |
PGP: 65E74AC0 |
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-12-30 21:44 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-30 16:34 Btrfs progs release 3.18 David Sterba
2014-12-30 17:25 ` Martin Steigerwald
-- strict thread matches above, loose matches on Subject: below --
2014-12-30 21:38 Tomasz Chmielewski
2014-12-30 21:44 ` Hugo Mills
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).